9
3

arat7.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/BigBend/arat7.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.14 05:07:25
  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, -39.6, -0.38, 26.9, 2, math.random(8,12))
  19. MovementLoopAddLocation(NPC, -36.75, 0, 22.54, 2, math.random(8,12))
  20. MovementLoopAddLocation(NPC, -25.5, 0, 17.52, 2, math.random(8,12))
  21. MovementLoopAddLocation(NPC, -14, 0, 8.28, 2, math.random(8,12))
  22. MovementLoopAddLocation(NPC, -10.01, 0, -14.56, 2, math.random(8,12))
  23. MovementLoopAddLocation(NPC, -11.49, 0, 6.09, 2, math.random(8,12))
  24. MovementLoopAddLocation(NPC, -15.28, 0.04, 20.42, 2, math.random(8,12))
  25. MovementLoopAddLocation(NPC, -25.04, -0.14, 31.13, 2, math.random(8,12))
  26. MovementLoopAddLocation(NPC, -23.5, -2.17, 43.36, 2, math.random(8,12))
  27. MovementLoopAddLocation(NPC, -22.17, -1.88, 40.96, 2, math.random(8,12))
  28. MovementLoopAddLocation(NPC, -26.43, -1.87, 42.24, 2, math.random(8,12))
  29. MovementLoopAddLocation(NPC, -37.59, -0.53, 38.99, 2, math.random(8,12))
  30. MovementLoopAddLocation(NPC, -39.05, -0.86, 33.93, 2, math.random(8,12))
  31. MovementLoopAddLocation(NPC, -38.75, -0.48, 28.15, 2, math.random(8,12))
  32. end