arat3.lua 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/BigBend/arat3.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.14 05:07:10
  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, -12.06, 0, 0.15, 2, math.random(8,12))
  19. MovementLoopAddLocation(NPC, -9.6, 0, 10.72, 2, math.random(8,12))
  20. MovementLoopAddLocation(NPC, -16.45, 0, -0.67, 2, math.random(8,12))
  21. MovementLoopAddLocation(NPC, -4.56, 0.06, 13.13, 2, math.random(8,12))
  22. MovementLoopAddLocation(NPC, 13.86, 0, 7.62, 2, math.random(8,12))
  23. MovementLoopAddLocation(NPC, 9.41, 0, -4.84, 2, math.random(8,12))
  24. MovementLoopAddLocation(NPC, 13.42, 0, 8.27, 2, math.random(8,12))
  25. MovementLoopAddLocation(NPC, 10.35, 0, 10.17, 2, math.random(8,12))
  26. MovementLoopAddLocation(NPC, 6.89, 0, -7.73, 2, math.random(8,12))
  27. MovementLoopAddLocation(NPC, -6.48, 0, -12.06, 2, math.random(8,12))
  28. MovementLoopAddLocation(NPC, -10.36, 0, -1.39, 2, math.random(8,12))
  29. end