9
3

Ulir.lua 588 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/SouthQeynos/Ulir.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.12 01:06:14
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. dofile("SpawnScripts/Generic/ExpelNonCitizen.lua")
  10. function spawn(NPC)
  11. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  12. end
  13. function InRange(NPC, Spawn)
  14. NonCitizen(NPC,Spawn)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. GenericGuardHail(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end