Ro.lua 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. --[[
  2. Script Name : Ro.lua
  3. Script Purpose : Waypoint Path for Ro.lua
  4. Script Author : Cynnar
  5. Script Date : 6/24/2018 12:06:55 PM
  6. Script Notes : <special-instructions>
  7. --]]
  8. require "SpawnScripts/Generic/CombatModule"
  9. local AttackTimer = false --TIMER FOR ATTACK RESPONSE (ATTACKS KERRAN)
  10. function spawn(NPC)
  11. waypoints(NPC)
  12. SetPlayerProximityFunction(NPC, 4, "InRange", "LeaveRange")
  13. end
  14. function InRange(NPC, Spawn) --FOLLOW TARGET SCRIPT IS TOO SLOW. DOG WALKS, BUT SPEED IS NOT ADJUSTABLE.
  15. if not IsInCombat(NPC) then
  16. if GetRace(Spawn)==11 or GetFactionAmount(Spawn,12)<-10000 then --KERRAN RESPONSE
  17. if AttackTimer == false then
  18. if FollowTimer == false then
  19. FollowTimer = true
  20. FaceTarget(NPC, Spawn)
  21. PlayFlavor(NPC, "", "", "attack", 0, 0)
  22. local choice = math.random(1, 2)
  23. if choice == 1 then
  24. SendMessage(Spawn, "Ro snarls and eyes you closely.")
  25. elseif choice == 2 then
  26. SendMessage(Spawn, "Ro leers at you with a quivering jowl.")
  27. end
  28. AddTimer(NPC,10000,"ResetFollow",1,Spawn)
  29. AddTimer(NPC,45000,"ResetFollowTimer",1,Spawn)
  30. end
  31. end
  32. end
  33. end
  34. end
  35. function ResetFollow(NPC)
  36. if IsFollowing(NPC) then
  37. SetTarget(NPC,nil)
  38. ToggleFollow(NPC)
  39. AttackTimer = false
  40. end
  41. end
  42. function ResetFollowTimer(NPC)
  43. FollowTimer = false
  44. SetTarget(NPC,nil)
  45. end
  46. function respawn(NPC)
  47. end
  48. function waypoints(NPC)
  49. MovementLoopAddLocation(NPC, 31.89, 5.25, -13.94, 2, MakeRandomInt(0,3))
  50. MovementLoopAddLocation(NPC, 39.12, 5.25, -20.88, 2, MakeRandomInt(0,3))
  51. MovementLoopAddLocation(NPC, 45.32, 5.25, -18.9, 2, MakeRandomInt(0,3))
  52. MovementLoopAddLocation(NPC, 51.19, 5, -23.3, 2, MakeRandomInt(0,3))
  53. MovementLoopAddLocation(NPC, 57.85, 5, -22.87, 2, MakeRandomInt(0,3))
  54. MovementLoopAddLocation(NPC, 58.4, 5, -23.09, 2, MakeRandomInt(0,3))
  55. MovementLoopAddLocation(NPC, 58.69, 5, -22.28, 2, MakeRandomInt(0,3))
  56. MovementLoopAddLocation(NPC, 54.85, 4.23, -6.04, 2, MakeRandomInt(0,3))
  57. MovementLoopAddLocation(NPC, 44.46, 3.5, -1.09, 2, MakeRandomInt(0,3))
  58. MovementLoopAddLocation(NPC, 29.14, 2, 16.16, 2, MakeRandomInt(0,3))
  59. MovementLoopAddLocation(NPC, 21.76, 2, 17.66, 2, MakeRandomInt(0,3))
  60. MovementLoopAddLocation(NPC, 21.6, 2, 18.49, 2, MakeRandomInt(0,3))
  61. MovementLoopAddLocation(NPC, 19.53, 2, 18.84, 2, MakeRandomInt(0,3))
  62. MovementLoopAddLocation(NPC, 12.68, 3.5, 1.59, 2, MakeRandomInt(0,3))
  63. MovementLoopAddLocation(NPC, 12.97, 3.62, -1.71, 2, MakeRandomInt(0,3))
  64. MovementLoopAddLocation(NPC, 9.07, 3.5, -3.65, 2, MakeRandomInt(0,3))
  65. MovementLoopAddLocation(NPC, 6.06, 3.5, -3.35, 2, MakeRandomInt(0,3))
  66. MovementLoopAddLocation(NPC, 3.66, 3.5, -4.42, 2, MakeRandomInt(0,3))
  67. MovementLoopAddLocation(NPC, 4.28, 3.5, -5.76, 2, MakeRandomInt(0,3))
  68. MovementLoopAddLocation(NPC, 3.9, 3.5, -8.04, 2, MakeRandomInt(0,3))
  69. MovementLoopAddLocation(NPC, 6.76, 3.5, -9.58, 2, MakeRandomInt(0,3))
  70. MovementLoopAddLocation(NPC, 8.22, 3.5, -10.58, 2, MakeRandomInt(0,3))
  71. MovementLoopAddLocation(NPC, 20.09, 5, -24.6, 2, MakeRandomInt(0,3))
  72. MovementLoopAddLocation(NPC, 23.36, 5.25, -27.31, 2, MakeRandomInt(0,3))
  73. MovementLoopAddLocation(NPC, 25.49, 5.25, -31.64, 2, MakeRandomInt(0,3))
  74. MovementLoopAddLocation(NPC, 24.52, 5.25, -31.48, 2, MakeRandomInt(0,3))
  75. MovementLoopAddLocation(NPC, 23.62, 5.25, -34.22, 2, MakeRandomInt(0,3))
  76. MovementLoopAddLocation(NPC, 12.21, 4.75, -27.85, 2, MakeRandomInt(0,3))
  77. MovementLoopAddLocation(NPC, 9.67, 4.93, -29.19, 2, MakeRandomInt(0,3))
  78. MovementLoopAddLocation(NPC, 11.36, 9.07, -37.79, 2, MakeRandomInt(0,3))
  79. MovementLoopAddLocation(NPC, 7.93, 8.48, -37.17, 2, MakeRandomInt(0,3))
  80. MovementLoopAddLocation(NPC, 4.76, 5, -30.44, 2, MakeRandomInt(0,3))
  81. MovementLoopAddLocation(NPC, -2.63, 5, -36.63, 2, MakeRandomInt(0,3))
  82. MovementLoopAddLocation(NPC, 1.2, 5, -42.64, 2, MakeRandomInt(0,3))
  83. MovementLoopAddLocation(NPC, 2.48, 5, -41.18, 2, MakeRandomInt(0,3))
  84. MovementLoopAddLocation(NPC, 2.13, 5, -39.2, 2, MakeRandomInt(0,3))
  85. MovementLoopAddLocation(NPC, 3.5, 5, -41.23, 2, MakeRandomInt(0,3))
  86. MovementLoopAddLocation(NPC, 3.78, 5, -42.99, 2, MakeRandomInt(0,3))
  87. MovementLoopAddLocation(NPC, -5.63, 4, -49.31, 2, MakeRandomInt(0,3))
  88. MovementLoopAddLocation(NPC, -9.08, 4, -50.88, 2, MakeRandomInt(0,3))
  89. MovementLoopAddLocation(NPC, -10.09, 4.14, -52.67, 2, MakeRandomInt(0,3))
  90. MovementLoopAddLocation(NPC, -13.84, 4.35, -59.91, 2, MakeRandomInt(0,3))
  91. MovementLoopAddLocation(NPC, -15.72, 4.18, -64.15, 2, MakeRandomInt(0,3))
  92. MovementLoopAddLocation(NPC, -13.52, 4.18, -65.1, 2, MakeRandomInt(0,3))
  93. MovementLoopAddLocation(NPC, -12.5, 4.18, -66.55, 2, MakeRandomInt(0,3))
  94. MovementLoopAddLocation(NPC, -6.27, 4.18, -69.28, 2, MakeRandomInt(0,3))
  95. MovementLoopAddLocation(NPC, -8.27, 4.18, -69.36, 2, MakeRandomInt(0,3))
  96. MovementLoopAddLocation(NPC, -13.49, 4.18, -67.45, 2, MakeRandomInt(0,3))
  97. MovementLoopAddLocation(NPC, -17.19, 4.18, -61.48, 2, MakeRandomInt(0,3))
  98. MovementLoopAddLocation(NPC, -15.69, 4.18, -60.48, 2, MakeRandomInt(0,3))
  99. MovementLoopAddLocation(NPC, -14.42, 4.45, -58.83, 2, MakeRandomInt(0,3))
  100. MovementLoopAddLocation(NPC, -10.21, 4, -50.77, 2, MakeRandomInt(0,3))
  101. MovementLoopAddLocation(NPC, -17.42, 4, -45.27, 2, MakeRandomInt(0,3))
  102. MovementLoopAddLocation(NPC, -18.65, 4, -42.65, 2, MakeRandomInt(0,3))
  103. MovementLoopAddLocation(NPC, -17.96, 4, -41.09, 2, MakeRandomInt(0,3))
  104. MovementLoopAddLocation(NPC, -16.12, 4, -40.04, 2, MakeRandomInt(0,3))
  105. MovementLoopAddLocation(NPC, -19.01, 4, -41.14, 2, MakeRandomInt(0,3))
  106. MovementLoopAddLocation(NPC, -20.76, 4, -38.65, 2, MakeRandomInt(0,3))
  107. MovementLoopAddLocation(NPC, -20.24, 3, -26.52, 2, MakeRandomInt(0,3))
  108. MovementLoopAddLocation(NPC, -22.28, 2.75, -23.44, 2, MakeRandomInt(0,3))
  109. MovementLoopAddLocation(NPC, -21.15, 2, -5.33, 2, MakeRandomInt(0,3))
  110. MovementLoopAddLocation(NPC, -17.39, 2, -3.77, 2, MakeRandomInt(0,3))
  111. MovementLoopAddLocation(NPC, -18.6, 2, 2.82, 2, MakeRandomInt(0,3))
  112. MovementLoopAddLocation(NPC, -19.16, 1.93, 3.8, 2, MakeRandomInt(0,3))
  113. MovementLoopAddLocation(NPC, -20.82, 1.86, 3.45, 2, MakeRandomInt(0,3))
  114. MovementLoopAddLocation(NPC, -26.74, -0.75, 3.32, 2, MakeRandomInt(0,3))
  115. MovementLoopAddLocation(NPC, -27.73, -0.75, 4, 2, MakeRandomInt(0,3))
  116. MovementLoopAddLocation(NPC, -27.18, -0.75, 4.97, 2, MakeRandomInt(0,3))
  117. MovementLoopAddLocation(NPC, -19.11, -4.9, 10.33, 2, MakeRandomInt(0,3))
  118. MovementLoopAddLocation(NPC, -10.74, -6, 28.45, 2, MakeRandomInt(0,3))
  119. MovementLoopAddLocation(NPC, -10.09, -6, 31.7, 2, MakeRandomInt(0,3))
  120. MovementLoopAddLocation(NPC, -8.78, -6, 32.02, 2, MakeRandomInt(0,3))
  121. MovementLoopAddLocation(NPC, -11.76, -7, 46.34, 2, MakeRandomInt(0,3))
  122. MovementLoopAddLocation(NPC, -10.38, -7, 52.35, 2, MakeRandomInt(0,3))
  123. MovementLoopAddLocation(NPC, -20.36, -7, 59.75, 2, MakeRandomInt(0,3))
  124. MovementLoopAddLocation(NPC, -28.29, -7, 62.64, 2, MakeRandomInt(0,3))
  125. MovementLoopAddLocation(NPC, -29.92, -7, 61.09, 2, MakeRandomInt(0,3))
  126. MovementLoopAddLocation(NPC, -28, -7, 58.89, 2, MakeRandomInt(0,3))
  127. MovementLoopAddLocation(NPC, -29.5, -7, 59.88, 2, MakeRandomInt(0,3))
  128. MovementLoopAddLocation(NPC, -27.3, -7, 64.82, 2, MakeRandomInt(0,3))
  129. MovementLoopAddLocation(NPC, -17.91, -7, 64.97, 2, MakeRandomInt(0,3))
  130. MovementLoopAddLocation(NPC, -16.2, -7, 58.23, 2, MakeRandomInt(0,3))
  131. MovementLoopAddLocation(NPC, -5.41, -7, 60.05, 2, MakeRandomInt(0,3))
  132. MovementLoopAddLocation(NPC, -4.88, -7, 69.88, 2, MakeRandomInt(0,3))
  133. MovementLoopAddLocation(NPC, -2.36, -7, 72.47, 2, MakeRandomInt(0,3))
  134. MovementLoopAddLocation(NPC, -0.2, -7, 71.85, 2, MakeRandomInt(0,3))
  135. MovementLoopAddLocation(NPC, 1.37, -7, 68.81, 2, MakeRandomInt(0,3))
  136. MovementLoopAddLocation(NPC, 1.22, -7, 65.93, 2, MakeRandomInt(0,3))
  137. MovementLoopAddLocation(NPC, 1.08, -7, 61.67, 2, MakeRandomInt(0,3))
  138. MovementLoopAddLocation(NPC, 5.09, -7, 58.3, 2, MakeRandomInt(0,3))
  139. MovementLoopAddLocation(NPC, 9.73, -0.07, 76.07, 2, MakeRandomInt(0,3))
  140. MovementLoopAddLocation(NPC, 11.93, -0.12, 75.38, 2, MakeRandomInt(0,3))
  141. MovementLoopAddLocation(NPC, 14.12, -0.8, 72.82, 2, MakeRandomInt(0,3))
  142. MovementLoopAddLocation(NPC, 14.99, -2.13, 70.12, 2, MakeRandomInt(0,3))
  143. MovementLoopAddLocation(NPC, 16.25, -2.88, 68.48, 2, MakeRandomInt(0,3))
  144. MovementLoopAddLocation(NPC, 15.86, -4.25, 65.81, 2, MakeRandomInt(0,3))
  145. MovementLoopAddLocation(NPC, 17.35, -6, 62.35, 2, MakeRandomInt(0,3))
  146. MovementLoopAddLocation(NPC, 18.89, -7, 58.81, 2, MakeRandomInt(0,3))
  147. MovementLoopAddLocation(NPC, 20.95, -7, 60.44, 2, MakeRandomInt(0,3))
  148. MovementLoopAddLocation(NPC, 22.46, -7.07, 62.96, 2, MakeRandomInt(0,3))
  149. MovementLoopAddLocation(NPC, 23.77, -7.18, 66.11, 2, MakeRandomInt(0,3))
  150. MovementLoopAddLocation(NPC, 25.7, -7.24, 72.83, 2, MakeRandomInt(0,3))
  151. MovementLoopAddLocation(NPC, 23.85, -7.18, 73.26, 2, MakeRandomInt(0,3))
  152. MovementLoopAddLocation(NPC, 22.32, -7.06, 71.8, 2, MakeRandomInt(0,3))
  153. MovementLoopAddLocation(NPC, 23.21, -7.13, 69.35, 2, MakeRandomInt(0,3))
  154. MovementLoopAddLocation(NPC, 26.34, -7, 57.37, 2, MakeRandomInt(0,3))
  155. MovementLoopAddLocation(NPC, 12.3, -6, 41.11, 2, MakeRandomInt(0,3))
  156. MovementLoopAddLocation(NPC, 11.81, -6, 39.58, 2, MakeRandomInt(0,3))
  157. MovementLoopAddLocation(NPC, 13.49, -6, 39.86, 2, MakeRandomInt(0,3))
  158. MovementLoopAddLocation(NPC, 18.17, -5.95, 35.19, 2, MakeRandomInt(0,3))
  159. MovementLoopAddLocation(NPC, 26.94, -6, 35.45, 2, MakeRandomInt(0,3))
  160. MovementLoopAddLocation(NPC, 26.08, -6, 38.73, 2, MakeRandomInt(0,3))
  161. MovementLoopAddLocation(NPC, 40.11, -5, 37.63, 2, MakeRandomInt(0,3))
  162. MovementLoopAddLocation(NPC, 50.26, -5, 35.59, 2, MakeRandomInt(0,3))
  163. MovementLoopAddLocation(NPC, 51.44, -5, 40.02, 2, MakeRandomInt(0,3))
  164. MovementLoopAddLocation(NPC, 48.81, -5, 40.49, 2, MakeRandomInt(0,3))
  165. MovementLoopAddLocation(NPC, 48.14, -5.25, 44.05, 2, MakeRandomInt(0,3))
  166. MovementLoopAddLocation(NPC, 49.21, -6.75, 50.11, 2, MakeRandomInt(0,3))
  167. MovementLoopAddLocation(NPC, 55.7, -7, 55.11, 2, MakeRandomInt(0,3))
  168. MovementLoopAddLocation(NPC, 53.09, -7, 68.61, 2, MakeRandomInt(0,3))
  169. MovementLoopAddLocation(NPC, 58.77, -7.05, 86.46, 2, MakeRandomInt(0,3))
  170. MovementLoopAddLocation(NPC, 64.03, -7.08, 92.59, 2, MakeRandomInt(0,3))
  171. MovementLoopAddLocation(NPC, 74.3, -7.08, 105.02, 2, MakeRandomInt(0,3))
  172. MovementLoopAddLocation(NPC, 69.89, -7.08, 109.34, 2, MakeRandomInt(0,3))
  173. MovementLoopAddLocation(NPC, 63.19, -7.08, 111.79, 2, MakeRandomInt(0,3))
  174. MovementLoopAddLocation(NPC, 59.29, -7.08, 108.61, 2, MakeRandomInt(0,3))
  175. MovementLoopAddLocation(NPC, 57.09, -7.08, 99.65, 2, MakeRandomInt(0,3))
  176. MovementLoopAddLocation(NPC, 59.29, -7.08, 108.61, 2, MakeRandomInt(0,3))
  177. MovementLoopAddLocation(NPC, 63.19, -7.08, 111.79, 2, MakeRandomInt(0,3))
  178. MovementLoopAddLocation(NPC, 69.89, -7.08, 109.34, 2, MakeRandomInt(0,3))
  179. MovementLoopAddLocation(NPC, 74.3, -7.08, 105.02, 2, MakeRandomInt(0,3))
  180. MovementLoopAddLocation(NPC, 64.03, -7.08, 92.59, 2, MakeRandomInt(0,3))
  181. MovementLoopAddLocation(NPC, 58.77, -7.05, 86.46, 2, MakeRandomInt(0,3))
  182. MovementLoopAddLocation(NPC, 53.09, -7, 68.61, 2, MakeRandomInt(0,3))
  183. MovementLoopAddLocation(NPC, 55.7, -7, 55.11, 2, MakeRandomInt(0,3))
  184. MovementLoopAddLocation(NPC, 49.21, -6.75, 50.11, 2, MakeRandomInt(0,3))
  185. MovementLoopAddLocation(NPC, 48.14, -5.25, 44.05, 2, MakeRandomInt(0,3))
  186. MovementLoopAddLocation(NPC, 48.81, -5, 40.49, 2, MakeRandomInt(0,3))
  187. MovementLoopAddLocation(NPC, 51.44, -5, 40.02, 2, MakeRandomInt(0,3))
  188. MovementLoopAddLocation(NPC, 50.26, -5, 35.59, 2, MakeRandomInt(0,3))
  189. MovementLoopAddLocation(NPC, 40.11, -5, 37.63, 2, MakeRandomInt(0,3))
  190. MovementLoopAddLocation(NPC, 26.08, -6, 38.73, 2, MakeRandomInt(0,3))
  191. MovementLoopAddLocation(NPC, 26.94, -6, 35.45, 2, MakeRandomInt(0,3))
  192. MovementLoopAddLocation(NPC, 18.17, -5.95, 35.19, 2, MakeRandomInt(0,3))
  193. MovementLoopAddLocation(NPC, 13.49, -6, 39.86, 2, MakeRandomInt(0,3))
  194. MovementLoopAddLocation(NPC, 11.81, -6, 39.58, 2, MakeRandomInt(0,3))
  195. MovementLoopAddLocation(NPC, 12.3, -6, 41.11, 2, MakeRandomInt(0,3))
  196. MovementLoopAddLocation(NPC, 26.34, -7, 57.37, 2, MakeRandomInt(0,3))
  197. MovementLoopAddLocation(NPC, 23.21, -7.13, 69.35, 2, MakeRandomInt(0,3))
  198. MovementLoopAddLocation(NPC, 22.32, -7.06, 71.8, 2, MakeRandomInt(0,3))
  199. MovementLoopAddLocation(NPC, 23.85, -7.18, 73.26, 2, MakeRandomInt(0,3))
  200. MovementLoopAddLocation(NPC, 25.7, -7.24, 72.83, 2, MakeRandomInt(0,3))
  201. MovementLoopAddLocation(NPC, 23.77, -7.18, 66.11, 2, MakeRandomInt(0,3))
  202. MovementLoopAddLocation(NPC, 22.46, -7.07, 62.96, 2, MakeRandomInt(0,3))
  203. MovementLoopAddLocation(NPC, 20.95, -7, 60.44, 2, MakeRandomInt(0,3))
  204. MovementLoopAddLocation(NPC, 18.89, -7, 58.81, 2, MakeRandomInt(0,3))
  205. MovementLoopAddLocation(NPC, 17.35, -6, 62.35, 2, MakeRandomInt(0,3))
  206. MovementLoopAddLocation(NPC, 15.86, -4.25, 65.81, 2, MakeRandomInt(0,3))
  207. MovementLoopAddLocation(NPC, 16.25, -2.88, 68.48, 2, MakeRandomInt(0,3))
  208. MovementLoopAddLocation(NPC, 14.99, -2.13, 70.12, 2, MakeRandomInt(0,3))
  209. MovementLoopAddLocation(NPC, 14.12, -0.8, 72.82, 2, MakeRandomInt(0,3))
  210. MovementLoopAddLocation(NPC, 11.93, -0.12, 75.38, 2, MakeRandomInt(0,3))
  211. MovementLoopAddLocation(NPC, 9.73, -0.07, 76.07, 2, MakeRandomInt(0,3))
  212. MovementLoopAddLocation(NPC, 5.09, -7, 58.3, 2, MakeRandomInt(0,3))
  213. MovementLoopAddLocation(NPC, 1.08, -7, 61.67, 2, MakeRandomInt(0,3))
  214. MovementLoopAddLocation(NPC, 1.22, -7, 65.93, 2, MakeRandomInt(0,3))
  215. MovementLoopAddLocation(NPC, 1.37, -7, 68.81, 2, MakeRandomInt(0,3))
  216. MovementLoopAddLocation(NPC, -0.2, -7, 71.85, 2, MakeRandomInt(0,3))
  217. MovementLoopAddLocation(NPC, -2.36, -7, 72.47, 2, MakeRandomInt(0,3))
  218. MovementLoopAddLocation(NPC, -4.88, -7, 69.88, 2, MakeRandomInt(0,3))
  219. MovementLoopAddLocation(NPC, -5.41, -7, 60.05, 2, MakeRandomInt(0,3))
  220. MovementLoopAddLocation(NPC, -16.2, -7, 58.23, 2, MakeRandomInt(0,3))
  221. MovementLoopAddLocation(NPC, -17.91, -7, 64.97, 2, MakeRandomInt(0,3))
  222. MovementLoopAddLocation(NPC, -27.3, -7, 64.82, 2, MakeRandomInt(0,3))
  223. MovementLoopAddLocation(NPC, -29.5, -7, 59.88, 2, MakeRandomInt(0,3))
  224. MovementLoopAddLocation(NPC, -28, -7, 58.89, 2, MakeRandomInt(0,3))
  225. MovementLoopAddLocation(NPC, -29.92, -7, 61.09, 2, MakeRandomInt(0,3))
  226. MovementLoopAddLocation(NPC, -28.29, -7, 62.64, 2, MakeRandomInt(0,3))
  227. MovementLoopAddLocation(NPC, -20.36, -7, 59.75, 2, MakeRandomInt(0,3))
  228. MovementLoopAddLocation(NPC, -10.38, -7, 52.35, 2, MakeRandomInt(0,3))
  229. MovementLoopAddLocation(NPC, -11.76, -7, 46.34, 2, MakeRandomInt(0,3))
  230. MovementLoopAddLocation(NPC, -8.78, -6, 32.02, 2, MakeRandomInt(0,3))
  231. MovementLoopAddLocation(NPC, -10.09, -6, 31.7, 2, MakeRandomInt(0,3))
  232. MovementLoopAddLocation(NPC, -10.74, -6, 28.45, 2, MakeRandomInt(0,3))
  233. MovementLoopAddLocation(NPC, -19.11, -4.9, 10.33, 2, MakeRandomInt(0,3))
  234. MovementLoopAddLocation(NPC, -27.18, -0.75, 4.97, 2, MakeRandomInt(0,3))
  235. MovementLoopAddLocation(NPC, -27.73, -0.75, 4, 2, MakeRandomInt(0,3))
  236. MovementLoopAddLocation(NPC, -26.74, -0.75, 3.32, 2, MakeRandomInt(0,3))
  237. MovementLoopAddLocation(NPC, -20.82, 1.86, 3.45, 2, MakeRandomInt(0,3))
  238. MovementLoopAddLocation(NPC, -19.16, 1.93, 3.8, 2, MakeRandomInt(0,3))
  239. MovementLoopAddLocation(NPC, -18.6, 2, 2.82, 2, MakeRandomInt(0,3))
  240. MovementLoopAddLocation(NPC, -17.39, 2, -3.77, 2, MakeRandomInt(0,3))
  241. MovementLoopAddLocation(NPC, -21.15, 2, -5.33, 2, MakeRandomInt(0,3))
  242. MovementLoopAddLocation(NPC, -22.28, 2.75, -23.44, 2, MakeRandomInt(0,3))
  243. MovementLoopAddLocation(NPC, -20.24, 3, -26.52, 2, MakeRandomInt(0,3))
  244. MovementLoopAddLocation(NPC, -20.76, 4, -38.65, 2, MakeRandomInt(0,3))
  245. MovementLoopAddLocation(NPC, -19.01, 4, -41.14, 2, MakeRandomInt(0,3))
  246. MovementLoopAddLocation(NPC, -16.12, 4, -40.04, 2, MakeRandomInt(0,3))
  247. MovementLoopAddLocation(NPC, -17.96, 4, -41.09, 2, MakeRandomInt(0,3))
  248. MovementLoopAddLocation(NPC, -18.65, 4, -42.65, 2, MakeRandomInt(0,3))
  249. MovementLoopAddLocation(NPC, -17.42, 4, -45.27, 2, MakeRandomInt(0,3))
  250. MovementLoopAddLocation(NPC, -10.21, 4, -50.77, 2, MakeRandomInt(0,3))
  251. MovementLoopAddLocation(NPC, -14.42, 4.45, -58.83, 2, MakeRandomInt(0,3))
  252. MovementLoopAddLocation(NPC, -15.69, 4.18, -60.48, 2, MakeRandomInt(0,3))
  253. MovementLoopAddLocation(NPC, -17.19, 4.18, -61.48, 2, MakeRandomInt(0,3))
  254. MovementLoopAddLocation(NPC, -13.49, 4.18, -67.45, 2, MakeRandomInt(0,3))
  255. MovementLoopAddLocation(NPC, -8.27, 4.18, -69.36, 2, MakeRandomInt(0,3))
  256. MovementLoopAddLocation(NPC, -6.27, 4.18, -69.28, 2, MakeRandomInt(0,3))
  257. MovementLoopAddLocation(NPC, -12.5, 4.18, -66.55, 2, MakeRandomInt(0,3))
  258. MovementLoopAddLocation(NPC, -13.52, 4.18, -65.1, 2, MakeRandomInt(0,3))
  259. MovementLoopAddLocation(NPC, -15.72, 4.18, -64.15, 2, MakeRandomInt(0,3))
  260. MovementLoopAddLocation(NPC, -13.84, 4.35, -59.91, 2, MakeRandomInt(0,3))
  261. MovementLoopAddLocation(NPC, -10.09, 4.14, -52.67, 2, MakeRandomInt(0,3))
  262. MovementLoopAddLocation(NPC, -9.08, 4, -50.88, 2, MakeRandomInt(0,3))
  263. MovementLoopAddLocation(NPC, -5.63, 4, -49.31, 2, MakeRandomInt(0,3))
  264. MovementLoopAddLocation(NPC, 3.78, 5, -42.99, 2, MakeRandomInt(0,3))
  265. MovementLoopAddLocation(NPC, 3.5, 5, -41.23, 2, MakeRandomInt(0,3))
  266. MovementLoopAddLocation(NPC, 2.13, 5, -39.2, 2, MakeRandomInt(0,3))
  267. MovementLoopAddLocation(NPC, 2.48, 5, -41.18, 2, MakeRandomInt(0,3))
  268. MovementLoopAddLocation(NPC, 1.2, 5, -42.64, 2, MakeRandomInt(0,3))
  269. MovementLoopAddLocation(NPC, -2.63, 5, -36.63, 2, MakeRandomInt(0,3))
  270. MovementLoopAddLocation(NPC, 4.76, 5, -30.44, 2, MakeRandomInt(0,3))
  271. MovementLoopAddLocation(NPC, 7.93, 8.48, -37.17, 2, MakeRandomInt(0,3))
  272. MovementLoopAddLocation(NPC, 11.36, 9.07, -37.79, 2, MakeRandomInt(0,3))
  273. MovementLoopAddLocation(NPC, 9.67, 4.93, -29.19, 2, MakeRandomInt(0,3))
  274. MovementLoopAddLocation(NPC, 12.21, 4.75, -27.85, 2, MakeRandomInt(0,3))
  275. MovementLoopAddLocation(NPC, 23.62, 5.25, -34.22, 2, MakeRandomInt(0,3))
  276. MovementLoopAddLocation(NPC, 24.52, 5.25, -31.48, 2, MakeRandomInt(0,3))
  277. MovementLoopAddLocation(NPC, 25.49, 5.25, -31.64, 2, MakeRandomInt(0,3))
  278. MovementLoopAddLocation(NPC, 23.36, 5.25, -27.31, 2, MakeRandomInt(0,3))
  279. MovementLoopAddLocation(NPC, 20.09, 5, -24.6, 2, MakeRandomInt(0,3))
  280. MovementLoopAddLocation(NPC, 8.22, 3.5, -10.58, 2, MakeRandomInt(0,3))
  281. MovementLoopAddLocation(NPC, 6.76, 3.5, -9.58, 2, MakeRandomInt(0,3))
  282. MovementLoopAddLocation(NPC, 3.9, 3.5, -8.04, 2, MakeRandomInt(0,3))
  283. MovementLoopAddLocation(NPC, 4.28, 3.5, -5.76, 2, MakeRandomInt(0,3))
  284. MovementLoopAddLocation(NPC, 3.66, 3.5, -4.42, 2, MakeRandomInt(0,3))
  285. MovementLoopAddLocation(NPC, 6.06, 3.5, -3.35, 2, MakeRandomInt(0,3))
  286. MovementLoopAddLocation(NPC, 9.07, 3.5, -3.65, 2, MakeRandomInt(0,3))
  287. MovementLoopAddLocation(NPC, 12.97, 3.62, -1.71, 2, MakeRandomInt(0,3))
  288. MovementLoopAddLocation(NPC, 12.68, 3.5, 1.59, 2, MakeRandomInt(0,3))
  289. MovementLoopAddLocation(NPC, 19.53, 2, 18.84, 2, MakeRandomInt(0,3))
  290. MovementLoopAddLocation(NPC, 21.6, 2, 18.49, 2, MakeRandomInt(0,3))
  291. MovementLoopAddLocation(NPC, 21.76, 2, 17.66, 2, MakeRandomInt(0,3))
  292. MovementLoopAddLocation(NPC, 29.14, 2, 16.16, 2, MakeRandomInt(0,3))
  293. MovementLoopAddLocation(NPC, 44.46, 3.5, -1.09, 2, MakeRandomInt(0,3))
  294. MovementLoopAddLocation(NPC, 54.85, 4.23, -6.04, 2, MakeRandomInt(0,3))
  295. MovementLoopAddLocation(NPC, 58.69, 5, -22.28, 2, MakeRandomInt(0,3))
  296. MovementLoopAddLocation(NPC, 58.4, 5, -23.09, 2, MakeRandomInt(0,3))
  297. MovementLoopAddLocation(NPC, 57.85, 5, -22.87, 2, MakeRandomInt(0,3))
  298. MovementLoopAddLocation(NPC, 51.19, 5, -23.3, 2, MakeRandomInt(0,3))
  299. MovementLoopAddLocation(NPC, 45.32, 5.25, -18.9, 2, MakeRandomInt(0,3))
  300. MovementLoopAddLocation(NPC, 39.12, 5.25, -20.88, 2, MakeRandomInt(0,3))
  301. MovementLoopAddLocation(NPC, 31.89, 5.25, -13.94, 2, MakeRandomInt(0,3))
  302. end