9
3

charlene.lua 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. --[[
  2. Script Name : charlene.lua
  3. Script Purpose : Waypoint Path for charlene.lua
  4. Script Author : Devn00b
  5. Script Date : 04/09/2020 04:14:49 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. local AttackTimer = false
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. SetPlayerProximityFunction(NPC,4, "InRange", "LeaveRange")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function InRange(NPC,Spawn)
  20. if AttackTimer == false then
  21. if math.random(1,100) <=20 then
  22. AttackTimer = true
  23. FaceTarget(NPC,Spawn)
  24. PlayFlavor(NPC, "", "", "attack", 0, 0)
  25. AddTimer(NPC,25000,"AttackTimerReset")
  26. end
  27. end
  28. end
  29. function AttackTimerReset(NPC,Spawn)
  30. AttackTimer = false
  31. end
  32. function Sleep(NPC)
  33. local choice = math.random(1,2)
  34. if choice == 1 then
  35. SpawnSet(NPC, "action_state", 540)
  36. AddTimer(NPC, 22000, "Wake")
  37. AttackTimer = true
  38. elseif choice ==2 then
  39. end
  40. end
  41. function Wake(NPC)
  42. SpawnSet(NPC, "action_state", 0)
  43. AttackTimer = false
  44. end
  45. function waypoints(NPC)
  46. MovementLoopAddLocation(NPC, 843.09, -23.1, 43.01, 1, 0)
  47. MovementLoopAddLocation(NPC, 859.64, -25.37, 41.02, 1, 0)
  48. MovementLoopAddLocation(NPC, 862.33, -25.37, 41.42, 1, 0)
  49. MovementLoopAddLocation(NPC, 872.29, -25.47, 35.52, 1, 0)
  50. MovementLoopAddLocation(NPC, 884.06, -25.43, 36.04, 1, 0)
  51. MovementLoopAddLocation(NPC, 887.55, -25.49, 35.77, 1, 1)
  52. MovementLoopAddLocation(NPC, 887.55, -25.49, 35.77, 1, 25,"Sleep")
  53. MovementLoopAddLocation(NPC, 889.92, -25.5, 34.97, 1, 0)
  54. MovementLoopAddLocation(NPC, 890.46, -25.52, 33.48, 1, 0)
  55. MovementLoopAddLocation(NPC, 890.88, -25.48, 29.76, 1, 0)
  56. MovementLoopAddLocation(NPC, 891.77, -25.47, 25.67, 1, 0)
  57. MovementLoopAddLocation(NPC, 892.57, -25.46, 22.76, 1, 0)
  58. MovementLoopAddLocation(NPC, 894.46, -25.5, 21.1, 1, 0)
  59. MovementLoopAddLocation(NPC, 897.19, -25.5, 14.84, 1, 0)
  60. MovementLoopAddLocation(NPC, 895.5, -25.46, 10.9, 1, 1)
  61. MovementLoopAddLocation(NPC, 895.5, -25.46, 10.9, 1, 25,"Sleep")
  62. MovementLoopAddLocation(NPC, 896.6, -25.49, 9.69, 1, 0)
  63. MovementLoopAddLocation(NPC, 898.08, -25.52, -7.37, 1, 0)
  64. MovementLoopAddLocation(NPC, 897.92, -25.48, -15.99, 1, 0)
  65. MovementLoopAddLocation(NPC, 895.84, -25.03, -26.93, 1, 0)
  66. MovementLoopAddLocation(NPC, 893.61, -23.47, -35.29, 1, 0)
  67. MovementLoopAddLocation(NPC, 890.81, -24.39, -44.26, 1, 0)
  68. MovementLoopAddLocation(NPC, 889.69, -25.4, -47.84, 1, 0)
  69. MovementLoopAddLocation(NPC, 885.27, -25.49, -49.45, 1, 0)
  70. MovementLoopAddLocation(NPC, 880.89, -25.34, -51.26, 1, 1)
  71. MovementLoopAddLocation(NPC, 880.89, -25.34, -51.26, 1, 25,"Sleep")
  72. MovementLoopAddLocation(NPC, 881.27, -25.41, -45.69, 1, 0)
  73. MovementLoopAddLocation(NPC, 876.44, -25.47, -41.69, 1, 1)
  74. MovementLoopAddLocation(NPC, 876.44, -25.47, -41.69, 1, 25,"Sleep")
  75. MovementLoopAddLocation(NPC, 880.28, -25.36, -46.63, 1, 0)
  76. MovementLoopAddLocation(NPC, 882.03, -25.47, -54.25, 1, 0)
  77. MovementLoopAddLocation(NPC, 889.08, -25.41, -48.15, 1, 0)
  78. MovementLoopAddLocation(NPC, 890.52, -23.42, -43.04, 1, 0)
  79. MovementLoopAddLocation(NPC, 892.3, -23.38, -37.89, 1, 0)
  80. MovementLoopAddLocation(NPC, 896.96, -25.43, -25.89, 1, 0)
  81. MovementLoopAddLocation(NPC, 896.63, -25.48, -19.45, 1, 0)
  82. MovementLoopAddLocation(NPC, 897.61, -25.59, -15.51, 1, 0)
  83. MovementLoopAddLocation(NPC, 897.61, -25.56, -10.09, 1, 0)
  84. MovementLoopAddLocation(NPC, 898.14, -25.51, 3.37, 1, 0)
  85. MovementLoopAddLocation(NPC, 891.31, -25.43, 15.27, 1, 0)
  86. MovementLoopAddLocation(NPC, 888.31, -25.43, 19.01, 1, 1)
  87. MovementLoopAddLocation(NPC, 888.31, -25.43, 19.01, 1, 25,"Sleep")
  88. MovementLoopAddLocation(NPC, 883.59, -25.43, 22.39, 1, 0)
  89. MovementLoopAddLocation(NPC, 877.02, -25.43, 27.96, 1, 0)
  90. MovementLoopAddLocation(NPC, 875.77, -25.43, 32.37, 1, 0)
  91. MovementLoopAddLocation(NPC, 860.37, -25.52, 34.96, 1, 0)
  92. MovementLoopAddLocation(NPC, 857.88, -25.49, 30.76, 1, 0)
  93. MovementLoopAddLocation(NPC, 856.05, -24.47, 25.61, 1, 0)
  94. MovementLoopAddLocation(NPC, 855.55, -24.47, 23.98, 1, 0)
  95. MovementLoopAddLocation(NPC, 845.16, -24.47, 15.11, 1, 0)
  96. MovementLoopAddLocation(NPC, 837.08, -24.47, -0.46, 1, 0)
  97. MovementLoopAddLocation(NPC, 834.9, -24.47, -2.49, 1, 0)
  98. MovementLoopAddLocation(NPC, 833.95, -24.47, -3.12, 1, 0)
  99. MovementLoopAddLocation(NPC, 820.53, -24.47, -5.88, 1, 1)
  100. MovementLoopAddLocation(NPC, 820.53, -24.47, -5.88, 1, 25,"Sleep")
  101. MovementLoopAddLocation(NPC, 818.39, -24.47, -7.17, 1, 0)
  102. MovementLoopAddLocation(NPC, 817.87, -24.47, -8.18, 1, 0)
  103. MovementLoopAddLocation(NPC, 819.33, -25.46, -11.15, 1, 0)
  104. MovementLoopAddLocation(NPC, 822.7, -25.44, -14.09, 1, 0)
  105. MovementLoopAddLocation(NPC, 831.03, -25.46, -6.84, 1, 0)
  106. MovementLoopAddLocation(NPC, 843.03, -25.44, 1.76, 1, 1)
  107. MovementLoopAddLocation(NPC, 843.03, -25.44, 1.76, 1, 25,"Sleep")
  108. MovementLoopAddLocation(NPC, 846.42, -25.45, 9.26, 1, 0)
  109. MovementLoopAddLocation(NPC, 853.84, -25.47, 19.35, 1, 0)
  110. MovementLoopAddLocation(NPC, 858.82, -25.5, 33.39, 1, 0)
  111. MovementLoopAddLocation(NPC, 857.67, -25.38, 38.69, 1, 0)
  112. MovementLoopAddLocation(NPC, 849.46, -23.18, 39.21, 1, 0)
  113. MovementLoopAddLocation(NPC, 838.45, -23.17, 40.93, 1, 0)
  114. MovementLoopAddLocation(NPC, 827.05, -23.35, 39.54, 1, 1)
  115. MovementLoopAddLocation(NPC, 827.05, -23.35, 39.54, 1, 25,"Sleep")
  116. MovementLoopAddLocation(NPC, 834, -23.48, 58.39, 1, 0)
  117. MovementLoopAddLocation(NPC, 834.57, -22.27, 59.53, 1, 0)
  118. MovementLoopAddLocation(NPC, 829.31, -22.27, 69.74, 1, 0)
  119. MovementLoopAddLocation(NPC, 823.44, -22.27, 80.39, 1, 1)
  120. MovementLoopAddLocation(NPC, 823.44, -22.27, 80.39, 1, 25,"Sleep")
  121. MovementLoopAddLocation(NPC, 823.46, -22.27, 100.69, 1, 0)
  122. MovementLoopAddLocation(NPC, 826.94, -22.27, 104.93, 1, 0)
  123. MovementLoopAddLocation(NPC, 838.71, -22.27, 115.93, 1, 1)
  124. MovementLoopAddLocation(NPC, 838.71, -22.27, 115.93, 1, 25,"Sleep")
  125. MovementLoopAddLocation(NPC, 837.64, -23.33, 116.66, 1, 0)
  126. MovementLoopAddLocation(NPC, 830.04, -23.36, 110.35, 1, 0)
  127. MovementLoopAddLocation(NPC, 824.74, -23.36, 109.6, 1, 0)
  128. MovementLoopAddLocation(NPC, 818.41, -23.34, 109.73, 1, 0)
  129. MovementLoopAddLocation(NPC, 813.52, -23.32, 102.01, 1, 0)
  130. MovementLoopAddLocation(NPC, 814.9, -23.31, 79.33, 1, 0)
  131. MovementLoopAddLocation(NPC, 830.26, -23.32, 46.09, 1, 0)
  132. MovementLoopAddLocation(NPC, 831.4, -23.39, 38.4, 1, 0)
  133. MovementLoopAddLocation(NPC, 831.64, -23.38, 36.38, 1, 0)
  134. MovementLoopAddLocation(NPC, 836.3, -23.5, 35.06, 1, 1)
  135. MovementLoopAddLocation(NPC, 836.3, -23.5, 35.06, 1, 25,"Sleep")
  136. MovementLoopAddLocation(NPC, 831.49, -23.39, 36.75, 1, 0)
  137. MovementLoopAddLocation(NPC, 828.18, -23.38, 40.93, 1, 0)
  138. MovementLoopAddLocation(NPC, 823.45, -23.31, 39.61, 1, 0)
  139. MovementLoopAddLocation(NPC, 810.96, -23.26, 30.27, 1, 0)
  140. MovementLoopAddLocation(NPC, 807.32, -23.36, 29.52, 1, 0)
  141. MovementLoopAddLocation(NPC, 786.21, -23.11, 64.43, 1, 0)
  142. MovementLoopAddLocation(NPC, 782.04, -23.31, 71.94, 1, 0)
  143. MovementLoopAddLocation(NPC, 792.67, -23.26, 76.85, 1, 0)
  144. MovementLoopAddLocation(NPC, 803.7, -23.23, 83.51, 1, 1)
  145. MovementLoopAddLocation(NPC, 803.7, -23.23, 83.51, 1, 25,"Sleep")
  146. MovementLoopAddLocation(NPC, 812.62, -23.34, 82.85, 1, 0)
  147. MovementLoopAddLocation(NPC, 828.2, -23.31, 53.52, 1, 0)
  148. MovementLoopAddLocation(NPC, 837.51, -23.45, 48.71, 1, 1)
  149. MovementLoopAddLocation(NPC, 837.51, -23.45, 48.71, 1, 25,"Sleep")
  150. MovementLoopAddLocation(NPC, 834.29, -23.31, 47.74, 1, 0)
  151. MovementLoopAddLocation(NPC, 835.81, -23.31, 45.05, 1, 0)
  152. MovementLoopAddLocation(NPC, 834.29, -23.31, 47.74, 1, 0)
  153. MovementLoopAddLocation(NPC, 837.51, -23.45, 48.71, 1, 1)
  154. MovementLoopAddLocation(NPC, 837.51, -23.45, 48.71, 1, 25,"Sleep")
  155. MovementLoopAddLocation(NPC, 828.2, -23.31, 53.52, 1, 0)
  156. MovementLoopAddLocation(NPC, 812.62, -23.34, 82.85, 1, 0)
  157. MovementLoopAddLocation(NPC, 803.7, -23.23, 83.51, 1, 1)
  158. MovementLoopAddLocation(NPC, 803.7, -23.23, 83.51, 1, 25,"Sleep")
  159. MovementLoopAddLocation(NPC, 792.67, -23.26, 76.85, 1, 0)
  160. MovementLoopAddLocation(NPC, 782.04, -23.31, 71.94, 1, 0)
  161. MovementLoopAddLocation(NPC, 786.21, -23.11, 64.43, 1, 0)
  162. MovementLoopAddLocation(NPC, 807.32, -23.36, 29.52, 1, 0)
  163. MovementLoopAddLocation(NPC, 810.96, -23.26, 30.27, 1, 0)
  164. MovementLoopAddLocation(NPC, 823.45, -23.31, 39.61, 1, 0)
  165. MovementLoopAddLocation(NPC, 828.18, -23.38, 40.93, 1, 0)
  166. MovementLoopAddLocation(NPC, 831.49, -23.39, 36.75, 1, 0)
  167. MovementLoopAddLocation(NPC, 836.3, -23.5, 35.06, 1, 1)
  168. MovementLoopAddLocation(NPC, 836.3, -23.5, 35.06, 1, 25,"Sleep")
  169. MovementLoopAddLocation(NPC, 831.64, -23.38, 36.38, 1, 0)
  170. MovementLoopAddLocation(NPC, 831.4, -23.39, 38.4, 1, 0)
  171. MovementLoopAddLocation(NPC, 830.26, -23.32, 46.09, 1, 0)
  172. MovementLoopAddLocation(NPC, 814.9, -23.31, 79.33, 1, 0)
  173. MovementLoopAddLocation(NPC, 813.52, -23.32, 102.01, 1, 0)
  174. MovementLoopAddLocation(NPC, 818.41, -23.34, 109.73, 1, 0)
  175. MovementLoopAddLocation(NPC, 824.74, -23.36, 109.6, 1, 0)
  176. MovementLoopAddLocation(NPC, 830.04, -23.36, 110.35, 1, 0)
  177. MovementLoopAddLocation(NPC, 837.64, -23.33, 116.66, 1, 0)
  178. MovementLoopAddLocation(NPC, 838.71, -22.27, 115.93, 1, 1)
  179. MovementLoopAddLocation(NPC, 838.71, -22.27, 115.93, 1, 25,"Sleep")
  180. MovementLoopAddLocation(NPC, 826.94, -22.27, 104.93, 1, 0)
  181. MovementLoopAddLocation(NPC, 823.46, -22.27, 100.69, 1, 0)
  182. MovementLoopAddLocation(NPC, 823.44, -22.27, 80.39, 1, 1)
  183. MovementLoopAddLocation(NPC, 823.44, -22.27, 80.39, 1, 25,"Sleep")
  184. MovementLoopAddLocation(NPC, 829.31, -22.27, 69.74, 1, 0)
  185. MovementLoopAddLocation(NPC, 834.57, -22.27, 59.53, 1, 0)
  186. MovementLoopAddLocation(NPC, 834, -23.48, 58.39, 1, 0)
  187. MovementLoopAddLocation(NPC, 827.05, -23.35, 39.54, 1, 1)
  188. MovementLoopAddLocation(NPC, 827.05, -23.35, 39.54, 1, 25,"Sleep")
  189. MovementLoopAddLocation(NPC, 838.45, -23.17, 40.93, 1, 0)
  190. MovementLoopAddLocation(NPC, 849.46, -23.18, 39.21, 1, 0)
  191. MovementLoopAddLocation(NPC, 857.67, -25.38, 38.69, 1, 0)
  192. MovementLoopAddLocation(NPC, 858.82, -25.5, 33.39, 1, 0)
  193. MovementLoopAddLocation(NPC, 853.84, -25.47, 19.35, 1, 0)
  194. MovementLoopAddLocation(NPC, 846.42, -25.45, 9.26, 1, 0)
  195. MovementLoopAddLocation(NPC, 843.03, -25.44, 1.76, 1, 1)
  196. MovementLoopAddLocation(NPC, 843.03, -25.44, 1.76, 1, 25,"Sleep")
  197. MovementLoopAddLocation(NPC, 831.03, -25.46, -6.84, 1, 0)
  198. MovementLoopAddLocation(NPC, 822.7, -25.44, -14.09, 1, 0)
  199. MovementLoopAddLocation(NPC, 819.33, -25.46, -11.15, 1, 0)
  200. MovementLoopAddLocation(NPC, 817.87, -24.47, -8.18, 1, 0)
  201. MovementLoopAddLocation(NPC, 818.39, -24.47, -7.17, 1, 0)
  202. MovementLoopAddLocation(NPC, 820.53, -24.47, -5.88, 1, 1)
  203. MovementLoopAddLocation(NPC, 820.53, -24.47, -5.88, 1, 25,"Sleep")
  204. MovementLoopAddLocation(NPC, 833.95, -24.47, -3.12, 1, 0)
  205. MovementLoopAddLocation(NPC, 834.9, -24.47, -2.49, 1, 0)
  206. MovementLoopAddLocation(NPC, 837.08, -24.47, -0.46, 1, 0)
  207. MovementLoopAddLocation(NPC, 845.16, -24.47, 15.11, 1, 0)
  208. MovementLoopAddLocation(NPC, 855.55, -24.47, 23.98, 1, 0)
  209. MovementLoopAddLocation(NPC, 856.05, -24.47, 25.61, 1, 0)
  210. MovementLoopAddLocation(NPC, 857.88, -25.49, 30.76, 1, 0)
  211. MovementLoopAddLocation(NPC, 860.37, -25.52, 34.96, 1, 0)
  212. MovementLoopAddLocation(NPC, 875.77, -25.43, 32.37, 1, 0)
  213. MovementLoopAddLocation(NPC, 877.02, -25.43, 27.96, 1, 0)
  214. MovementLoopAddLocation(NPC, 883.59, -25.43, 22.39, 1, 0)
  215. MovementLoopAddLocation(NPC, 888.31, -25.43, 19.01, 1, 1)
  216. MovementLoopAddLocation(NPC, 888.31, -25.43, 19.01, 1, 25,"Sleep")
  217. MovementLoopAddLocation(NPC, 891.31, -25.43, 15.27, 1, 0)
  218. MovementLoopAddLocation(NPC, 898.14, -25.51, 3.37, 1, 0)
  219. MovementLoopAddLocation(NPC, 897.61, -25.56, -10.09, 1, 0)
  220. MovementLoopAddLocation(NPC, 897.61, -25.59, -15.51, 1, 0)
  221. MovementLoopAddLocation(NPC, 896.63, -25.48, -19.45, 1, 0)
  222. MovementLoopAddLocation(NPC, 896.96, -25.43, -25.89, 1, 0)
  223. MovementLoopAddLocation(NPC, 892.3, -23.38, -37.89, 1, 0)
  224. MovementLoopAddLocation(NPC, 890.52, -23.42, -43.04, 1, 0)
  225. MovementLoopAddLocation(NPC, 889.08, -25.41, -48.15, 1, 0)
  226. MovementLoopAddLocation(NPC, 882.03, -25.47, -54.25, 1, 0)
  227. MovementLoopAddLocation(NPC, 880.28, -25.36, -46.63, 1, 0)
  228. MovementLoopAddLocation(NPC, 876.44, -25.47, -41.69, 1, 1)
  229. MovementLoopAddLocation(NPC, 876.44, -25.47, -41.69, 1, 25,"Sleep")
  230. MovementLoopAddLocation(NPC, 881.27, -25.41, -45.69, 1, 0)
  231. MovementLoopAddLocation(NPC, 880.89, -25.34, -51.26, 1, 1)
  232. MovementLoopAddLocation(NPC, 880.89, -25.34, -51.26, 1, 25,"Sleep")
  233. MovementLoopAddLocation(NPC, 885.27, -25.49, -49.45, 1, 0)
  234. MovementLoopAddLocation(NPC, 889.69, -25.4, -47.84, 1, 0)
  235. MovementLoopAddLocation(NPC, 890.81, -24.39, -44.26, 1, 0)
  236. MovementLoopAddLocation(NPC, 893.61, -23.47, -35.29, 1, 0)
  237. MovementLoopAddLocation(NPC, 895.84, -25.03, -26.93, 1, 0)
  238. MovementLoopAddLocation(NPC, 897.92, -25.48, -15.99, 1, 0)
  239. MovementLoopAddLocation(NPC, 898.08, -25.52, -7.37, 1, 0)
  240. MovementLoopAddLocation(NPC, 896.6, -25.49, 9.69, 1, 0)
  241. MovementLoopAddLocation(NPC, 895.5, -25.46, 10.9, 1, 1)
  242. MovementLoopAddLocation(NPC, 895.5, -25.46, 10.9, 1, 25,"Sleep")
  243. MovementLoopAddLocation(NPC, 897.19, -25.5, 14.84, 1, 0)
  244. MovementLoopAddLocation(NPC, 894.46, -25.5, 21.1, 1, 0)
  245. MovementLoopAddLocation(NPC, 892.57, -25.46, 22.76, 1, 0)
  246. MovementLoopAddLocation(NPC, 891.77, -25.47, 25.67, 1, 0)
  247. MovementLoopAddLocation(NPC, 890.88, -25.48, 29.76, 1, 0)
  248. MovementLoopAddLocation(NPC, 890.46, -25.52, 33.48, 1, 0)
  249. MovementLoopAddLocation(NPC, 889.92, -25.5, 34.97, 1, 0)
  250. MovementLoopAddLocation(NPC, 887.55, -25.49, 35.77, 1, 1)
  251. MovementLoopAddLocation(NPC, 887.55, -25.49, 35.77, 1, 25,"Sleep")
  252. MovementLoopAddLocation(NPC, 884.06, -25.43, 36.04, 1, 0)
  253. MovementLoopAddLocation(NPC, 872.29, -25.47, 35.52, 1, 0)
  254. MovementLoopAddLocation(NPC, 862.33, -25.37, 41.42, 1, 0)
  255. MovementLoopAddLocation(NPC, 859.64, -25.37, 41.02, 1, 0)
  256. MovementLoopAddLocation(NPC, 843.09, -23.1, 43.01, 1, 0)
  257. end
  258. --[[
  259. function waypoints(NPC)
  260. MovementLoopAddLocation(NPC, 832.06, -23.31, 45.72, 1, 0)
  261. MovementLoopAddLocation(NPC, 879.32, -25.43, 35.83, 1, 0)
  262. MovementLoopAddLocation(NPC, 903.88, -25.37, 13.02, 1, 0)
  263. MovementLoopAddLocation(NPC, 932.38, -25.55, 26.75, 1, 0)
  264. MovementLoopAddLocation(NPC, 948.25, -25.5, 32.06, 1, math.random(6,20))
  265. MovementLoopAddLocation(NPC, 962.44, -25.47, 16.52, 1, 0)
  266. MovementLoopAddLocation(NPC, 978.08, -25.01, 15.7, 1, 0)
  267. MovementLoopAddLocation(NPC, 994.13, -25.12, 16.11, 1, 0)
  268. MovementLoopAddLocation(NPC, 1000.46, -25.82, 26.08, 1, 0)
  269. MovementLoopAddLocation(NPC, 995.28, -25.11, 14.52, 1, 0)
  270. MovementLoopAddLocation(NPC, 964.46, -25.46, 14.05, 1, math.random(6,20))
  271. MovementLoopAddLocation(NPC, 948.82, -25.5, 30.55, 1, 0)
  272. MovementLoopAddLocation(NPC, 907.29, -25.46, 14.26, 1, 0)
  273. MovementLoopAddLocation(NPC, 909, -25.41, -1.48, 1, 0)
  274. MovementLoopAddLocation(NPC, 891.19, -25.49, -26.78, 1, 0)
  275. MovementLoopAddLocation(NPC, 893.37, -25.52, -23.76, 1, 0)
  276. MovementLoopAddLocation(NPC, 906.58, -25.41, -25.59, 1, 0)
  277. MovementLoopAddLocation(NPC, 899.27, -25.41, -49.86, 1, math.random(6,20))
  278. MovementLoopAddLocation(NPC, 862.97, -25.42, -68.34, 1, 0)
  279. MovementLoopAddLocation(NPC, 864.82, -25.44, -86.64, 1, 0)
  280. MovementLoopAddLocation(NPC, 855.5, -25.48, -69.74, 1, 0)
  281. MovementLoopAddLocation(NPC, 813.77, -20.86, -65.23, 1, 0)
  282. MovementLoopAddLocation(NPC, 746.74, -21.28, -21.97, 1, math.random(6,20))
  283. MovementLoopAddLocation(NPC, 722.98, -21.38, -36.4, 1, 0)
  284. MovementLoopAddLocation(NPC, 696.28, -20.64, -66.63, 1, 0)
  285. MovementLoopAddLocation(NPC, 720.45, -20.86, -115.5, 1, 0)
  286. MovementLoopAddLocation(NPC, 696.28, -20.64, -66.63, 1, 0)
  287. MovementLoopAddLocation(NPC, 722.98, -21.38, -36.4, 1, 0)
  288. MovementLoopAddLocation(NPC, 746.74, -21.28, -21.97, 1, 0)
  289. MovementLoopAddLocation(NPC, 813.77, -20.86, -65.23, 1, 0)
  290. MovementLoopAddLocation(NPC, 855.5, -25.48, -69.74, 1, 0)
  291. MovementLoopAddLocation(NPC, 864.82, -25.44, -86.64, 1, math.random(6,20))
  292. MovementLoopAddLocation(NPC, 862.97, -25.42, -68.34, 1, 0)
  293. MovementLoopAddLocation(NPC, 899.27, -25.41, -49.86, 1, 0)
  294. MovementLoopAddLocation(NPC, 906.58, -25.41, -25.59, 1, 0)
  295. MovementLoopAddLocation(NPC, 893.37, -25.52, -23.76, 1, 0)
  296. MovementLoopAddLocation(NPC, 891.19, -25.49, -26.78, 1, 0)
  297. MovementLoopAddLocation(NPC, 909, -25.41, -1.48, 1, 0)
  298. MovementLoopAddLocation(NPC, 907.29, -25.46, 14.26, 1, math.random(6,20))
  299. MovementLoopAddLocation(NPC, 948.82, -25.5, 30.55, 1, 0)
  300. MovementLoopAddLocation(NPC, 964.46, -25.46, 14.05, 1, 0)
  301. MovementLoopAddLocation(NPC, 995.28, -25.11, 14.52, 1, 0)
  302. MovementLoopAddLocation(NPC, 1000.46, -25.82, 26.08, 1, 0)
  303. MovementLoopAddLocation(NPC, 994.13, -25.12, 16.11, 1, 0)
  304. MovementLoopAddLocation(NPC, 978.08, -25.01, 15.7, 1, math.random(6,20))
  305. MovementLoopAddLocation(NPC, 962.44, -25.47, 16.52, 1, 0)
  306. MovementLoopAddLocation(NPC, 948.25, -25.5, 32.06, 1, 0)
  307. MovementLoopAddLocation(NPC, 932.38, -25.55, 26.75, 1, 0)
  308. MovementLoopAddLocation(NPC, 903.88, -25.37, 13.02, 1, 0)
  309. MovementLoopAddLocation(NPC, 879.32, -25.43, 35.83, 1, 0)
  310. MovementLoopAddLocation(NPC, 832.06, -23.31, 45.72, 1, math.random(6,20))
  311. end
  312. --]]