KVal.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/Freeport/KVal.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.19 10:07:35
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. function spawn(NPC)
  10. MovementLoopAddLocation(NPC, -144.82, -37.65, 66.13, 2, 0)
  11. MovementLoopAddLocation(NPC, -132.02, -37, 72.52, 2, 0)
  12. MovementLoopAddLocation(NPC, -124.60, -37.74, 63.22, 2, 0)
  13. MovementLoopAddLocation(NPC, -111.85, -37.73, 60.38, 2, 0)
  14. MovementLoopAddLocation(NPC, -100.26, -37.71, 50.44, 2, 0)
  15. MovementLoopAddLocation(NPC, -96.37, -37.73, 33.80, 2, 10)
  16. MovementLoopAddLocation(NPC, -96.37, -37.73, 33.80, 2, 0)
  17. MovementLoopAddLocation(NPC, -100.26, -37.71, 50.44, 2, 0)
  18. MovementLoopAddLocation(NPC, -111.85, -37.73, 60.38, 2, 0)
  19. MovementLoopAddLocation(NPC, -124.60, -37.74, 63.22, 2, 0)
  20. MovementLoopAddLocation(NPC, -132.02, -37, 72.52, 2, 0)
  21. MovementLoopAddLocation(NPC, -144.82, -37.65, 66.13, 2, 10)
  22. end
  23. function hailed(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. GenericGuardHail(NPC, Spawn, Faction)
  26. end
  27. function respawn(NPC)
  28. spawn(NPC)
  29. end