GuardGriz.lua 558 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/TheRuins_Classic/GuardGriz.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.07.04 04:07:47
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. end
  13. function hailed(NPC, Spawn)
  14. if GetFactionAmount(Spawn,12)<0 then
  15. else
  16. FaceTarget(NPC, Spawn)
  17. GenericGuardHail(NPC,Spawn)
  18. end
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end