LauraIronforge.lua 635 B

123456789101112131415161718192021222324252627
  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. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. GenericEcologyHail(NPC, Spawn, faction)
  15. SetTarget(NPC,Spawn)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericEcologyCallout(NPC, Spawn, faction)
  19. SetTarget(NPC,Spawn)
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end