adiseasedratonga1586513.lua 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. --[[
  2. Script Name : SpawnScripts/ThievesWay/adiseasedratonga1586513.lua
  3. Script Purpose : Waypoint Path for adiseasedratonga1586513.lua
  4. Script Author : Rylec
  5. Script Date : 09-13-2019 06:34:48
  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, -168.25, 1.34, 1.01, 2, math.random(12, 22))
  18. -- MovementLoopAddLocation(NPC, -168.52, 1.34, 0.87, 2, 0)
  19. -- MovementLoopAddLocation(NPC, -172.16, 1.58, 0.83, 2, 0)
  20. -- MovementLoopAddLocation(NPC, -174.17, 1.26, 1.17, 2, 0)
  21. MovementLoopAddLocation(NPC, -175.93, 1.26, 2.05, 2, 0)
  22. -- MovementLoopAddLocation(NPC, -178.06, 1.26, 3.08, 2, 0)
  23. -- MovementLoopAddLocation(NPC, -179.07, 1.26, 3.56, 2, 0)
  24. -- MovementLoopAddLocation(NPC, -179.07, 1.26, 3.57, 2, 0)
  25. MovementLoopAddLocation(NPC, -179.00, 1.26, 5.96, 2, math.random(12, 22))
  26. MovementLoopAddLocation(NPC, -179.10, 1.62, 9.60, 2, 0, "changegrid_Going_Down")
  27. -- MovementLoopAddLocation(NPC, -178.90, 1.62, 12.18, 2, 0)
  28. -- MovementLoopAddLocation(NPC, -178.42, 1.95, 14.07, 2, 0)
  29. MovementLoopAddLocation(NPC, -178.33, 1.79, 14.98, 2, 0)
  30. -- MovementLoopAddLocation(NPC, -179.14, 1.22, 16.78, 2, 0)
  31. -- MovementLoopAddLocation(NPC, -179.11, 1.22, 16.75, 2, math.random(3, 5))
  32. -- MovementLoopAddLocation(NPC, -178.63, 1.49, 16.06, 2, 0)
  33. -- MovementLoopAddLocation(NPC, -178.45, 1.96, 14.30, 2, 0)
  34. -- MovementLoopAddLocation(NPC, -179.28, 1.33, 13.37, 2, 0)
  35. -- MovementLoopAddLocation(NPC, -179.93, 1.22, 14.95, 2, 0)
  36. -- MovementLoopAddLocation(NPC, -180.06, 1.22, 15.55, 2, 0)
  37. -- MovementLoopAddLocation(NPC, -180.06, 1.22, 15.60, 2, 0)
  38. MovementLoopAddLocation(NPC, -180.07, 1.22, 17.84, 2, math.random(12, 22))
  39. MovementLoopAddLocation(NPC, -180.05, 1.22, 17.69, 2, math.random(12, 22))
  40. -- MovementLoopAddLocation(NPC, -179.85, 1.78, 11.40, 2, math.random(12, 22))
  41. MovementLoopAddLocation(NPC, -178.93, 1.86, 8.27, 2, math.random(12, 22))
  42. MovementLoopAddLocation(NPC, -178.20, 1.70, 6.73, 2, 0, "changegrid_Going_Up")
  43. MovementLoopAddLocation(NPC, -176.08, 1.26, 4.40, 2, math.random(8, 15))
  44. MovementLoopAddLocation(NPC, -178.12, 1.94, 7.46, 2, math.random(12, 22), "changegrid_Going_Down")
  45. MovementLoopAddLocation(NPC, -179.64, 1.68, 11.74, 2, 0)
  46. MovementLoopAddLocation(NPC, -179.82, 1.22, 14.11, 2, math.random(12, 22))
  47. -- MovementLoopAddLocation(NPC, -179.87, 1.67, 10.34, 2, 0)
  48. -- MovementLoopAddLocation(NPC, -179.94, 1.84, 7.98, 2, 0)
  49. MovementLoopAddLocation(NPC, -179.63, 1.26, 4.81, 2, math.random(12, 22), "changegrid_Going_Up")
  50. MovementLoopAddLocation(NPC, -179.73, 1.84, 7.82, 2, 0, "changegrid_Going_Down")
  51. -- MovementLoopAddLocation(NPC, -179.88, 1.82, 11.10, 2, 0)
  52. MovementLoopAddLocation(NPC, -180.05, 1.22, 15.45, 2, 0)
  53. -- MovementLoopAddLocation(NPC, -180.00, 1.22, 16.68, 2, 0)
  54. -- MovementLoopAddLocation(NPC, -180.01, 1.22, 16.64, 2, 0)
  55. MovementLoopAddLocation(NPC, -179.82, 1.22, 16.02, 2, math.random(12, 22))
  56. -- MovementLoopAddLocation(NPC, -179.11, 1.26, 14.90, 2, 0)
  57. -- MovementLoopAddLocation(NPC, -178.99, 1.75, 10.59, 2, 0)
  58. -- MovementLoopAddLocation(NPC, -177.94, 1.97, 7.89, 2, 0)
  59. MovementLoopAddLocation(NPC, -177.23, 2.04, 7.02, 2, 0, "changegrid_Going_Up")
  60. -- MovementLoopAddLocation(NPC, -176.37, 1.38, 4.91, 2, 0)
  61. MovementLoopAddLocation(NPC, -175.70, 1.33, 3.72, 2, 0)
  62. -- MovementLoopAddLocation(NPC, -173.42, 1.27, 1.41, 2, 0)
  63. -- MovementLoopAddLocation(NPC, -172.49, 1.61, 1.10, 2, 0)
  64. -- MovementLoopAddLocation(NPC, -172.43, 1.58, -0.75, 2, 0)
  65. -- MovementLoopAddLocation(NPC, -173.83, 1.26, -0.32, 2, 0)
  66. -- MovementLoopAddLocation(NPC, -175.01, 1.26, 1.06, 2, 0)
  67. -- MovementLoopAddLocation(NPC, -174.98, 1.26, 1.38, 2, 0)
  68. -- MovementLoopAddLocation(NPC, -173.50, 1.26, 1.36, 2, 0)
  69. end
  70. --------------------------------------------------------------------------------------
  71. -- NPC Change Grid
  72. --------------------------------------------------------------------------------------
  73. function changegrid_Going_Up(NPC)
  74. SetGridID(NPC, 4000206445)
  75. end
  76. function changegrid_Going_Down(NPC)
  77. SetGridID(NPC, 2981397110)
  78. end