arat1.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/BigBend/arat1.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.14 05:07:00
  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, 62.15, -2, 4.86, 2, math.random(8,12))
  19. MovementLoopAddLocation(NPC, 55.61, -2, 5.92, 2, math.random(8,12))
  20. MovementLoopAddLocation(NPC, 44.95, -1.48, 9.83, 2, math.random(8,12))
  21. MovementLoopAddLocation(NPC, 34.13, -1.39, 14.65, 2, math.random(8,12))
  22. MovementLoopAddLocation(NPC, 25.45, -0.28, 16.37, 2, math.random(8,12))
  23. MovementLoopAddLocation(NPC, 21.81, -0.09, 15.23, 2, math.random(8,12))
  24. MovementLoopAddLocation(NPC, 34.14, -1.39, 14.9, 2, math.random(8,12))
  25. MovementLoopAddLocation(NPC, 44.31, -1.45, 9.87, 2, math.random(8,12))
  26. MovementLoopAddLocation(NPC, 47.8, -1.71, 8.91, 2, math.random(8,12))
  27. MovementLoopAddLocation(NPC, 60.9, -2, 6.62, 2, math.random(8,12))
  28. end