a_rat_a.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/a_rat_a.lua
  3. Script Purpose : Waypoint Path for arat_a.lua
  4. Script Author : Cynnar
  5. Script Date : 7/8/2018 08:07:43 AM
  6. Script Notes : <special-instructions>
  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, 4.26, 4.69, -26.44, 4, math.random(4,12))
  19. MovementLoopAddLocation(NPC, -9.51, 3, -26.03, 4, math.random(4,12))
  20. MovementLoopAddLocation(NPC, -18.88, 2.75, -18, 4, math.random(4,12))
  21. MovementLoopAddLocation(NPC, -1.49, 3.25, -2.6, 4, math.random(4,12))
  22. MovementLoopAddLocation(NPC, 10.66, 3.25, 8.17, 4, math.random(4,12))
  23. MovementLoopAddLocation(NPC, 41.82, 2.75, 6.72, 4, math.random(4,12))
  24. MovementLoopAddLocation(NPC, 59.82, 5, -18.78, 4, math.random(4,12))
  25. MovementLoopAddLocation(NPC, 60.27, 4, 4, math.random(4,12))
  26. MovementLoopAddLocation(NPC, 49.67, 2.5, 9.93, 4, math.random(4,12))
  27. MovementLoopAddLocation(NPC, 36.98, 2.5, 8.41, 4, math.random(4,12))
  28. MovementLoopAddLocation(NPC, 27.15, 5.25, -10.4, 4, math.random(4,12))
  29. MovementLoopAddLocation(NPC, 18.67, 5, -23.67, 4, math.random(4,12))
  30. MovementLoopAddLocation(NPC, -3.09, 3, -0.85, 4, math.random(4,12))
  31. MovementLoopAddLocation(NPC, -18.37, 2.5, -12.5, 4, math.random(4,12))
  32. MovementLoopAddLocation(NPC, 4.7, 4.73, -25.93, 4, math.random(4,12))
  33. end