EQ2EMu/server/SpawnScripts/ElddarGrove/PathfinderOakheart.lua
2022-06-05 13:50:31 -07:00

26 lines
578 B
Lua
Executable file

--[[
Script Name : SpawnScripts/ElddarGrove/PathfinderOakheart.lua
Script Purpose : Pathfinder Oakheart <Guard>
Script Author : Dorbin
Script Date : 5.1.2022
Script Notes :
--]]
dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
function spawn(NPC)
SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
GenericEcologyHail(NPC, Spawn, faction)
end
function InRange(NPC,Spawn)
GenericEcologyCallout(NPC, Spawn, faction)
end
function respawn(NPC)
spawn(NPC)
end