Galla.lua 551 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/SouthQeynos/Galla.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.05.16 08:05:44
  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 InRange(NPC, Spawn)
  13. CheckFaction(NPC, Spawn, "Qeynos")
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. GenericGuardHail(NPC, Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end