aneedlefang.lua 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/aneedlefang.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.17 04:09:33
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. waypoints(NPC)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function waypoints(NPC)
  17. if GetSpawnLocationID(NPC)==133775667 then
  18. MovementLoopAddLocation(NPC, -73.9, -13.04, 200.06, 2, math.random(10, 20))
  19. MovementLoopAddLocation(NPC, -79.79, -12.57, 206.47, 2, 0)
  20. MovementLoopAddLocation(NPC, -82.48, -12.7, 208.29, 2, 0)
  21. MovementLoopAddLocation(NPC, -89.34, -13.69, 219.2, 2, math.random(10, 20))
  22. MovementLoopAddLocation(NPC, -66.09, -12.09, 191.55, 2, math.random(10, 20))
  23. MovementLoopAddLocation(NPC, -88.75, -12, 197.84, 2, 0)
  24. MovementLoopAddLocation(NPC, -98.27, -13.62, 201.78, 2, 0)
  25. MovementLoopAddLocation(NPC, -103.35, -13.83, 205.1, 2, math.random(10, 20))
  26. MovementLoopAddLocation(NPC, -101.47, -13.97, 208.67, 2, 0)
  27. MovementLoopAddLocation(NPC, -96.96, -15.1, 235.79, 2, math.random(10, 20))
  28. MovementLoopAddLocation(NPC, -88.74, -13.94, 232.25, 12, 0)
  29. MovementLoopAddLocation(NPC, -77.58, -13.13, 223.63, 2, 0)
  30. MovementLoopAddLocation(NPC, -73.92, -10.46, 220.92, 2, 0)
  31. MovementLoopAddLocation(NPC, -72.14, -10.5, 211.12, 2, 0)
  32. MovementLoopAddLocation(NPC, -48.64, -10.55, 185.74, 2, 0)
  33. MovementLoopAddLocation(NPC, -59.38, -11.55, 189.25, 2, 0)
  34. MovementLoopAddLocation(NPC, -63.77, -11.61, 191.04, 2, 0)
  35. MovementLoopAddLocation(NPC, -68.57, -12.11, 195.58, 2, 0)
  36. MovementLoopAddLocation(NPC, -71.86, -12.96, 197.77, 2, 0)
  37. elseif GetSpawnLocationID(NPC)==133775668 then
  38. MovementLoopAddLocation(NPC, -132.35, -14.98, 231.38, 2, math.random(10, 20))
  39. MovementLoopAddLocation(NPC, -127.3, -14.01, 235.13, 2, 0)
  40. MovementLoopAddLocation(NPC, -121.01, -13.92, 239.19, 2, 0)
  41. MovementLoopAddLocation(NPC, -100.69, -14.09, 239.95, 2, 0)
  42. MovementLoopAddLocation(NPC, -99.38, -14.03, 238.25, 2, math.random(10, 20))
  43. MovementLoopAddLocation(NPC, -97.36, -13.09, 232.61, 2, 0)
  44. MovementLoopAddLocation(NPC, -97.63, -13.13, 229.58, 2, math.random(10, 20))
  45. MovementLoopAddLocation(NPC, -104.39, -13.02, 223.62, 2, 0)
  46. MovementLoopAddLocation(NPC, -110.44, -14.89, 218.12, 2, 0)
  47. MovementLoopAddLocation(NPC, -114.65, -15.15, 214.02, 2, math.random(10, 20))
  48. MovementLoopAddLocation(NPC, -107.48, -12.88, 222.67, 2, 0)
  49. MovementLoopAddLocation(NPC, -101.94, -12.54, 238.07, 2, math.random(10, 20))
  50. MovementLoopAddLocation(NPC, -99.8, -12.91, 230.93, 2, 0)
  51. MovementLoopAddLocation(NPC, -99.17, -13.75, 222.7, 2, math.random(10, 20))
  52. MovementLoopAddLocation(NPC, -99.84, -13.05, 225.79, 2, 0)
  53. MovementLoopAddLocation(NPC, -104.7, -12.48, 235.78, 2, math.random(10, 20))
  54. MovementLoopAddLocation(NPC, -93.53, -13.77, 235.2, 2, 0)
  55. MovementLoopAddLocation(NPC, -87.83, -13.15, 233.26, 2, 0)
  56. MovementLoopAddLocation(NPC, -76.36, -12.88, 227.57, 2, math.random(10, 20))
  57. MovementLoopAddLocation(NPC, -76.74, -11.84, 223.35, 2, 0)
  58. MovementLoopAddLocation(NPC, -75.35, -11.77, 221.11, 2, math.random(10, 20))
  59. MovementLoopAddLocation(NPC, -68.59, -10.55, 208.82, 2, 0)
  60. MovementLoopAddLocation(NPC, -68.34, -10.45, 205.18, 2, math.random(10, 20))
  61. MovementLoopAddLocation(NPC, -75.78, -10.45, 207.51, 2, 0)
  62. MovementLoopAddLocation(NPC, -99.42, -12.23, 217.03, 2, 0)
  63. MovementLoopAddLocation(NPC, -111.63, -13, 224.64, 2, 0)
  64. MovementLoopAddLocation(NPC, -129.04, -13.68, 230.18, 2, 0)
  65. MovementLoopAddLocation(NPC, -137.61, -13.81, 233.73, 2, math.random(10, 20))
  66. MovementLoopAddLocation(NPC, -134.98, -14.69, 232.35, 2, 0)
  67. elseif GetSpawnLocationID(NPC)==133775669 then
  68. MovementLoopAddLocation(NPC, -96.68, -12.32, 208.17, 2, math.random(10, 20))
  69. MovementLoopAddLocation(NPC, -99.22, -14.86, 238.1, 2, math.random(10, 20))
  70. MovementLoopAddLocation(NPC, -104.56, -11.89, 238.74, 2, 0)
  71. MovementLoopAddLocation(NPC, -109.24, -12.01, 238.84, 2, 0)
  72. MovementLoopAddLocation(NPC, -127.37, -13.24, 231.18, 2, 0)
  73. MovementLoopAddLocation(NPC, -132.23, -13.75, 225.16, 2, math.random(10, 20))
  74. MovementLoopAddLocation(NPC, -116.89, -13.79, 231.54, 2, math.random(10, 20))
  75. MovementLoopAddLocation(NPC, -119.92, -13.02, 227.61, 2, 0)
  76. MovementLoopAddLocation(NPC, -139.93, -12.41, 223.17, 2, math.random(10, 20))
  77. MovementLoopAddLocation(NPC, -120.38, -14.16, 200.47, 2, 0)
  78. MovementLoopAddLocation(NPC, -109.01, -14.96, 197.65, 2, math.random(10, 20))
  79. MovementLoopAddLocation(NPC, -106.08, -13.54, 197, 2, 0)
  80. MovementLoopAddLocation(NPC, -97.66, -12.6, 192.91, 2, 0)
  81. MovementLoopAddLocation(NPC, -83.86, -12.1, 187.82, 2, 0)
  82. MovementLoopAddLocation(NPC, -76.22, -12.12, 182.99, 2, math.random(10, 20))
  83. MovementLoopAddLocation(NPC, -82.14, -11.07, 186.78, 2, 0)
  84. MovementLoopAddLocation(NPC, -94.27, -11.14, 192.13, 2, 0)
  85. MovementLoopAddLocation(NPC, -101.4, -12.4, 196.43, 2, 0)
  86. elseif GetSpawnLocationID(NPC)==133775670 then
  87. MovementLoopAddLocation(NPC, -49.88, -10.3, -47.79, 2, math.random(10, 20))
  88. MovementLoopAddLocation(NPC, -48.37, -10.3, -51.32, 2, 0)
  89. MovementLoopAddLocation(NPC, -42.65, -12.06, -60.63, 2, math.random(10, 20))
  90. MovementLoopAddLocation(NPC, -39.98, -10.68, -47.72, 2, 0)
  91. MovementLoopAddLocation(NPC, -26.43, -10.36, -18.77, 2, 0)
  92. MovementLoopAddLocation(NPC, -22.92, -12.06, -8.66, 2, math.random(10, 20))
  93. MovementLoopAddLocation(NPC, -25.67, -11.23, -4.4, 2, 0)
  94. MovementLoopAddLocation(NPC, -32.8, -11.08, 4.44, 2, math.random(10, 20))
  95. MovementLoopAddLocation(NPC, -33.24, -10.3, 0.61, 2, 0)
  96. MovementLoopAddLocation(NPC, -45.94, -10.44, -39.02, 2, 0)
  97. MovementLoopAddLocation(NPC, -47.35, -10.9, -44.42, 2, math.random(10, 20))
  98. MovementLoopAddLocation(NPC, -44.73, -10.33, -46.13, 2, 0)
  99. MovementLoopAddLocation(NPC, -18.74, -10.42, -53.31, 2, 0)
  100. MovementLoopAddLocation(NPC, -7.42, -11.95, -57.56, 2, math.random(10, 20))
  101. MovementLoopAddLocation(NPC, -10.41, -11.17, -54.2, 2, 0)
  102. MovementLoopAddLocation(NPC, -15.61, -11.02, -47.49, 2, 0)
  103. MovementLoopAddLocation(NPC, -20.28, -11.66, -37.72, 2, math.random(10, 20))
  104. MovementLoopAddLocation(NPC, -40.4, -11.64, -41.01, 2, math.random(10, 20))
  105. MovementLoopAddLocation(NPC, -30.35, -11.78, -40.89, 2, math.random(10, 20))
  106. MovementLoopAddLocation(NPC, -25.81, -11.19, -47.18, 2, 0)
  107. MovementLoopAddLocation(NPC, -16.31, -10.3, -56.25, 2, 0)
  108. MovementLoopAddLocation(NPC, -10.17, -10.98, -61.32, 2, math.random(10, 20))
  109. MovementLoopAddLocation(NPC, -12.79, -10.31, -59.73, 2, 0)
  110. MovementLoopAddLocation(NPC, -64.01, -10.42, -47.81, 2, math.random(10, 20))
  111. MovementLoopAddLocation(NPC, -69.07, -10.3, -36.45, 2, 0)
  112. MovementLoopAddLocation(NPC, -73.21, -10.3, -18.37, 2, 0)
  113. MovementLoopAddLocation(NPC, -92.02, -12.08, -5.07, 2, math.random(10, 20))
  114. MovementLoopAddLocation(NPC, -83.09, -10.3, 11.56, 2, math.random(10, 20))
  115. MovementLoopAddLocation(NPC, -77.4, -11.06, 13.93, 2, math.random(10, 20))
  116. MovementLoopAddLocation(NPC, -72.16, -10.3, 7.01, 2, math.random(10, 20))
  117. MovementLoopAddLocation(NPC, -50.65, -10.3, -36.43, 2, 0)
  118. elseif GetSpawnLocationID(NPC)==133775671 then
  119. MovementLoopAddLocation(NPC, -27.71, -13.06, 17.11, 2, math.random(10, 20))
  120. MovementLoopAddLocation(NPC, -23.21, -12.42, 8.56, 2, 0)
  121. MovementLoopAddLocation(NPC, -20.2, -11.79, 0.59, 2, math.random(10, 20))
  122. MovementLoopAddLocation(NPC, -26.02, -11.47, 12.27, 2, 0)
  123. MovementLoopAddLocation(NPC, -30.2, -12.65, 19.52, 2, 0)
  124. MovementLoopAddLocation(NPC, -33.09, -13.07, 20.42, 2, math.random(10, 20))
  125. MovementLoopAddLocation(NPC, -30.24, -11.95, 18.54, 2, 0)
  126. MovementLoopAddLocation(NPC, -25.39, -11.15, -1.32, 2, 0)
  127. MovementLoopAddLocation(NPC, -20.4, -12.03, -8.92, 2, math.random(10, 20))
  128. MovementLoopAddLocation(NPC, -30.43, -12.12, 18.75, 2, 0)
  129. MovementLoopAddLocation(NPC, -32.71, -13.62, 27.52, 2, math.random(10, 20))
  130. MovementLoopAddLocation(NPC, -33.61, -12, 23.24, 2, 0)
  131. MovementLoopAddLocation(NPC, -39.47, -11.18, 11.86, 2, 0)
  132. MovementLoopAddLocation(NPC, -42.91, -11.1, 7.2, 2, math.random(10, 20))
  133. MovementLoopAddLocation(NPC, -25.01, -11.71, 17.15, 2, math.random(10, 20))
  134. MovementLoopAddLocation(NPC, -23.36, -12.08, 9.75, 2, 0)
  135. MovementLoopAddLocation(NPC, -22.52, -12.02, 7.18, 2, 0)
  136. MovementLoopAddLocation(NPC, -21.86, -11.98, 4.01, 2, 0)
  137. MovementLoopAddLocation(NPC, -20.18, -11.66, 0.82, 2, math.random(10, 20))
  138. MovementLoopAddLocation(NPC, -26.9, -11.56, 14.5, 2, 0)
  139. MovementLoopAddLocation(NPC, -29.28, -12.22, 17.64, 2, 0)
  140. MovementLoopAddLocation(NPC, -32.86, -12.97, 20.36, 2, math.random(10, 20))
  141. MovementLoopAddLocation(NPC, -29.36, -12.02, 17.45, 2, 0)
  142. MovementLoopAddLocation(NPC, -25.82, -11.14, 0.6, 2, 0)
  143. MovementLoopAddLocation(NPC, -20.19, -12.05, -9.19, 2, math.random(10, 20))
  144. MovementLoopAddLocation(NPC, -24, -12.04, 1.64, 2, 0)
  145. MovementLoopAddLocation(NPC, -31.38, -12.24, 20.79, 2, 0)
  146. MovementLoopAddLocation(NPC, -32.86, -13.66, 30.79, 2, math.random(10, 20))
  147. elseif GetSpawnLocationID(NPC)==133775672 then
  148. MovementLoopAddLocation(NPC, -12.9, -13.02, -18.39, 2, math.random(10, 20))
  149. MovementLoopAddLocation(NPC, -18.01, -12.06, -17.32, 2, 0)
  150. MovementLoopAddLocation(NPC, -27.91, -11.15, -5.56, 2, math.random(10, 20))
  151. MovementLoopAddLocation(NPC, -25.61, -11.35, -1.42, 2, 0)
  152. MovementLoopAddLocation(NPC, -13.18, -11.99, 8.14, 2, math.random(10, 20))
  153. MovementLoopAddLocation(NPC, -19.98, -11.79, -2.28, 2, 0)
  154. MovementLoopAddLocation(NPC, -22.94, -12.1, -26.71, 2, 0)
  155. MovementLoopAddLocation(NPC, -35.67, -11.95, -43.13, 2, 0)
  156. MovementLoopAddLocation(NPC, -37.48, -11.86, -46.94, 2, math.random(10, 20))
  157. MovementLoopAddLocation(NPC, -44.64, -10.58, -46.22, 2, 0)
  158. MovementLoopAddLocation(NPC, -63.77, -10.3, -44.78, 2, 0)
  159. MovementLoopAddLocation(NPC, -69.41, -11.17, -47.2, 2, math.random(10, 20))
  160. MovementLoopAddLocation(NPC, -67.36, -10.63, -34.35, 2, math.random(10, 20))
  161. MovementLoopAddLocation(NPC, -65.83, -10, -29.92, 2, 0)
  162. MovementLoopAddLocation(NPC, -60.77, -10, -17.45, 2, 0)
  163. MovementLoopAddLocation(NPC, -54.84, -10.5, -7.75, 2, math.random(10, 20))
  164. MovementLoopAddLocation(NPC, -42.44, -10.3, -17.7, 2, 0)
  165. MovementLoopAddLocation(NPC, -26.82, -11.26, -18.77, 2, 0)
  166. elseif GetSpawnLocationID(NPC)==133775673 then
  167. MovementLoopAddLocation(NPC, 80.41, -12.05, -31.4, 2, math.random(10, 20))
  168. MovementLoopAddLocation(NPC, 87.68, -12.88, -37.37, 2, math.random(10, 20))
  169. MovementLoopAddLocation(NPC, 80.42, -12.06, -43.76, 2, math.random(10, 20))
  170. MovementLoopAddLocation(NPC, 88.15, -12.15, -39.84, 2, 0)
  171. MovementLoopAddLocation(NPC, 99.73, -12.19, -31.36, 2, math.random(10, 20))
  172. MovementLoopAddLocation(NPC, 97.14, -12.07, -31.43, 2, 0)
  173. MovementLoopAddLocation(NPC, 82.95, -12.08, -27.41, 2, math.random(10, 20))
  174. MovementLoopAddLocation(NPC, 94.87, -12.94, -19.23, 2, math.random(10, 20))
  175. MovementLoopAddLocation(NPC, 85.97, -12.12, -24.04, 2, 0)
  176. MovementLoopAddLocation(NPC, 82.88, -12, -25.42, 2, math.random(10, 20))
  177. MovementLoopAddLocation(NPC, 75.42, -11.04, -40.06, 2, math.random(10, 20))
  178. elseif GetSpawnLocationID(NPC)==133775674 then
  179. MovementLoopAddLocation(NPC, 59.15, -12.06, -64.35, 2, math.random(10, 20))
  180. MovementLoopAddLocation(NPC, 56.35, -12.05, -62.17, 2, math.random(10, 20))
  181. MovementLoopAddLocation(NPC, 74.63, -11.53, -48.52, 2, 0)
  182. MovementLoopAddLocation(NPC, 89.7, -10.46, -32.15, 2, 0)
  183. MovementLoopAddLocation(NPC, 99.82, -11.07, -21.41, 2, math.random(10, 20))
  184. MovementLoopAddLocation(NPC, 93.48, -11.1, -20.49, 2, math.random(10, 20))
  185. MovementLoopAddLocation(NPC, 86.55, -11.19, -35.25, 2, 0)
  186. MovementLoopAddLocation(NPC, 79.58, -10.25, -45.03, 2, 0)
  187. MovementLoopAddLocation(NPC, 73.01, -10.2, -54.26, 2, 0)
  188. MovementLoopAddLocation(NPC, 63.79, -12.06, -78.43, 2, math.random(10, 20))
  189. MovementLoopAddLocation(NPC, 58.96, -12.07, -76.2, 2, math.random(10, 20))
  190. MovementLoopAddLocation(NPC, 56.68, -11.81, -78.49, 2, 0)
  191. MovementLoopAddLocation(NPC, 43.46, -11.57, -83.96, 2, 0)
  192. MovementLoopAddLocation(NPC, 31.19, -11.07, -86.71, 2, 0)
  193. MovementLoopAddLocation(NPC, 27.76, -11.09, -88.48, 2, math.random(10, 20))
  194. MovementLoopAddLocation(NPC, 48.37, -11.38, -81.56, 2, 0)
  195. MovementLoopAddLocation(NPC, 54.92, -11.59, -80.2, 2, 0)
  196. MovementLoopAddLocation(NPC, 58.97, -11.95, -78.26, 2, math.random(10, 20))
  197. MovementLoopAddLocation(NPC, 56.19, -11.26, -80.28, 2, 0)
  198. MovementLoopAddLocation(NPC, 49.59, -11.07, -84.06, 2, math.random(10, 20))
  199. MovementLoopAddLocation(NPC, 35.01, -11.91, -86.53, 2, math.random(10, 20))
  200. MovementLoopAddLocation(NPC, 46.37, -11.38, -81.4, 2, 0)
  201. MovementLoopAddLocation(NPC, 68.42, -11.99, -66.2, 2, math.random(10, 20))
  202. MovementLoopAddLocation(NPC, 63.54, -12.03, -53.85, 2, math.random(10, 20))
  203. MovementLoopAddLocation(NPC, 64.27, -12.06, -62.07, 2, math.random(10, 20))
  204. elseif GetSpawnLocationID(NPC)==133775675 then
  205. MovementLoopAddLocation(NPC, 41.81, -12.05, -80.46, 2, math.random(10, 20))
  206. MovementLoopAddLocation(NPC, 54.11, -11.7, -80.12, 2, 0)
  207. MovementLoopAddLocation(NPC, 75.66, -12.06, -74.38, 2, math.random(10, 20))
  208. MovementLoopAddLocation(NPC, 70.51, -11.17, -59.58, 2, 0)
  209. MovementLoopAddLocation(NPC, 63.48, -11.03, -47.61, 2, math.random(10, 20))
  210. MovementLoopAddLocation(NPC, 64.06, -11.02, -54.49, 2, 0)
  211. MovementLoopAddLocation(NPC, 67.82, -12.08, -70.02, 2, math.random(10, 20))
  212. MovementLoopAddLocation(NPC, 63.52, -12.07, -55.71, 2, math.random(10, 20))
  213. MovementLoopAddLocation(NPC, 73.36, -11.98, -72.63, 2, math.random(10, 20))
  214. MovementLoopAddLocation(NPC, 68.23, -12.01, -52, 2, math.random(10, 20))
  215. MovementLoopAddLocation(NPC, 73.19, -11.73, -49.5, 2, 0)
  216. MovementLoopAddLocation(NPC, 79.55, -11.75, -44.65, 2, 0)
  217. MovementLoopAddLocation(NPC, 94.9, -12.8, -35.52, 2, math.random(10, 20))
  218. MovementLoopAddLocation(NPC, 67.92, -10.3, -42.98, 2, 0)
  219. MovementLoopAddLocation(NPC, 62.7, -10.32, -44.05, 2, math.random(10, 20))
  220. MovementLoopAddLocation(NPC, 61.73, -10.27, -48.91, 2, 0)
  221. MovementLoopAddLocation(NPC, 48.7, -11.1, -67.59, 2, 0)
  222. MovementLoopAddLocation(NPC, 46.83, -12.04, -74.36, 2, math.random(10, 20))
  223. elseif GetSpawnLocationID(NPC)==133775676 then
  224. MovementLoopAddLocation(NPC, 7.68, -10.3, -19.23, 2, math.random(10, 20))
  225. MovementLoopAddLocation(NPC, 5.91, -10.98, -28.53, 2, 0)
  226. MovementLoopAddLocation(NPC, 3.8, -11.92, -53.87, 2, math.random(10, 20))
  227. MovementLoopAddLocation(NPC, 6.25, -11.87, -51.57, 2, 0)
  228. MovementLoopAddLocation(NPC, 12.95, -11.93, -43.39, 2, 0)
  229. MovementLoopAddLocation(NPC, 22.12, -12.01, -28.92, 2, math.random(10, 20))
  230. MovementLoopAddLocation(NPC, 27.35, -13.74, -16.43, 2, 0)
  231. MovementLoopAddLocation(NPC, 31.71, -14.02, -5.8, 2, 0)
  232. MovementLoopAddLocation(NPC, 33.47, -14.05, -4.25, 2, 0)
  233. MovementLoopAddLocation(NPC, 35.07, -14.06, -3.76, 2, math.random(10, 20))
  234. MovementLoopAddLocation(NPC, 32.08, -14.05, -5.49, 2, 0)
  235. MovementLoopAddLocation(NPC, 28.41, -13.99, -7.94, 2, 0)
  236. MovementLoopAddLocation(NPC, 22.39, -14.02, -15.05, 2, math.random(10, 20))
  237. MovementLoopAddLocation(NPC, 43.88, -12.1, -1.06, 2, math.random(10, 20))
  238. MovementLoopAddLocation(NPC, 37.58, -12.97, -1.1, 2, math.random(10, 20))
  239. MovementLoopAddLocation(NPC, 17.45, -10.3, -11.79, 2, 0)
  240. elseif GetSpawnLocationID(NPC)==133775677 then
  241. MovementLoopAddLocation(NPC, 3.88, -13.09, -67.6, 2, math.random(10, 20))
  242. MovementLoopAddLocation(NPC, 5.35, -12.03, -56.71, 2, 0)
  243. MovementLoopAddLocation(NPC, 10.04, -12.03, -39.61, 2, math.random(10, 20))
  244. MovementLoopAddLocation(NPC, 6.49, -11.58, -47.64, 2, 0)
  245. MovementLoopAddLocation(NPC, 1.13, -11.29, -53.14, 2, 0)
  246. MovementLoopAddLocation(NPC, -5.95, -11.86, -60.14, 2, math.random(10, 20))
  247. MovementLoopAddLocation(NPC, -1.19, -11.2, -49.76, 2, 0)
  248. MovementLoopAddLocation(NPC, 17.59, -12.02, -4.04, 2, 0)
  249. MovementLoopAddLocation(NPC, 19.12, -12.3, -0.54, 2, math.random(10, 20))
  250. MovementLoopAddLocation(NPC, 21.89, -12.96, 7.45, 2, math.random(10, 20))
  251. MovementLoopAddLocation(NPC, 31.25, -12.77, 0.46, 2, 0)
  252. MovementLoopAddLocation(NPC, 43.64, -12.99, -14.7, 2, 0)
  253. MovementLoopAddLocation(NPC, 46.93, -12.98, -17.66, 2, math.random(10, 20))
  254. MovementLoopAddLocation(NPC, 22.25, -12.99, -26.08, 2, math.random(10, 20))
  255. MovementLoopAddLocation(NPC, 18.62, -12.16, -27.8, 2, 0)
  256. MovementLoopAddLocation(NPC, 6.62, -12, -28.96, 2, 4)
  257. MovementLoopAddLocation(NPC, 6.87, -12.03, -34.44, 2, math.random(10, 20))
  258. MovementLoopAddLocation(NPC, 37.44, -12.06, -26.18, 2, math.random(10, 20))
  259. MovementLoopAddLocation(NPC, 40.47, -12, -25.78, 2, 0)
  260. MovementLoopAddLocation(NPC, 51.32, -12.05, -21.59, 2, 0)
  261. MovementLoopAddLocation(NPC, 56.22, -12.07, -20.34, 2, math.random(10, 20))
  262. MovementLoopAddLocation(NPC, 48.64, -11.64, -24.63, 2, 0)
  263. MovementLoopAddLocation(NPC, 33.95, -12.31, -31.27, 2, 0)
  264. MovementLoopAddLocation(NPC, 25.21, -12.08, -37.18, 2, math.random(10, 20))
  265. MovementLoopAddLocation(NPC, 22.01, -11.24, -42.15, 2, 0)
  266. MovementLoopAddLocation(NPC, 16.04, -11.5, -48.1, 2, 0)
  267. MovementLoopAddLocation(NPC, 10.68, -12.04, -55.12, 2, 0)
  268. MovementLoopAddLocation(NPC, 6.25, -12.73, -64.27, 2, 0)
  269. elseif GetSpawnLocationID(NPC)==133775678 then
  270. MovementLoopAddLocation(NPC, 40.56, -11.97, -31.78, 2, math.random(10, 20))
  271. MovementLoopAddLocation(NPC, 25.04, -12, -37.16, 2, math.random(10, 20))
  272. MovementLoopAddLocation(NPC, 37.59, -11.22, -35.19, 2, 0)
  273. MovementLoopAddLocation(NPC, 46.95, -11.85, -34.39, 2, math.random(10, 20))
  274. MovementLoopAddLocation(NPC, 43.14, -11.69, -32.81, 2, 0)
  275. MovementLoopAddLocation(NPC, 34.32, -13.03, -25.99, 2, math.random(10, 20))
  276. MovementLoopAddLocation(NPC, 29.73, -13.17, -23.98, 2, 0)
  277. MovementLoopAddLocation(NPC, 20.82, -13.59, -19.59, 2, math.random(10, 20))
  278. MovementLoopAddLocation(NPC, 29.35, -14.42, -21.12, 2, 0)
  279. MovementLoopAddLocation(NPC, 34.42, -14.75, -23.23, 2, math.random(10, 20))
  280. MovementLoopAddLocation(NPC, 34.08, -14.7, -16.15, 2, 0)
  281. MovementLoopAddLocation(NPC, 35.21, -14.07, -8.42, 2, 0)
  282. MovementLoopAddLocation(NPC, 37.76, -13.94, -3.71, 2, math.random(10, 20))
  283. MovementLoopAddLocation(NPC, 24.59, -12.28, -8.49, 2, math.random(10, 20))
  284. MovementLoopAddLocation(NPC, 22, -12.06, -12.71, 2, math.random(10, 20))
  285. MovementLoopAddLocation(NPC, 7.78, -11.98, -55.25, 2, 0)
  286. MovementLoopAddLocation(NPC, 3.86, -13.75, -61.84, 2, math.random(10, 20))
  287. MovementLoopAddLocation(NPC, 2.42, -11.91, -70.79, 2, 0)
  288. MovementLoopAddLocation(NPC, 3.86, -11.97, -81.58, 2, math.random(10, 20))
  289. MovementLoopAddLocation(NPC, 0.1, -11.73, -58.15, 2, 0)
  290. MovementLoopAddLocation(NPC, -2.27, -11.98, -51.09, 2, math.random(10, 20))
  291. MovementLoopAddLocation(NPC, 5.87, -11.88, -50.85, 2, 0)
  292. MovementLoopAddLocation(NPC, 28.25, -11.86, -45.79, 2, math.random(10, 20))
  293. MovementLoopAddLocation(NPC, 29.29, -11.74, -42.22, 2, 0)
  294. elseif GetSpawnLocationID(NPC)==133775679 then
  295. MovementLoopAddLocation(NPC, 20.03, -12.5, 21.23, 2, math.random(10, 20))
  296. MovementLoopAddLocation(NPC, 13.62, -12.77, 29.54, 2, 0)
  297. MovementLoopAddLocation(NPC, 5.64, -12.48, 41.01, 2, math.random(10, 20))
  298. MovementLoopAddLocation(NPC, 15.29, -12.36, 32.76, 2, 0)
  299. MovementLoopAddLocation(NPC, 48.72, -11.69, 13, 2, 0)
  300. MovementLoopAddLocation(NPC, 59.44, -12.51, 5.89, 2, math.random(10, 20))
  301. MovementLoopAddLocation(NPC, 64.31, -11.98, 1.58, 2, 0)
  302. MovementLoopAddLocation(NPC, 76.41, -12.01, -0.58, 2, math.random(10, 20))
  303. MovementLoopAddLocation(NPC, 80.14, -11.96, -4, 2, 0)
  304. MovementLoopAddLocation(NPC, 93.27, -12.68, -13.13, 2, math.random(10, 20))
  305. MovementLoopAddLocation(NPC, 83.11, -12.62, 3.47, 2, math.random(10, 20))
  306. MovementLoopAddLocation(NPC, 83.8, -12.56, 6.65, 2, 0)
  307. MovementLoopAddLocation(NPC, 90.21, -12.71, 18.15, 2, math.random(10, 20))
  308. MovementLoopAddLocation(NPC, 83.6, -12.72, 24.38, 2, math.random(10, 20))
  309. MovementLoopAddLocation(NPC, 80.25, -12.84, 26.84, 2, 0)
  310. MovementLoopAddLocation(NPC, 75.8, -12.8, 32.1, 2, 0)
  311. MovementLoopAddLocation(NPC, 72.96, -12.98, 37.12, 2, math.random(10, 20))
  312. MovementLoopAddLocation(NPC, 62.64, -11.93, 36.99, 2, math.random(10, 20))
  313. MovementLoopAddLocation(NPC, 70.7, -10.49, 43.66, 2, math.random(10, 20))
  314. MovementLoopAddLocation(NPC, 58.51, -10.3, 37.53, 2, 0)
  315. MovementLoopAddLocation(NPC, 47.19, -10.3, 32.18, 2, 0)
  316. elseif GetSpawnLocationID(NPC)==133775680 then
  317. MovementLoopAddLocation(NPC, -18.19, -12.53, 39.88, 2, math.random(10, 20))
  318. MovementLoopAddLocation(NPC, -8.52, -10.79, 53.7, 2, 0)
  319. MovementLoopAddLocation(NPC, -4.95, -10.3, 61.43, 2, 0)
  320. MovementLoopAddLocation(NPC, -1.44, -11.05, 74.85, 2, 0)
  321. MovementLoopAddLocation(NPC, -1.36, -11.04, 74.8, 2, math.random(10, 20))
  322. MovementLoopAddLocation(NPC, 4.71, -10.28, 71.33, 2, 0)
  323. MovementLoopAddLocation(NPC, 22.95, -10.3, 56.28, 2, 0)
  324. MovementLoopAddLocation(NPC, 28.76, -10.3, 52.47, 2, 0)
  325. MovementLoopAddLocation(NPC, 50.81, -11.14, 40.73, 2, 0)
  326. MovementLoopAddLocation(NPC, 56.65, -11.42, 32.32, 2, math.random(10, 20))
  327. MovementLoopAddLocation(NPC, 65, -11.38, 29.13, 2, 0)
  328. MovementLoopAddLocation(NPC, 72.66, -12.22, 24.99, 2, 0)
  329. MovementLoopAddLocation(NPC, 78.39, -13.93, 15.93, 2, math.random(10, 20))
  330. MovementLoopAddLocation(NPC, 77.6, -12.1, 26.45, 2, 0)
  331. MovementLoopAddLocation(NPC, 79.62, -11.56, 30.99, 2, 0)
  332. MovementLoopAddLocation(NPC, 83.58, -11.64, 37.29, 2, math.random(10, 20))
  333. MovementLoopAddLocation(NPC, 88.98, -11.82, 35.17, 2, 0)
  334. MovementLoopAddLocation(NPC, 100.8, -12.69, 24.61, 2, math.random(10, 20))
  335. MovementLoopAddLocation(NPC, 80.4, -12.4, 23.25, 2, 0)
  336. MovementLoopAddLocation(NPC, 72.86, -14, 19.11, 2, math.random(10, 20))
  337. MovementLoopAddLocation(NPC, 68.98, -13.36, 15.47, 2, 0)
  338. MovementLoopAddLocation(NPC, 62.93, -13.12, 12.06, 2, math.random(10, 20))
  339. MovementLoopAddLocation(NPC, 42.35, -12.95, 15.89, 2, 0)
  340. MovementLoopAddLocation(NPC, 1.49, -12.97, 29.64, 2, 0)
  341. MovementLoopAddLocation(NPC, -7.34, -12.8, 33.71, 2, math.random(10, 20))
  342. MovementLoopAddLocation(NPC, -15.77, -12.63, 37.95, 2, 0)
  343. elseif GetSpawnLocationID(NPC)==133775681 then
  344. MovementLoopAddLocation(NPC, 14.4, -12.54, 60.78, 2, math.random(10, 20))
  345. MovementLoopAddLocation(NPC, 25.5, -11.98, 57.5, 2, 0)
  346. MovementLoopAddLocation(NPC, 32.62, -12.07, 55.97, 2, math.random(10, 20))
  347. MovementLoopAddLocation(NPC, 15.78, -11.81, 68.48, 2, math.random(10, 20))
  348. MovementLoopAddLocation(NPC, 6.92, -11.52, 58.93, 2, 0)
  349. MovementLoopAddLocation(NPC, 2.17, -11.9, 49.64, 2, 0)
  350. MovementLoopAddLocation(NPC, -0.51, -12.32, 42.73, 2, 0)
  351. MovementLoopAddLocation(NPC, -4.15, -13.16, 35.6, 2, 0)
  352. MovementLoopAddLocation(NPC, -8.19, -13.74, 30.53, 2, math.random(10, 20))
  353. MovementLoopAddLocation(NPC, 2.3, -13.74, 38.61, 2, 0)
  354. MovementLoopAddLocation(NPC, 6.37, -13.9, 42.13, 2, 0)
  355. MovementLoopAddLocation(NPC, 9.05, -13.96, 47.32, 2, math.random(10, 20))
  356. MovementLoopAddLocation(NPC, -0.55, -12.11, 46.35, 2, 0)
  357. MovementLoopAddLocation(NPC, -7.03, -11.79, 46.27, 2, math.random(10, 20))
  358. MovementLoopAddLocation(NPC, 4.18, -12.21, 56.19, 2, 0)
  359. MovementLoopAddLocation(NPC, 12.23, -12.76, 62.24, 2, math.random(10, 20))
  360. MovementLoopAddLocation(NPC, 24.21, -12.18, 57.59, 2, 0)
  361. MovementLoopAddLocation(NPC, 40.55, -11.73, 61.42, 2, math.random(10, 20))
  362. MovementLoopAddLocation(NPC, 30.54, -12, 64.15, 2, 0)
  363. end
  364. end