EQ2EMu/server/SpawnScripts/Baubbleshire/DeputyCliffordson.lua
Image 548007ea96 Base
Starting point..!
2020-02-28 09:17:24 -05:00

29 lines
565 B
Lua

--[[
Script Name : SpawnScripts/Baubbleshire/DeputyCliffordson.lua
Script Purpose : Deputy Cliffordson <Guard>
Script Author : Scatman
Script Date : 2009.09.25
Script Notes :
--]]
dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
function spawn(NPC)
SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
end
function respawn(NPC)
spawn(NPC)
end
function InRange(NPC, Spawn)
CheckFaction(NPC, Spawn, "Qeynos")
end
function LeaveRange(NPC, Spawn)
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
GenericGuardHail(NPC, Spawn)
end