26 lines
578 B
Lua
Executable file
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
|
|
|