mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
26 lines
No EOL
576 B
Lua
Executable file
26 lines
No EOL
576 B
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/Antonica/SentryAlden.lua
|
|
Script Author : Dorbin
|
|
Script Date : 2023.05.10 06:05:41
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
|
|
require "SpawnScripts/Generic/NPCModule"
|
|
|
|
function spawn(NPC, Spawn)
|
|
NPCModule(NPC, Spawn)
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
FaceTarget(NPC, Spawn)
|
|
if GetFactionAmount(Spawn,11)<0 then
|
|
else
|
|
FaceTarget(NPC, Spawn)
|
|
GenericGuardHail(NPC,Spawn)
|
|
end
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end |