GuardAnalaeia.lua 505 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : SpawnScripts/Castleview/GuardAnalaeia.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.29 04:10:47
  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 hailed(NPC, Spawn)
  13. if GetFactionAmount(Spawn,11)<0 then
  14. else
  15. FaceTarget(NPC, Spawn)
  16. GenericGuardHail(NPC,Spawn)
  17. end
  18. end