9
3

adiseasedratonga391888.lua 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga391888.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga391888.lua
  4. Script Author : Rylec
  5. Script Date : 09-13-2019 05:00:36
  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. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, -179.99, 1.22, 14.69, 2, math.random(12, 22))
  18. -- MovementLoopAddLocation(NPC, -179.98, 1.22, 13.90, 2, math.random(12, 22))
  19. MovementLoopAddLocation(NPC, -179.06, 1.62, 12.88, 2, 0)
  20. MovementLoopAddLocation(NPC, -179.00, 1.68, 11.73, 2, 0)
  21. MovementLoopAddLocation(NPC, -179.00, 1.62, 9.64, 2, math.random(12, 22))
  22. MovementLoopAddLocation(NPC, -178.16, 1.93, 7.92, 2, 0, "changegrid_Going_Up")
  23. MovementLoopAddLocation(NPC, -178.01, 1.27, 5.56, 2, 0)
  24. MovementLoopAddLocation(NPC, -175.86, 1.26, 1.91, 2, 0)
  25. -- MovementLoopAddLocation(NPC, -175.03, 1.26, 0.49, 2, 0)
  26. MovementLoopAddLocation(NPC, -175.60, 1.26, 1.86, 2, math.random(12, 22))
  27. MovementLoopAddLocation(NPC, -176.05, 1.34, 4.23, 2, 0)
  28. MovementLoopAddLocation(NPC, -176.99, 1.41, 5.81, 2, 0, "changegrid_Going_Down")
  29. MovementLoopAddLocation(NPC, -177.27, 2.10, 7.87, 2, 0)
  30. MovementLoopAddLocation(NPC, -179.21, 1.63, 10.06, 2, 0)
  31. MovementLoopAddLocation(NPC, -179.51, 1.73, 11.56, 2, 0)
  32. MovementLoopAddLocation(NPC, -180.15, 1.22, 13.84, 2, math.random(12, 22))
  33. MovementLoopAddLocation(NPC, -179.80, 1.79, 11.36, 2, 0)
  34. MovementLoopAddLocation(NPC, -178.86, 1.66, 10.29, 2, 0)
  35. MovementLoopAddLocation(NPC, -177.71, 2.01, 7.94, 2, 0, "changegrid_Going_Up")
  36. MovementLoopAddLocation(NPC, -176.67, 1.50, 6.29, 2, 0)
  37. MovementLoopAddLocation(NPC, -174.71, 1.38, 3.23, 2, 0)
  38. MovementLoopAddLocation(NPC, -173.05, 1.75, 2.77, 2, 0)
  39. MovementLoopAddLocation(NPC, -170.91, 1.63, 1.56, 2, math.random(3, 8))
  40. -- MovementLoopAddLocation(NPC, -169.57, 1.34, 0.71, 2, math.random(8, 15))
  41. MovementLoopAddLocation(NPC, -171.15, 1.58, 0.54, 2, 0)
  42. MovementLoopAddLocation(NPC, -174.06, 1.26, 1.09, 2, 0)
  43. MovementLoopAddLocation(NPC, -175.47, 1.26, 2.29, 2, 0)
  44. MovementLoopAddLocation(NPC, -176.80, 1.26, 3.58, 2, 0)
  45. MovementLoopAddLocation(NPC, -177.69, 1.32, 6.03, 2, 0, "changegrid_Going_Down")
  46. MovementLoopAddLocation(NPC, -177.94, 1.97, 7.98, 2, 0)
  47. MovementLoopAddLocation(NPC, -179.09, 1.62, 9.58, 2, 0)
  48. MovementLoopAddLocation(NPC, -179.51, 1.82, 11.12, 2, 0)
  49. MovementLoopAddLocation(NPC, -180.04, 1.54, 12.98, 2, math.random(12, 22))
  50. MovementLoopAddLocation(NPC, -180.05, 1.59, 12.73, 2, 0)
  51. MovementLoopAddLocation(NPC, -179.76, 1.69, 10.39, 2, math.random(12, 22))
  52. MovementLoopAddLocation(NPC, -179.43, 1.84, 7.79, 2, 0, "changegrid_Going_Up")
  53. MovementLoopAddLocation(NPC, -178.70, 1.26, 5.34, 2, math.random(12, 22))
  54. MovementLoopAddLocation(NPC, -178.87, 1.42, 6.48, 2, 0, "changegrid_Going_Down")
  55. MovementLoopAddLocation(NPC, -179.45, 1.60, 8.95, 2, 0)
  56. MovementLoopAddLocation(NPC, -179.35, 1.74, 11.54, 2, 0)
  57. MovementLoopAddLocation(NPC, -180.03, 1.22, 14.85, 2, 0)
  58. end
  59. --------------------------------------------------------------------------------------
  60. -- NPC Change Grid
  61. --------------------------------------------------------------------------------------
  62. function changegrid_Going_Up(NPC)
  63. SetGridID(NPC, 4000206445)
  64. end
  65. function changegrid_Going_Down(NPC)
  66. SetGridID(NPC, 2981397110)
  67. end