atrashhopper393120.lua 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. --[[
  2. Script Name : TWHopper002.lua
  3. Script Purpose : Waypoint Path for TWHopper002.lua
  4. Script Author : Rylec
  5. Script Date : 09-13-2019 03:45:48
  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. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, -180.12, 1.75, 10.59, 2, 0)
  18. MovementLoopAddLocation(NPC, -179.62, 1.61, 9.77, 2, math.random(8, 18))
  19. MovementLoopAddLocation(NPC, -178.96, 1.86, 8.11, 2, 0)
  20. MovementLoopAddLocation(NPC, -178.16, 1.89, 7.08, 2, 0, "changegrid_Going_Up")
  21. MovementLoopAddLocation(NPC, -177.86, 1.27, 5.18, 2, 0)
  22. MovementLoopAddLocation(NPC, -177.33, 1.26, 4.15, 2, math.random(8, 18))
  23. MovementLoopAddLocation(NPC, -177.48, 1.29, 4.84, 2, 0)
  24. MovementLoopAddLocation(NPC, -178.76, 1.26, 5.87, 2, 0)
  25. MovementLoopAddLocation(NPC, -179.18, 1.84, 7.21, 2, 0)
  26. MovementLoopAddLocation(NPC, -179.37, 1.62, 9.90, 2, 0, "changegrid_Going_Down")
  27. MovementLoopAddLocation(NPC, -179.14, 1.76, 11.47, 2, 0)
  28. MovementLoopAddLocation(NPC, -178.50, 1.58, 13.30, 2, 0)
  29. MovementLoopAddLocation(NPC, -178.24, 2.25, 14.47, 2, 0)
  30. MovementLoopAddLocation(NPC, -179.32, 1.22, 15.67, 2, 0)
  31. MovementLoopAddLocation(NPC, -179.27, 1.22, 15.69, 2, math.random(8, 18))
  32. -- MovementLoopAddLocation(NPC, -178.25, 1.63, 15.96, 2, 0)
  33. -- MovementLoopAddLocation(NPC, -178.25, 1.63, 15.96, 2, 0)
  34. MovementLoopAddLocation(NPC, -179.02, 1.62, 12.18, 2, 0)
  35. MovementLoopAddLocation(NPC, -179.18, 1.82, 11.08, 2, 0)
  36. MovementLoopAddLocation(NPC, -178.60, 1.64, 9.59, 2, 0)
  37. MovementLoopAddLocation(NPC, -177.99, 1.86, 6.94, 2, 0, "changegrid_Going_Up")
  38. MovementLoopAddLocation(NPC, -177.79, 1.28, 5.33, 2, 0)
  39. MovementLoopAddLocation(NPC, -176.47, 1.28, 3.75, 2, 0)
  40. MovementLoopAddLocation(NPC, -175.20, 1.31, 2.95, 2, 0)
  41. MovementLoopAddLocation(NPC, -174.58, 1.31, 2.36, 2, 0)
  42. MovementLoopAddLocation(NPC, -173.99, 1.27, 1.65, 2, 0)
  43. MovementLoopAddLocation(NPC, -172.31, 1.60, 1.03, 2, math.random(8, 18))
  44. MovementLoopAddLocation(NPC, -174.01, 1.26, 1.06, 2, 0)
  45. MovementLoopAddLocation(NPC, -175.08, 1.27, 2.18, 2, 0)
  46. MovementLoopAddLocation(NPC, -176.39, 1.26, 3.18, 2, 0)
  47. MovementLoopAddLocation(NPC, -178.03, 1.26, 3.70, 2, 0)
  48. MovementLoopAddLocation(NPC, -178.77, 1.26, 4.15, 2, 0)
  49. MovementLoopAddLocation(NPC, -178.16, 1.26, 4.77, 2, 0)
  50. MovementLoopAddLocation(NPC, -178.07, 1.26, 4.73, 2, 0)
  51. MovementLoopAddLocation(NPC, -175.61, 1.35, 3.95, 2, math.random(8, 18))
  52. MovementLoopAddLocation(NPC, -174.28, 1.42, 3.15, 2, 0)
  53. MovementLoopAddLocation(NPC, -173.17, 1.75, 3.02, 2, 0)
  54. MovementLoopAddLocation(NPC, -172.05, 1.77, 2.26, 2, 0)
  55. MovementLoopAddLocation(NPC, -170.64, 1.62, 2.15, 2, 0)
  56. MovementLoopAddLocation(NPC, -169.63, 1.34, 1.01, 2, 0)
  57. MovementLoopAddLocation(NPC, -168.94, 1.34, -0.37, 2, 0)
  58. MovementLoopAddLocation(NPC, -169.04, 1.34, -0.35, 2, 0)
  59. MovementLoopAddLocation(NPC, -170.48, 1.36, -0.17, 2, math.random(8, 18))
  60. MovementLoopAddLocation(NPC, -171.75, 1.58, -0.03, 2, 0)
  61. MovementLoopAddLocation(NPC, -174.08, 1.26, -0.16, 2, 0)
  62. MovementLoopAddLocation(NPC, -174.88, 1.26, 0.38, 2, 0)
  63. MovementLoopAddLocation(NPC, -175.40, 1.26, 1.63, 2, 0)
  64. MovementLoopAddLocation(NPC, -175.84, 1.32, 3.77, 2, 0)
  65. MovementLoopAddLocation(NPC, -176.66, 1.34, 4.85, 2, 0)
  66. MovementLoopAddLocation(NPC, -177.05, 1.43, 6.26, 2, 0)
  67. MovementLoopAddLocation(NPC, -177.86, 1.99, 7.66, 2, 0, "changegrid_Going_Down")
  68. MovementLoopAddLocation(NPC, -178.98, 1.70, 8.79, 2, 0)
  69. MovementLoopAddLocation(NPC, -180.13, 1.79, 10.74, 2, 0)
  70. end
  71. --------------------------------------------------------------------------------------
  72. -- NPC Change Grid
  73. --------------------------------------------------------------------------------------
  74. function changegrid_Going_Up(NPC)
  75. SetGridID(NPC, 4000206445)
  76. end
  77. function changegrid_Going_Down(NPC)
  78. SetGridID(NPC, 2981397110)
  79. end