akoi570670.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/akoi570670.lua
  3. Script Purpose : Waypoint Path for akoi570670.lua
  4. Script Author : Rylec
  5. Script Date : 02-21-2021 09:38:28
  6. Script Notes : Locations collected from Live
  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, 762.97, -27.05, -378.63, 2, math.random(10, 20))
  19. MovementLoopAddLocation(NPC, 762.96, -27.03, -387.39, 2, math.random(10, 20))
  20. MovementLoopAddLocation(NPC, 762.97, -27.03, -384.69, 2, math.random(10, 20))
  21. MovementLoopAddLocation(NPC, 761.97, -27.08, -403.39, 2, 0)
  22. MovementLoopAddLocation(NPC, 760.97, -27.07, -406.88, 2, math.random(10, 20))
  23. MovementLoopAddLocation(NPC, 761.82, -26.95, -404.72, 2, math.random(10, 20))
  24. MovementLoopAddLocation(NPC, 759.91, -26.48, -401.13, 2, math.random(10, 20))
  25. MovementLoopAddLocation(NPC, 760.47, -26.36, -405.82, 2, math.random(10, 20))
  26. MovementLoopAddLocation(NPC, 760.92, -26.05, -402.91, 2, math.random(10, 20))
  27. MovementLoopAddLocation(NPC, 760.07, -26.49, -405.88, 2, 0)
  28. MovementLoopAddLocation(NPC, 760.02, -27.06, -408.03, 2, math.random(10, 20))
  29. MovementLoopAddLocation(NPC, 760.96, -27.06, -407.88, 2, math.random(10, 20))
  30. MovementLoopAddLocation(NPC, 759.82, -26.5, -400.99, 2, 0)
  31. MovementLoopAddLocation(NPC, 760.01, -26.06, -396.34, 2, math.random(10, 20))
  32. MovementLoopAddLocation(NPC, 760.68, -26.35, -393.21, 2, 0)
  33. MovementLoopAddLocation(NPC, 762, -26.97, -389.52, 2, math.random(10, 20))
  34. MovementLoopAddLocation(NPC, 761.99, -27.37, -384.68, 2, 0)
  35. end