9
3

Glanald.lua 889 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Freeport/Glanald.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.19 10:07:20
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetTempVariable(NPC, "IsHailed", "false")
  11. MovementLoopAddLocation(NPC, 67.58, -20.74, 24.58, 2, 0)
  12. MovementLoopAddLocation(NPC, 65.22, -20.76, 66.94, 2, 0)
  13. MovementLoopAddLocation(NPC, 80.22, -20.74, 92.62, 2, 0)
  14. MovementLoopAddLocation(NPC, 79.82, -20.74, 99.10, 2, 0)
  15. MovementLoopAddLocation(NPC, 80.22, -20.74, 92.62, 2, 5)
  16. MovementLoopAddLocation(NPC, 65.22, -20.76, 66.94, 2, 0)
  17. MovementLoopAddLocation(NPC, 67.58, -20.74, 24.58, 2, 0)
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. GenericGuardHail(NPC, Spawn, Faction)
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end