arat133772655.lua 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/arat133772655.lua
  3. Script Purpose : Waypoint Path for arat133772655.lua
  4. Script Author : Rylec
  5. Script Date : 10-04-2021 07:32: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, 599.22, -31.26, -239.68, 2, MakeRandomInt(2, 6))
  19. MovementLoopAddLocation(NPC, 601.06, -31.24, -240.91, 2, MakeRandomInt(1, 3), "changegrid_Going_Down")
  20. MovementLoopAddLocation(NPC, 598.28, -31.25, -237.56, 7, 0, "changegrid_Going_Up")
  21. MovementLoopAddLocation(NPC, 594.19, -29.42, -234.83, 7, 0)
  22. MovementLoopAddLocation(NPC, 592.9, -28.58, -233.7, 7, 0)
  23. MovementLoopAddLocation(NPC, 588.99, -28.06, -231.19, 7, 0)
  24. MovementLoopAddLocation(NPC, 591.65, -26.85, -227.7, 7, 0)
  25. MovementLoopAddLocation(NPC, 593.05, -25.25, -224.82, 7, 0)
  26. MovementLoopAddLocation(NPC, 593.9, -24.71, -223.82, 7, 0)
  27. MovementLoopAddLocation(NPC, 594.93, -24.85, -221.92, 7, MakeRandomInt(1, 3))
  28. MovementLoopAddLocation(NPC, 593.45, -24.7, -223.5, 7, 0)
  29. MovementLoopAddLocation(NPC, 591.34, -26.65, -227.04, 7, 0)
  30. MovementLoopAddLocation(NPC, 590.38, -27.47, -228.3, 7, 0)
  31. MovementLoopAddLocation(NPC, 589.25, -28.03, -230.31, 7, 0)
  32. MovementLoopAddLocation(NPC, 589.74, -28.01, -233.06, 7, 0)
  33. MovementLoopAddLocation(NPC, 591.94, -28.42, -234.48, 7, 0)
  34. MovementLoopAddLocation(NPC, 594.13, -29.52, -235.16, 7, 0)
  35. MovementLoopAddLocation(NPC, 595.84, -30.65, -236.69, 7, 0)
  36. MovementLoopAddLocation(NPC, 599.85, -31.25, -238.05, 7, 0)
  37. MovementLoopAddLocation(NPC, 601.89, -31.24, -239.72, 7, 0, "changegrid_Going_Down")
  38. MovementLoopAddLocation(NPC, 603.59, -31.24, -239.44, 7, 0)
  39. MovementLoopAddLocation(NPC, 605.6, -32.11, -236.47, 7, 0)
  40. MovementLoopAddLocation(NPC, 608.23, -34.05, -233.67, 7, 0)
  41. MovementLoopAddLocation(NPC, 609.2, -34.9, -232.25, 7, 0)
  42. MovementLoopAddLocation(NPC, 611.03, -35.21, -230.14, 7, 0)
  43. MovementLoopAddLocation(NPC, 611.73, -35.22, -229.02, 7, MakeRandomInt(1, 3))
  44. MovementLoopAddLocation(NPC, 609.91, -35.25, -230.14, 7, 0)
  45. MovementLoopAddLocation(NPC, 607.68, -33.52, -234.55, 7, 0)
  46. MovementLoopAddLocation(NPC, 604.66, -31.27, -238.75, 7, 0)
  47. MovementLoopAddLocation(NPC, 602.59, -31.21, -241.79, 7, 1)
  48. MovementLoopAddLocation(NPC, 594.73, -29.99, -235.99, 7, 0, "changegrid_Going_Up")
  49. MovementLoopAddLocation(NPC, 593.74, -29.51, -235.64, 7, 0)
  50. MovementLoopAddLocation(NPC, 591.99, -28.32, -234, 7, 0)
  51. MovementLoopAddLocation(NPC, 590.99, -28, -233.38, 7, 0)
  52. MovementLoopAddLocation(NPC, 588.74, -28.01, -232.65, 7, 0)
  53. MovementLoopAddLocation(NPC, 589.56, -28, -229.32, 7, 0)
  54. MovementLoopAddLocation(NPC, 591.28, -26.55, -226.78, 7, 0)
  55. MovementLoopAddLocation(NPC, 591.94, -26.1, -226.13, 7, 0)
  56. MovementLoopAddLocation(NPC, 592.51, -25.31, -224.66, 7, 0)
  57. MovementLoopAddLocation(NPC, 593.75, -24.74, -223.28, 7, 0)
  58. MovementLoopAddLocation(NPC, 594.34, -24.78, -221.01, 7, MakeRandomInt(1, 3))
  59. MovementLoopAddLocation(NPC, 593.93, -24.76, -223.01, 7, 0)
  60. MovementLoopAddLocation(NPC, 592.63, -25.78, -225.78, 7, 0)
  61. MovementLoopAddLocation(NPC, 591.16, -26.5, -226.49, 7, 0)
  62. MovementLoopAddLocation(NPC, 589.84, -27.76, -228.59, 7, 0)
  63. MovementLoopAddLocation(NPC, 588.35, -28, -230.16, 7, 0)
  64. MovementLoopAddLocation(NPC, 591.11, -28.01, -232.84, 7, 0)
  65. MovementLoopAddLocation(NPC, 593.68, -28.92, -233.88, 7, 0)
  66. MovementLoopAddLocation(NPC, 597.33, -31.25, -237.15, 7, 0)
  67. MovementLoopAddLocation(NPC, 598.45, -31.25, -237.83, 7, 0)
  68. MovementLoopAddLocation(NPC, 599.74, -31.25, -238.07, 7, 0)
  69. MovementLoopAddLocation(NPC, 600.9, -31.26, -238.93, 7, 0)
  70. MovementLoopAddLocation(NPC, 603.49, -31.25, -238.88, 7, 0, "changegrid_Going_Down")
  71. MovementLoopAddLocation(NPC, 607.77, -34.07, -233.25, 7, 0)
  72. MovementLoopAddLocation(NPC, 609.72, -35.21, -231.82, 7, 0)
  73. MovementLoopAddLocation(NPC, 609.64, -35.26, -230.1, 7, MakeRandomInt(1, 3))
  74. MovementLoopAddLocation(NPC, 609.68, -35.05, -232.11, 7, 0)
  75. MovementLoopAddLocation(NPC, 607.63, -33.67, -234.13, 7, 0)
  76. MovementLoopAddLocation(NPC, 606.19, -32.96, -234.8, 7, 0)
  77. MovementLoopAddLocation(NPC, 604.98, -31.99, -236.39, 7, 0)
  78. MovementLoopAddLocation(NPC, 604.61, -31.3, -237.65, 7, 0)
  79. MovementLoopAddLocation(NPC, 602.92, -31.24, -238.73, 7, 0)
  80. MovementLoopAddLocation(NPC, 601.21, -31.26, -238.89, 7, 0, "changegrid_Going_Up")
  81. MovementLoopAddLocation(NPC, 598.1, -31.24, -237.39, 7, 0)
  82. MovementLoopAddLocation(NPC, 597.1, -31.06, -236.37, 7, 0)
  83. MovementLoopAddLocation(NPC, 595.34, -30.16, -235.71, 7, 0)
  84. MovementLoopAddLocation(NPC, 594.3, -29.44, -234.7, 7, 0)
  85. MovementLoopAddLocation(NPC, 593.53, -29.06, -234.46, 7, 0)
  86. MovementLoopAddLocation(NPC, 592.65, -28.45, -233.53, 7, 0)
  87. MovementLoopAddLocation(NPC, 591.02, -28.01, -232.95, 7, 0)
  88. MovementLoopAddLocation(NPC, 590.26, -28.02, -231.09, 7, 0)
  89. MovementLoopAddLocation(NPC, 590.91, -26.93, -227.42, 7, 0)
  90. MovementLoopAddLocation(NPC, 595.07, -24.85, -221.07, 7, MakeRandomInt(1, 3))
  91. MovementLoopAddLocation(NPC, 594.67, -24.82, -222.18, 7, 0)
  92. MovementLoopAddLocation(NPC, 591.8, -26.79, -227.6, 7, 0)
  93. MovementLoopAddLocation(NPC, 591.65, -27.02, -228.06, 7, 0)
  94. MovementLoopAddLocation(NPC, 590.16, -28.01, -230.21, 7, 0)
  95. MovementLoopAddLocation(NPC, 589.87, -28.04, -231.92, 7, 0)
  96. MovementLoopAddLocation(NPC, 590.73, -28.01, -232.91, 7, 0)
  97. MovementLoopAddLocation(NPC, 592.12, -28.32, -233.82, 7, 0)
  98. MovementLoopAddLocation(NPC, 592.78, -28.61, -234.03, 7, 0)
  99. MovementLoopAddLocation(NPC, 594.86, -30.01, -235.84, 7, 0)
  100. MovementLoopAddLocation(NPC, 595.43, -30.29, -235.96, 7, 0)
  101. MovementLoopAddLocation(NPC, 598.94, -31.26, -238.89, 7, 0)
  102. MovementLoopAddLocation(NPC, 602.91, -31.23, -238.94, 7, 0, "changegrid_Going_Down")
  103. MovementLoopAddLocation(NPC, 605.53, -32.09, -236.49, 7, 0)
  104. MovementLoopAddLocation(NPC, 606.14, -32.74, -235.34, 7, 0)
  105. MovementLoopAddLocation(NPC, 608.01, -34.18, -233.14, 7, 0)
  106. MovementLoopAddLocation(NPC, 609.72, -35.18, -231.86, 7, 0)
  107. MovementLoopAddLocation(NPC, 611.64, -35.23, -228.4, 7, MakeRandomInt(1, 3))
  108. MovementLoopAddLocation(NPC, 609.9, -35.13, -232.03, 7, 0)
  109. MovementLoopAddLocation(NPC, 607.15, -33.32, -234.58, 7, 0)
  110. MovementLoopAddLocation(NPC, 605.65, -32.57, -235.41, 7, 0)
  111. MovementLoopAddLocation(NPC, 605.08, -32.04, -236.29, 7, 0)
  112. MovementLoopAddLocation(NPC, 604.77, -31.48, -237.43, 7, 0)
  113. MovementLoopAddLocation(NPC, 602.83, -31.22, -239.2, 7, 0)
  114. MovementLoopAddLocation(NPC, 599.22, -31.26, -239.68, 2, MakeRandomInt(2, 6))
  115. MovementLoopAddLocation(NPC, 601.06, -31.24, -240.91, 2, MakeRandomInt(2, 6), "changegrid_Going_Down")
  116. MovementLoopAddLocation(NPC, 598.28, -31.25, -237.56, 2, 0, "changegrid_Going_Up")
  117. MovementLoopAddLocation(NPC, 594.19, -29.42, -234.83, 2, 0)
  118. MovementLoopAddLocation(NPC, 592.9, -28.58, -233.7, 2, 0)
  119. MovementLoopAddLocation(NPC, 588.99, -28.06, -231.19, 2, 1)
  120. MovementLoopAddLocation(NPC, 591.65, -26.85, -227.7, 2, 0)
  121. MovementLoopAddLocation(NPC, 593.05, -25.25, -224.82, 2, 0)
  122. MovementLoopAddLocation(NPC, 593.9, -24.71, -223.82, 2, 0)
  123. MovementLoopAddLocation(NPC, 594.93, -24.85, -221.92, 2, MakeRandomInt(2, 6))
  124. MovementLoopAddLocation(NPC, 593.45, -24.7, -223.5, 2, 0)
  125. MovementLoopAddLocation(NPC, 591.34, -26.65, -227.04, 2, 0)
  126. MovementLoopAddLocation(NPC, 590.38, -27.47, -228.3, 2, 0)
  127. MovementLoopAddLocation(NPC, 589.25, -28.03, -230.31, 2, 0)
  128. MovementLoopAddLocation(NPC, 589.74, -28.01, -233.06, 2, 0)
  129. MovementLoopAddLocation(NPC, 591.94, -28.42, -234.48, 2, 0)
  130. MovementLoopAddLocation(NPC, 594.13, -29.52, -235.16, 2, 0)
  131. MovementLoopAddLocation(NPC, 595.84, -30.65, -236.69, 2, 0)
  132. MovementLoopAddLocation(NPC, 599.85, -31.25, -238.05, 2, 0)
  133. MovementLoopAddLocation(NPC, 601.89, -31.24, -239.72, 2, 0, "changegrid_Going_Down")
  134. MovementLoopAddLocation(NPC, 603.59, -31.24, -239.44, 2, 0)
  135. MovementLoopAddLocation(NPC, 605.6, -32.11, -236.47, 2, 0)
  136. MovementLoopAddLocation(NPC, 608.23, -34.05, -233.67, 2, 0)
  137. MovementLoopAddLocation(NPC, 609.2, -34.9, -232.25, 2, 0)
  138. MovementLoopAddLocation(NPC, 611.03, -35.21, -230.14, 2, 0)
  139. MovementLoopAddLocation(NPC, 611.73, -35.22, -229.02, 2, MakeRandomInt(2, 6))
  140. MovementLoopAddLocation(NPC, 609.91, -35.25, -230.14, 2, 0)
  141. MovementLoopAddLocation(NPC, 607.68, -33.52, -234.55, 2, 0)
  142. MovementLoopAddLocation(NPC, 604.66, -31.27, -238.75, 2, 0)
  143. MovementLoopAddLocation(NPC, 602.59, -31.21, -241.79, 2, 1)
  144. MovementLoopAddLocation(NPC, 594.73, -29.99, -235.99, 2, 0, "changegrid_Going_Up")
  145. MovementLoopAddLocation(NPC, 593.74, -29.51, -235.64, 2, 0)
  146. MovementLoopAddLocation(NPC, 591.99, -28.32, -234, 2, 0)
  147. MovementLoopAddLocation(NPC, 590.99, -28, -233.38, 2, 0)
  148. MovementLoopAddLocation(NPC, 588.74, -28.01, -232.65, 2, 1)
  149. MovementLoopAddLocation(NPC, 589.56, -28, -229.32, 2, 0)
  150. MovementLoopAddLocation(NPC, 591.28, -26.55, -226.78, 2, 0)
  151. MovementLoopAddLocation(NPC, 591.94, -26.1, -226.13, 2, 0)
  152. MovementLoopAddLocation(NPC, 592.51, -25.31, -224.66, 2, 0)
  153. MovementLoopAddLocation(NPC, 593.75, -24.74, -223.28, 2, 0)
  154. MovementLoopAddLocation(NPC, 594.34, -24.78, -221.01, 2, MakeRandomInt(2, 6))
  155. MovementLoopAddLocation(NPC, 593.93, -24.76, -223.01, 2, 0)
  156. MovementLoopAddLocation(NPC, 592.63, -25.78, -225.78, 2, 0)
  157. MovementLoopAddLocation(NPC, 591.16, -26.5, -226.49, 2, 0)
  158. MovementLoopAddLocation(NPC, 589.84, -27.76, -228.59, 2, 0)
  159. MovementLoopAddLocation(NPC, 588.35, -28, -230.16, 2, 4)
  160. MovementLoopAddLocation(NPC, 591.11, -28.01, -232.84, 2, 0)
  161. MovementLoopAddLocation(NPC, 593.68, -28.92, -233.88, 2, 0)
  162. MovementLoopAddLocation(NPC, 597.33, -31.25, -237.15, 2, 0)
  163. MovementLoopAddLocation(NPC, 598.45, -31.25, -237.83, 2, 0)
  164. MovementLoopAddLocation(NPC, 599.74, -31.25, -238.07, 2, 0)
  165. MovementLoopAddLocation(NPC, 600.9, -31.26, -238.93, 2, 0)
  166. MovementLoopAddLocation(NPC, 603.49, -31.25, -238.88, 2, 0, "changegrid_Going_Down")
  167. MovementLoopAddLocation(NPC, 607.77, -34.07, -233.25, 2, 0)
  168. MovementLoopAddLocation(NPC, 609.72, -35.21, -231.82, 2, 0)
  169. MovementLoopAddLocation(NPC, 609.64, -35.26, -230.1, 2, MakeRandomInt(2, 6))
  170. MovementLoopAddLocation(NPC, 609.68, -35.05, -232.11, 2, 0)
  171. MovementLoopAddLocation(NPC, 607.63, -33.67, -234.13, 2, 0)
  172. MovementLoopAddLocation(NPC, 606.19, -32.96, -234.8, 2, 0)
  173. MovementLoopAddLocation(NPC, 604.98, -31.99, -236.39, 2, 0)
  174. MovementLoopAddLocation(NPC, 604.61, -31.3, -237.65, 2, 0)
  175. MovementLoopAddLocation(NPC, 602.92, -31.24, -238.73, 2, 0)
  176. MovementLoopAddLocation(NPC, 601.21, -31.26, -238.89, 2, 0, "changegrid_Going_Up")
  177. MovementLoopAddLocation(NPC, 598.1, -31.24, -237.39, 2, 0)
  178. MovementLoopAddLocation(NPC, 597.1, -31.06, -236.37, 2, 0)
  179. MovementLoopAddLocation(NPC, 595.34, -30.16, -235.71, 2, 0)
  180. MovementLoopAddLocation(NPC, 594.3, -29.44, -234.7, 2, 0)
  181. MovementLoopAddLocation(NPC, 593.53, -29.06, -234.46, 2, 0)
  182. MovementLoopAddLocation(NPC, 592.65, -28.45, -233.53, 2, 0)
  183. MovementLoopAddLocation(NPC, 591.02, -28.01, -232.95, 2, 0)
  184. MovementLoopAddLocation(NPC, 590.26, -28.02, -231.09, 2, 0)
  185. MovementLoopAddLocation(NPC, 590.91, -26.93, -227.42, 2, 0)
  186. MovementLoopAddLocation(NPC, 595.07, -24.85, -221.07, 2, MakeRandomInt(2, 6))
  187. MovementLoopAddLocation(NPC, 594.67, -24.82, -222.18, 2, 0)
  188. MovementLoopAddLocation(NPC, 591.8, -26.79, -227.6, 2, 0)
  189. MovementLoopAddLocation(NPC, 591.65, -27.02, -228.06, 2, 0)
  190. MovementLoopAddLocation(NPC, 590.16, -28.01, -230.21, 2, 0)
  191. MovementLoopAddLocation(NPC, 589.87, -28.04, -231.92, 2, 0)
  192. MovementLoopAddLocation(NPC, 590.73, -28.01, -232.91, 2, 0)
  193. MovementLoopAddLocation(NPC, 592.12, -28.32, -233.82, 2, 0)
  194. MovementLoopAddLocation(NPC, 592.78, -28.61, -234.03, 2, 0)
  195. MovementLoopAddLocation(NPC, 594.86, -30.01, -235.84, 2, 0)
  196. MovementLoopAddLocation(NPC, 595.43, -30.29, -235.96, 2, 0)
  197. MovementLoopAddLocation(NPC, 598.94, -31.26, -238.89, 2, 0)
  198. MovementLoopAddLocation(NPC, 602.91, -31.23, -238.94, 2, 0, "changegrid_Going_Down")
  199. MovementLoopAddLocation(NPC, 605.53, -32.09, -236.49, 2, 0)
  200. MovementLoopAddLocation(NPC, 606.14, -32.74, -235.34, 2, 0)
  201. MovementLoopAddLocation(NPC, 608.01, -34.18, -233.14, 2, 0)
  202. MovementLoopAddLocation(NPC, 609.72, -35.18, -231.86, 2, 0)
  203. MovementLoopAddLocation(NPC, 611.64, -35.23, -228.4, 2, MakeRandomInt(2, 6))
  204. MovementLoopAddLocation(NPC, 609.9, -35.13, -232.03, 2, 0)
  205. MovementLoopAddLocation(NPC, 607.15, -33.32, -234.58, 2, 0)
  206. MovementLoopAddLocation(NPC, 605.65, -32.57, -235.41, 2, 0)
  207. MovementLoopAddLocation(NPC, 605.08, -32.04, -236.29, 2, 0)
  208. MovementLoopAddLocation(NPC, 604.77, -31.48, -237.43, 2, 0)
  209. MovementLoopAddLocation(NPC, 602.83, -31.22, -239.2, 2, 0)
  210. end
  211. --------------------------------------------------------------------------------------
  212. -- NPC Change Grid
  213. --------------------------------------------------------------------------------------
  214. function changegrid_Going_Up(NPC)
  215. SetGridID(NPC, 677951544)
  216. end
  217. function changegrid_Going_Down(NPC)
  218. SetGridID(NPC, 1548185851)
  219. end