9
3

MacMurris.lua 595 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/MacMurris.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.04.23 12:04:53
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function InRange(NPC, Spawn)
  16. CheckFaction(NPC, Spawn, "Qeynos")
  17. end
  18. function LeaveRange(NPC, Spawn)
  19. end
  20. function hailed(NPC, Spawn)
  21. FaceTarget(NPC, Spawn)
  22. GenericGuardHail(NPC, Spawn)
  23. end