arat6.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/BigBend/arat6.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.14 05:07:28
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, -51.61, 2.03, 12.97, 2, math.random(8,12))
  19. MovementLoopAddLocation(NPC, -48.76, 1.06, 16.9, 2, math.random(8,12))
  20. MovementLoopAddLocation(NPC, -42.47, -0.49, 26.91, 2, math.random(8,12))
  21. MovementLoopAddLocation(NPC, -37.16, -0.7, 36.36, 2, math.random(8,12))
  22. MovementLoopAddLocation(NPC, -29.35, -1.21, 41.08, 2, math.random(8,12))
  23. MovementLoopAddLocation(NPC, -38.11, -0.75, 37.62, 2, math.random(8,12))
  24. MovementLoopAddLocation(NPC, -41.6, -0.95, 29.88, 2, math.random(8,12))
  25. MovementLoopAddLocation(NPC, -46.24, 0.29, 22.88, 2, math.random(8,12))
  26. MovementLoopAddLocation(NPC, -54.54, 3.56, 1.94, 2, math.random(8,12))
  27. MovementLoopAddLocation(NPC, -50.23, 1.78, 13.46, 2, math.random(8,12))
  28. end