arat133772654.lua 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/arat133772654.lua
  3. Script Purpose : Waypoint Path for arat133772654.lua
  4. Script Author : Rylec
  5. Script Date : 10-04-2021 07:32:25
  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, 596.06, -24.81, -222.95, 2, MakeRandomInt(2, 6))
  19. MovementLoopAddLocation(NPC, 594.4, -24.76, -223.43, 2, 0)
  20. MovementLoopAddLocation(NPC, 591.48, -26.81, -227.51, 2, 0)
  21. MovementLoopAddLocation(NPC, 590.26, -27.59, -228.55, 2, 0)
  22. MovementLoopAddLocation(NPC, 589.5, -28.03, -230.26, 2, 0)
  23. MovementLoopAddLocation(NPC, 590.15, -28.03, -232.62, 2, 0)
  24. MovementLoopAddLocation(NPC, 594.98, -30.06, -236.01, 2, 0)
  25. MovementLoopAddLocation(NPC, 596.12, -30.64, -236.29, 2, 0)
  26. MovementLoopAddLocation(NPC, 599.01, -31.26, -239.08, 2, 0)
  27. MovementLoopAddLocation(NPC, 600.5, -31.26, -239.62, 2, 0)
  28. MovementLoopAddLocation(NPC, 603.09, -31.23, -239.39, 2, 0, "changegrid_Going_Down")
  29. MovementLoopAddLocation(NPC, 605.34, -32.02, -236.59, 2, 0)
  30. MovementLoopAddLocation(NPC, 607.72, -33.63, -234.26, 2, 0)
  31. MovementLoopAddLocation(NPC, 609.65, -35.25, -231.04, 2, MakeRandomInt(2, 6))
  32. MovementLoopAddLocation(NPC, 607.76, -34.05, -233.41, 2, 0)
  33. MovementLoopAddLocation(NPC, 605.39, -32.36, -235.75, 2, 0)
  34. MovementLoopAddLocation(NPC, 604.78, -31.64, -237.06, 2, 0)
  35. MovementLoopAddLocation(NPC, 602.7, -31.23, -238.84, 2, 0)
  36. MovementLoopAddLocation(NPC, 597.31, -31.26, -237.83, 2, 0, "changegrid_Going_Up")
  37. MovementLoopAddLocation(NPC, 592.98, -28.65, -233.85, 2, 0)
  38. MovementLoopAddLocation(NPC, 589.5, -28.05, -231.66, 2, MakeRandomInt(2, 6))
  39. MovementLoopAddLocation(NPC, 591.6, -27.04, -228.08, 2, 0)
  40. MovementLoopAddLocation(NPC, 592.74, -25.36, -224.93, 2, 0)
  41. MovementLoopAddLocation(NPC, 594.06, -24.76, -223.11, 2, 0)
  42. MovementLoopAddLocation(NPC, 594.36, -24.78, -221.05, 2, MakeRandomInt(2, 6))
  43. MovementLoopAddLocation(NPC, 593.73, -25.07, -224.88, 2, 0)
  44. MovementLoopAddLocation(NPC, 591.39, -27.98, -230.74, 2, 2)
  45. MovementLoopAddLocation(NPC, 594.01, -29.27, -234.42, 2, 0)
  46. MovementLoopAddLocation(NPC, 596.38, -30.62, -235.88, 2, 0)
  47. MovementLoopAddLocation(NPC, 598.37, -31.25, -237.78, 2, 0)
  48. MovementLoopAddLocation(NPC, 600.27, -31.26, -238.97, 2, 0)
  49. MovementLoopAddLocation(NPC, 602.8, -31.23, -238.93, 2, 0, "changegrid_Going_Down")
  50. MovementLoopAddLocation(NPC, 607.66, -33.59, -234.33, 2, 0)
  51. MovementLoopAddLocation(NPC, 609.72, -35.25, -230.86, 2, MakeRandomInt(2, 6))
  52. MovementLoopAddLocation(NPC, 608.71, -34.69, -232.42, 2, 0)
  53. MovementLoopAddLocation(NPC, 605.13, -32.21, -235.94, 2, 0)
  54. MovementLoopAddLocation(NPC, 604.85, -31.73, -236.95, 2, 0)
  55. MovementLoopAddLocation(NPC, 601, -31.24, -241.07, 2, MakeRandomInt(2, 6))
  56. MovementLoopAddLocation(NPC, 598.62, -31.25, -237.83, 2, 0, "changegrid_Going_Up")
  57. MovementLoopAddLocation(NPC, 592.42, -28.47, -233.91, 2, 0)
  58. MovementLoopAddLocation(NPC, 591.38, -28, -232.71, 2, 0)
  59. MovementLoopAddLocation(NPC, 588.58, -28.04, -230.9, 2, 1)
  60. MovementLoopAddLocation(NPC, 591.24, -26.96, -227.66, 2, 0)
  61. MovementLoopAddLocation(NPC, 593.31, -24.73, -223.83, 2, 0)
  62. MovementLoopAddLocation(NPC, 594.27, -24.79, -221.97, 2, MakeRandomInt(2, 6))
  63. MovementLoopAddLocation(NPC, 591.87, -26.8, -227.7, 2, 0)
  64. MovementLoopAddLocation(NPC, 590.82, -27.73, -229.25, 2, 0)
  65. MovementLoopAddLocation(NPC, 590.01, -28.04, -231.67, 2, 0)
  66. MovementLoopAddLocation(NPC, 590.65, -28, -233.71, 2, 0)
  67. MovementLoopAddLocation(NPC, 593.77, -29.62, -236.14, 2, 0)
  68. MovementLoopAddLocation(NPC, 595.5, -30.55, -236.85, 2, 0)
  69. MovementLoopAddLocation(NPC, 596.96, -31.26, -238.23, 2, 0)
  70. MovementLoopAddLocation(NPC, 599.19, -31.26, -239.09, 2, 0, "changegrid_Going_Down")
  71. MovementLoopAddLocation(NPC, 601.79, -31.24, -239.54, 2, 0)
  72. MovementLoopAddLocation(NPC, 605.05, -31.24, -238.38, 2, 0)
  73. MovementLoopAddLocation(NPC, 607.03, -32.79, -235.65, 2, 0)
  74. MovementLoopAddLocation(NPC, 607.76, -33.65, -234.26, 2, 0)
  75. MovementLoopAddLocation(NPC, 609.26, -34.79, -232.57, 2, 0)
  76. MovementLoopAddLocation(NPC, 610.12, -35.22, -231.39, 2, 0)
  77. MovementLoopAddLocation(NPC, 610.87, -35.21, -230.65, 2, MakeRandomInt(2, 6))
  78. MovementLoopAddLocation(NPC, 608.03, -33.87, -233.96, 2, 0)
  79. MovementLoopAddLocation(NPC, 606.09, -32.56, -235.73, 2, 0)
  80. MovementLoopAddLocation(NPC, 604.56, -31.25, -237.85, 2, 0)
  81. MovementLoopAddLocation(NPC, 602.87, -31.23, -238.94, 2, 0)
  82. MovementLoopAddLocation(NPC, 601.18, -31.26, -239.2, 2, 0)
  83. MovementLoopAddLocation(NPC, 597.3, -31.24, -236.93, 2, 0, "changegrid_Going_Up")
  84. MovementLoopAddLocation(NPC, 595.97, -30.47, -235.83, 2, 0)
  85. MovementLoopAddLocation(NPC, 594.91, -29.82, -235.33, 2, 0)
  86. MovementLoopAddLocation(NPC, 593.88, -29.15, -234.32, 2, 0)
  87. MovementLoopAddLocation(NPC, 591.9, -28.1, -233.45, 2, 0)
  88. MovementLoopAddLocation(NPC, 590.16, -28.04, -231.69, 2, 0)
  89. MovementLoopAddLocation(NPC, 590.01, -28, -229.68, 2, 0)
  90. MovementLoopAddLocation(NPC, 591.34, -26.78, -227.33, 2, 0)
  91. MovementLoopAddLocation(NPC, 592.18, -26.11, -226.33, 2, 0)
  92. MovementLoopAddLocation(NPC, 593, -25.14, -224.47, 2, 0)
  93. MovementLoopAddLocation(NPC, 593.53, -24.7, -223.71, 2, 0)
  94. MovementLoopAddLocation(NPC, 594.15, -24.78, -222.09, 2, MakeRandomInt(2, 6))
  95. MovementLoopAddLocation(NPC, 592.71, -25.95, -226.24, 2, 0)
  96. MovementLoopAddLocation(NPC, 591.76, -26.89, -227.84, 2, 0)
  97. MovementLoopAddLocation(NPC, 591.4, -27.41, -228.96, 2, 0)
  98. MovementLoopAddLocation(NPC, 590.7, -28, -230.53, 2, 0)
  99. MovementLoopAddLocation(NPC, 590.84, -28.02, -231.75, 2, 0)
  100. MovementLoopAddLocation(NPC, 593.13, -28.7, -233.74, 2, 0)
  101. MovementLoopAddLocation(NPC, 594.87, -29.7, -234.74, 2, 0)
  102. MovementLoopAddLocation(NPC, 596.51, -30.91, -236.63, 2, 0)
  103. MovementLoopAddLocation(NPC, 598.85, -31.26, -239.17, 2, 0)
  104. MovementLoopAddLocation(NPC, 600.2, -31.26, -239.98, 2, 0)
  105. MovementLoopAddLocation(NPC, 602.48, -31.23, -240.54, 2, 0, "changegrid_Going_Down")
  106. MovementLoopAddLocation(NPC, 604.72, -31.26, -238.92, 2, 0)
  107. MovementLoopAddLocation(NPC, 606.1, -32.17, -236.67, 2, 0)
  108. MovementLoopAddLocation(NPC, 607.07, -32.83, -235.6, 2, 0)
  109. MovementLoopAddLocation(NPC, 608.09, -34.04, -233.7, 2, 0)
  110. MovementLoopAddLocation(NPC, 611.14, -35.21, -230.32, 2, MakeRandomInt(2, 6))
  111. MovementLoopAddLocation(NPC, 608.4, -34.06, -233.66, 2, 0)
  112. MovementLoopAddLocation(NPC, 605.74, -32.53, -235.6, 2, 0)
  113. MovementLoopAddLocation(NPC, 605.19, -31.9, -236.64, 2, 0)
  114. MovementLoopAddLocation(NPC, 605.1, -31.55, -237.57, 2, 0)
  115. MovementLoopAddLocation(NPC, 603.87, -31.26, -238.77, 2, 0)
  116. MovementLoopAddLocation(NPC, 599.78, -31.26, -238.79, 2, MakeRandomInt(12, 18), "changegrid_Going_Up")
  117. MovementLoopAddLocation(NPC, 597.13, -31.25, -237.18, 2, 0)
  118. MovementLoopAddLocation(NPC, 595.5, -30.2, -235.55, 2, 0)
  119. MovementLoopAddLocation(NPC, 594.1, -29.36, -234.8, 2, 0)
  120. MovementLoopAddLocation(NPC, 592.3, -28.11, -232.84, 2, 0)
  121. MovementLoopAddLocation(NPC, 591.66, -27.99, -231.54, 2, 0)
  122. MovementLoopAddLocation(NPC, 591.35, -27.55, -229.1, 2, 0)
  123. MovementLoopAddLocation(NPC, 592.04, -26.75, -227.63, 2, 0)
  124. MovementLoopAddLocation(NPC, 593.13, -25.94, -226.51, 2, 0)
  125. MovementLoopAddLocation(NPC, 593.73, -25.07, -224.9, 2, 0)
  126. MovementLoopAddLocation(NPC, 595.16, -24.8, -223.34, 2, 0)
  127. MovementLoopAddLocation(NPC, 596.06, -24.81, -222.95, 2, MakeRandomInt(1, 3))
  128. MovementLoopAddLocation(NPC, 594.4, -24.76, -223.43, 7, 0)
  129. MovementLoopAddLocation(NPC, 591.48, -26.81, -227.51, 7, 0)
  130. MovementLoopAddLocation(NPC, 590.26, -27.59, -228.55, 7, 0)
  131. MovementLoopAddLocation(NPC, 589.5, -28.03, -230.26, 7, 0)
  132. MovementLoopAddLocation(NPC, 590.15, -28.03, -232.62, 7, 0)
  133. MovementLoopAddLocation(NPC, 594.98, -30.06, -236.01, 7, 0)
  134. MovementLoopAddLocation(NPC, 596.12, -30.64, -236.29, 7, 0)
  135. MovementLoopAddLocation(NPC, 599.01, -31.26, -239.08, 7, 0)
  136. MovementLoopAddLocation(NPC, 600.5, -31.26, -239.62, 7, 0)
  137. MovementLoopAddLocation(NPC, 603.09, -31.23, -239.39, 7, 0, "changegrid_Going_Down")
  138. MovementLoopAddLocation(NPC, 605.34, -32.02, -236.59, 7, 0)
  139. MovementLoopAddLocation(NPC, 607.72, -33.63, -234.26, 7, 0)
  140. MovementLoopAddLocation(NPC, 609.65, -35.25, -231.04, 7, MakeRandomInt(1, 3))
  141. MovementLoopAddLocation(NPC, 607.76, -34.05, -233.41, 7, 0)
  142. MovementLoopAddLocation(NPC, 605.39, -32.36, -235.75, 7, 0)
  143. MovementLoopAddLocation(NPC, 604.78, -31.64, -237.06, 7, 0)
  144. MovementLoopAddLocation(NPC, 602.7, -31.23, -238.84, 7, 0)
  145. MovementLoopAddLocation(NPC, 597.31, -31.26, -237.83, 7, 0, "changegrid_Going_Up")
  146. MovementLoopAddLocation(NPC, 592.98, -28.65, -233.85, 7, 0)
  147. MovementLoopAddLocation(NPC, 589.5, -28.05, -231.66, 7, 0)
  148. MovementLoopAddLocation(NPC, 591.6, -27.04, -228.08, 7, 0)
  149. MovementLoopAddLocation(NPC, 592.74, -25.36, -224.93, 7, 0)
  150. MovementLoopAddLocation(NPC, 594.06, -24.76, -223.11, 7, 0)
  151. MovementLoopAddLocation(NPC, 594.36, -24.78, -221.05, 7, MakeRandomInt(1, 3))
  152. MovementLoopAddLocation(NPC, 593.73, -25.07, -224.88, 7, 0)
  153. MovementLoopAddLocation(NPC, 591.39, -27.98, -230.74, 7, MakeRandomInt(1, 3))
  154. MovementLoopAddLocation(NPC, 594.01, -29.27, -234.42, 7, 0)
  155. MovementLoopAddLocation(NPC, 596.38, -30.62, -235.88, 7, 0)
  156. MovementLoopAddLocation(NPC, 598.37, -31.25, -237.78, 7, 0)
  157. MovementLoopAddLocation(NPC, 600.27, -31.26, -238.97, 7, 0)
  158. MovementLoopAddLocation(NPC, 602.8, -31.23, -238.93, 7, 0, "changegrid_Going_Down")
  159. MovementLoopAddLocation(NPC, 607.66, -33.59, -234.33, 7, 0)
  160. MovementLoopAddLocation(NPC, 609.72, -35.25, -230.86, 7, MakeRandomInt(1, 3))
  161. MovementLoopAddLocation(NPC, 608.71, -34.69, -232.42, 7, 0)
  162. MovementLoopAddLocation(NPC, 605.13, -32.21, -235.94, 7, 0)
  163. MovementLoopAddLocation(NPC, 604.85, -31.73, -236.95, 7, 0)
  164. MovementLoopAddLocation(NPC, 601, -31.24, -241.07, 7, 4)
  165. MovementLoopAddLocation(NPC, 598.62, -31.25, -237.83, 7, 0, "changegrid_Going_Up")
  166. MovementLoopAddLocation(NPC, 592.42, -28.47, -233.91, 7, 0)
  167. MovementLoopAddLocation(NPC, 591.38, -28, -232.71, 7, 0)
  168. MovementLoopAddLocation(NPC, 588.58, -28.04, -230.9, 7, 0)
  169. MovementLoopAddLocation(NPC, 591.24, -26.96, -227.66, 7, 0)
  170. MovementLoopAddLocation(NPC, 593.31, -24.73, -223.83, 7, 0)
  171. MovementLoopAddLocation(NPC, 594.27, -24.79, -221.97, 7, MakeRandomInt(1, 3))
  172. MovementLoopAddLocation(NPC, 591.87, -26.8, -227.7, 7, 0)
  173. MovementLoopAddLocation(NPC, 590.82, -27.73, -229.25, 7, 0)
  174. MovementLoopAddLocation(NPC, 590.01, -28.04, -231.67, 7, 0)
  175. MovementLoopAddLocation(NPC, 590.65, -28, -233.71, 7, 0)
  176. MovementLoopAddLocation(NPC, 593.77, -29.62, -236.14, 7, 0)
  177. MovementLoopAddLocation(NPC, 595.5, -30.55, -236.85, 7, 0)
  178. MovementLoopAddLocation(NPC, 596.96, -31.26, -238.23, 7, 0)
  179. MovementLoopAddLocation(NPC, 599.19, -31.26, -239.09, 7, 0, "changegrid_Going_Down")
  180. MovementLoopAddLocation(NPC, 601.79, -31.24, -239.54, 7, 0)
  181. MovementLoopAddLocation(NPC, 605.05, -31.24, -238.38, 7, 0)
  182. MovementLoopAddLocation(NPC, 607.03, -32.79, -235.65, 7, 0)
  183. MovementLoopAddLocation(NPC, 607.76, -33.65, -234.26, 7, 0)
  184. MovementLoopAddLocation(NPC, 609.26, -34.79, -232.57, 7, 0)
  185. MovementLoopAddLocation(NPC, 610.12, -35.22, -231.39, 7, 0)
  186. MovementLoopAddLocation(NPC, 610.87, -35.21, -230.65, 7, MakeRandomInt(1, 3))
  187. MovementLoopAddLocation(NPC, 608.03, -33.87, -233.96, 7, 0)
  188. MovementLoopAddLocation(NPC, 606.09, -32.56, -235.73, 7, 0)
  189. MovementLoopAddLocation(NPC, 604.56, -31.25, -237.85, 7, 0)
  190. MovementLoopAddLocation(NPC, 602.87, -31.23, -238.94, 7, 0)
  191. MovementLoopAddLocation(NPC, 601.18, -31.26, -239.2, 7, 0)
  192. MovementLoopAddLocation(NPC, 597.3, -31.24, -236.93, 7, 0, "changegrid_Going_Up")
  193. MovementLoopAddLocation(NPC, 595.97, -30.47, -235.83, 7, 0)
  194. MovementLoopAddLocation(NPC, 594.91, -29.82, -235.33, 7, 0)
  195. MovementLoopAddLocation(NPC, 593.88, -29.15, -234.32, 7, 0)
  196. MovementLoopAddLocation(NPC, 591.9, -28.1, -233.45, 7, 0)
  197. MovementLoopAddLocation(NPC, 590.16, -28.04, -231.69, 7, 0)
  198. MovementLoopAddLocation(NPC, 590.01, -28, -229.68, 7, 0)
  199. MovementLoopAddLocation(NPC, 591.34, -26.78, -227.33, 7, 0)
  200. MovementLoopAddLocation(NPC, 592.18, -26.11, -226.33, 7, 0)
  201. MovementLoopAddLocation(NPC, 593, -25.14, -224.47, 7, 0)
  202. MovementLoopAddLocation(NPC, 593.53, -24.7, -223.71, 7, 0)
  203. MovementLoopAddLocation(NPC, 594.15, -24.78, -222.09, 7, MakeRandomInt(1, 3))
  204. MovementLoopAddLocation(NPC, 592.71, -25.95, -226.24, 7, 0)
  205. MovementLoopAddLocation(NPC, 591.76, -26.89, -227.84, 7, 0)
  206. MovementLoopAddLocation(NPC, 591.4, -27.41, -228.96, 7, 0)
  207. MovementLoopAddLocation(NPC, 590.7, -28, -230.53, 7, 0)
  208. MovementLoopAddLocation(NPC, 590.84, -28.02, -231.75, 7, 0)
  209. MovementLoopAddLocation(NPC, 593.13, -28.7, -233.74, 7, 0)
  210. MovementLoopAddLocation(NPC, 594.87, -29.7, -234.74, 7, 0)
  211. MovementLoopAddLocation(NPC, 596.51, -30.91, -236.63, 7, 0)
  212. MovementLoopAddLocation(NPC, 598.85, -31.26, -239.17, 7, 0)
  213. MovementLoopAddLocation(NPC, 600.2, -31.26, -239.98, 7, 0)
  214. MovementLoopAddLocation(NPC, 602.48, -31.23, -240.54, 7, 0, "changegrid_Going_Down")
  215. MovementLoopAddLocation(NPC, 604.72, -31.26, -238.92, 7, 0)
  216. MovementLoopAddLocation(NPC, 606.1, -32.17, -236.67, 7, 0)
  217. MovementLoopAddLocation(NPC, 607.07, -32.83, -235.6, 7, 0)
  218. MovementLoopAddLocation(NPC, 608.09, -34.04, -233.7, 7, 0)
  219. MovementLoopAddLocation(NPC, 611.14, -35.21, -230.32, 7, MakeRandomInt(1, 3))
  220. MovementLoopAddLocation(NPC, 608.4, -34.06, -233.66, 7, 0)
  221. MovementLoopAddLocation(NPC, 605.74, -32.53, -235.6, 7, 0)
  222. MovementLoopAddLocation(NPC, 605.19, -31.9, -236.64, 7, 0)
  223. MovementLoopAddLocation(NPC, 605.1, -31.55, -237.57, 7, 0)
  224. MovementLoopAddLocation(NPC, 603.87, -31.26, -238.77, 7, 0)
  225. MovementLoopAddLocation(NPC, 599.78, -31.26, -238.79, 7, 0, "changegrid_Going_Up")
  226. MovementLoopAddLocation(NPC, 597.13, -31.25, -237.18, 7, 0)
  227. MovementLoopAddLocation(NPC, 595.5, -30.2, -235.55, 7, 0)
  228. MovementLoopAddLocation(NPC, 594.1, -29.36, -234.8, 7, 0)
  229. MovementLoopAddLocation(NPC, 592.3, -28.11, -232.84, 7, 0)
  230. MovementLoopAddLocation(NPC, 591.66, -27.99, -231.54, 7, 0)
  231. MovementLoopAddLocation(NPC, 591.35, -27.55, -229.1, 7, 0)
  232. MovementLoopAddLocation(NPC, 592.04, -26.75, -227.63, 7, 0)
  233. MovementLoopAddLocation(NPC, 593.13, -25.94, -226.51, 7, 0)
  234. MovementLoopAddLocation(NPC, 593.73, -25.07, -224.9, 7, 0)
  235. MovementLoopAddLocation(NPC, 595.16, -24.8, -223.34, 7, 0)
  236. end
  237. --------------------------------------------------------------------------------------
  238. -- NPC Change Grid
  239. --------------------------------------------------------------------------------------
  240. function changegrid_Going_Up(NPC)
  241. SetGridID(NPC, 677951544)
  242. end
  243. function changegrid_Going_Down(NPC)
  244. SetGridID(NPC, 1548185851)
  245. end