PathfinderOakheart.lua 578 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/PathfinderOakheart.lua
  3. Script Purpose : Pathfinder Oakheart <Guard>
  4. Script Author : Dorbin
  5. Script Date : 5.1.2022
  6. Script Notes :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. GenericEcologyHail(NPC, Spawn, faction)
  15. end
  16. function InRange(NPC,Spawn)
  17. GenericEcologyCallout(NPC, Spawn, faction)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end