9
3

arat4.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/BigBend/arat4.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, 83, -2, -8.17, 2, math.random(8,12))
  19. MovementLoopAddLocation(NPC, 87.88, -2, -10.22, 2, math.random(8,12))
  20. MovementLoopAddLocation(NPC, 80.23, -2, 16.47, 2, math.random(8,12))
  21. MovementLoopAddLocation(NPC, 85.65, -2, 18.37, 2, math.random(8,12))
  22. MovementLoopAddLocation(NPC, 89.06, -2, 5.02, 2, math.random(8,12))
  23. MovementLoopAddLocation(NPC, 58.89, -2, 5.62, 2, math.random(8,12))
  24. MovementLoopAddLocation(NPC, 42.97, -1.48, 10.8, 2, math.random(8,12))
  25. MovementLoopAddLocation(NPC, 36.73, -1.32, -7.36, 2, math.random(8,12))
  26. MovementLoopAddLocation(NPC, 42.39, -1.34, 9.73, 2, math.random(8,12))
  27. MovementLoopAddLocation(NPC, 53.59, -2, 7.45, 2, math.random(8,12))
  28. MovementLoopAddLocation(NPC, 78.85, -2, 2.79, 2, math.random(8,12))
  29. MovementLoopAddLocation(NPC, 82.44, -2, -8.99, 2, math.random(8,12))
  30. end