arat5.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/BigBend/arat5.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.14 05:07:06
  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, 37.69, -1.01, -11.63, 2, math.random(8,12))
  19. MovementLoopAddLocation(NPC, 32.48, -0.32, -15.69, 2, math.random(8,12))
  20. MovementLoopAddLocation(NPC, 25.58, 0.59, -19.72, 2, math.random(8,12))
  21. MovementLoopAddLocation(NPC, 11.96, 1.82, -27.66, 2, math.random(8,12))
  22. MovementLoopAddLocation(NPC, -0.84, 2.84, -31.29, 2, math.random(8,12))
  23. MovementLoopAddLocation(NPC, -2.88, 3, -35.7, 2, math.random(8,12))
  24. MovementLoopAddLocation(NPC, -2.88, 3, -35.7, 2, math.random(8,12))
  25. MovementLoopAddLocation(NPC, -2.87, 3, -44.64, 2, math.random(8,12))
  26. MovementLoopAddLocation(NPC, -2.86, 3, -63.36, 2, math.random(8,12))
  27. MovementLoopAddLocation(NPC, -3.68, 3, -52.04, 2, math.random(8,12))
  28. MovementLoopAddLocation(NPC, -4.21, 2.9, -31.63, 2, math.random(8,12))
  29. MovementLoopAddLocation(NPC, 5.03, 2.28, -29.91, 2, math.random(8,12))
  30. MovementLoopAddLocation(NPC, 12.39, 1.78, -26.75, 2, math.random(8,12))
  31. MovementLoopAddLocation(NPC, 36.16, -0.79, -13.3, 2, math.random(8,12))
  32. end