Telandra.lua 557 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/Telandra.lua
  3. Script Purpose : Telandra
  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. GenericRaceCheckHail(NPC, Spawn, faction)
  15. end
  16. function InRange(NPC,Spawn)
  17. GenericRaceCheckCallout(NPC, Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end