LauraIronforge.lua 652 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/LauraIronforge.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.04.22 02:04:11
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericEcologyHail(NPC, Spawn, faction)
  16. SetTarget(NPC,Spawn)
  17. end
  18. function InRange(NPC,Spawn)
  19. GenericEcologyCallout(NPC, Spawn, faction)
  20. SetTarget(NPC,Spawn)
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end