9
3

ChadwickStrohn.lua 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. --[[
  2. Script Name : SpawnScripts/Nettleville/ChadwickStrohn.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.20 08:06:43
  5. Script Purpose : Handles Chadwick and 'a pig' in Nettleville
  6. :
  7. --]]
  8. local Catchase = false
  9. local Pigchase = false
  10. function spawn(NPC)
  11. waypoints(NPC)
  12. SetPlayerProximityFunction(NPC, 6, "InRange", "LeaveRange")
  13. end
  14. function hailed(NPC, Spawn)
  15. if Pigchase == true then
  16. elseif Catchase == true then
  17. else
  18. FaceTarget(NPC, Spawn)
  19. local choice = math.random(1,3)
  20. if choice == 1 then
  21. FaceTarget(NPC,Spawn)
  22. PlayFlavor(NPC, "voiceover/english/human_eco_evil_badkid/ft/eco/evil/human_eco_evil_badkid_hail_gm_260df31b.mp3", "Why is one moon shattered?", "confused", 724051424, 3894623534, Spawn)
  23. elseif choice == 2 then
  24. FaceTarget(NPC,Spawn)
  25. PlayFlavor(NPC, "voiceover/english/human_eco_good_annoyingkid/ft/eco/good/human_eco_good_annoyingkid_hail_gm_5674cc18.mp3", "Have you seen a Gnoll before?", "stare", 3064755312, 374536170, Spawn)
  26. elseif choice == 3 then
  27. FaceTarget(NPC,Spawn)
  28. PlayFlavor(NPC, "voiceover/english/human_eco_good_annoyingkid/ft/eco/good/human_eco_good_annoyingkid_hail_gm_110eef44.mp3", "Have you been inside the castle? I want to go there someday!", "happy", 2372987392, 3554768792, Spawn)
  29. end
  30. end
  31. end
  32. function InRange(NPC, Spawn)
  33. if Pigchase == true then
  34. if math.random(1,100)<80 then
  35. PlayFlavor(NPC, "voiceover/english/human_eco_evil_badkid/ft/eco/evil/human_eco_evil_badkid_pig_gm_9fa4475d.mp3", "Run ya swine. Run!", "wave", 1654188343, 2070658176, Spawn)
  36. end
  37. elseif Catchase == true then
  38. if math.random(1,100)<75 then
  39. PlayFlavor(NPC, "voiceover/english/human_eco_good_annoyingkid/ft/eco/good/human_eco_good_annoyingkid_cat_gm_fdc32a9.mp3", "Come back here kitty!", "wave", 204283170, 334524744, Spawn)
  40. end
  41. else
  42. if math.random(1,100)<40 then
  43. local choice = math.random(1,3)
  44. if choice == 1 then
  45. FaceTarget(NPC,Spawn)
  46. PlayFlavor(NPC, "voiceover/english/human_eco_evil_badkid/ft/eco/evil/human_eco_evil_badkid_idle_gm_f99b7170.mp3", "I'm bored! Won't anybody give me attention?", "pout", 3445293505, 1372827083, Spawn)
  47. elseif choice == 2 then
  48. FaceTarget(NPC,Spawn)
  49. PlayFlavor(NPC, "voiceover/english/human_eco_good_annoyingkid/ft/eco/good/human_eco_good_annoyingkid_hail_gm_5674cc18.mp3", "Have you seen a Gnoll before?", "stare", 3064755312, 374536170, Spawn)
  50. elseif choice == 3 then
  51. FaceTarget(NPC,Spawn)
  52. PlayFlavor(NPC, "voiceover/english/human_eco_good_annoyingkid/ft/eco/good/human_eco_good_annoyingkid_hail_gm_110eef44.mp3", "Have you been inside the castle? I want to go there someday!", "smile", 2372987392, 3554768792, Spawn)
  53. end
  54. end
  55. end
  56. end
  57. function respawn(NPC)
  58. spawn(NPC)
  59. end
  60. function waypoints(NPC)
  61. MovementLoopAddLocation(NPC, 634.92, -22.43, 363.3, 2, 15)
  62. MovementLoopAddLocation(NPC, 635.46, -22.38, 357.35, 2, 0)
  63. MovementLoopAddLocation(NPC, 637.92, -22.33, 350.12, 2, 0)
  64. MovementLoopAddLocation(NPC, 642.96, -22.32, 343.15, 2, 0)
  65. MovementLoopAddLocation(NPC, 648.82, -22.32, 335.03, 2, 0)
  66. MovementLoopAddLocation(NPC, 651.41, -22.32, 332.37, 2, 15)
  67. MovementLoopAddLocation(NPC, 653.89, -22.31, 332.66, 2, 0)
  68. MovementLoopAddLocation(NPC, 661.08, -22.49, 336.06, 2, 0)
  69. MovementLoopAddLocation(NPC, 667.46, -22.84, 339.69, 2, 0)
  70. MovementLoopAddLocation(NPC, 670.24, -24.13, 344.98, 2, 0)
  71. MovementLoopAddLocation(NPC, 668.91, -24.43, 346.75, 2, 0)
  72. MovementLoopAddLocation(NPC, 662.86, -24.84, 356.93, 2, 0)
  73. MovementLoopAddLocation(NPC, 658.4, -24.8, 361.98, 2, 0)
  74. MovementLoopAddLocation(NPC, 655.21, -24.82, 361.93, 2, 1)
  75. MovementLoopAddLocation(NPC, 655.21, -24.82, 361.93, 2, 2,"neener")
  76. MovementLoopAddLocation(NPC, 655.21, -24.82, 361.93, 2, 2,"PigSqueal")
  77. MovementLoopAddLocation(NPC, 655.21, -24.82, 361.93, 2, 1,"Pig")
  78. MovementLoopAddLocation(NPC, 655.21, -24.82, 361.93, 2, 1)
  79. MovementLoopAddLocation(NPC, 649.77, -24.71, 366.83, 6, 0)
  80. MovementLoopAddLocation(NPC, 644.8, -24.73, 372.06, 6, 0)
  81. MovementLoopAddLocation(NPC, 640.61, -24.81, 376.47, 6, 0)
  82. MovementLoopAddLocation(NPC, 632.58, -25.04, 377.13, 6, 0)
  83. MovementLoopAddLocation(NPC, 621.22, -25.9, 376.4, 6, 0)
  84. MovementLoopAddLocation(NPC, 609.43, -26.46, 375.28, 6, 0)
  85. MovementLoopAddLocation(NPC, 606.95, -25.39, 369.76, 6, 0)
  86. MovementLoopAddLocation(NPC, 605.27, -21.94, 361.95, 6, 0)
  87. MovementLoopAddLocation(NPC, 605.07, -20.69, 356.65, 6, 0)
  88. MovementLoopAddLocation(NPC, 604.79, -20.56, 349.65, 6, 0)
  89. MovementLoopAddLocation(NPC, 595.08, -20.26, 347.28, 6, 0)
  90. MovementLoopAddLocation(NPC, 581.54, -20.31, 344.05, 6, 1)
  91. -- MovementLoopAddLocation(NPC, 574.34, -20.41, 340.73, 6, 0)
  92. -- MovementLoopAddLocation(NPC, 575.72, -20.41, 340.74, 6, 0)
  93. MovementLoopAddLocation(NPC, 591.25, -20.33, 344.83, 6, 0)
  94. MovementLoopAddLocation(NPC, 599.61, -20.68, 346.92, 6, 0)
  95. MovementLoopAddLocation(NPC, 603.49, -20.79, 344.01, 6, 0)
  96. MovementLoopAddLocation(NPC, 606.63, -20.7, 335.27, 6, 0)
  97. MovementLoopAddLocation(NPC, 609.71, -20.71, 329.38, 6, 0)
  98. MovementLoopAddLocation(NPC, 614.88, -20.61, 322.42, 6, 0)
  99. MovementLoopAddLocation(NPC, 620.45, -20.53, 315.89, 6, 0)
  100. MovementLoopAddLocation(NPC, 626.89, -20.55, 310.13, 6, 0)
  101. MovementLoopAddLocation(NPC, 637, -20.67, 304.93, 6, 0)
  102. MovementLoopAddLocation(NPC, 646.49, -20.48, 300.08, 6, 0)
  103. MovementLoopAddLocation(NPC, 654.5, -20.42, 297, 6, 0)
  104. MovementLoopAddLocation(NPC, 659.34, -20.42, 297.46, 6, 0)
  105. MovementLoopAddLocation(NPC, 660.54, -20.42, 299.88, 6, 2,"PigReset")
  106. MovementLoopAddLocation(NPC, 660.54, -20.42, 299.88, 6, 1,"TargetReset")
  107. MovementLoopAddLocation(NPC, 670.98, -20.25, 306.57, 2, 15)
  108. MovementLoopAddLocation(NPC, 671.71, -20.25, 307.77, 2, 0)
  109. MovementLoopAddLocation(NPC, 671.22, -20.32, 309.29, 2, 0)
  110. MovementLoopAddLocation(NPC, 672.09, -20.42, 316.63, 2, 0)
  111. MovementLoopAddLocation(NPC, 672.79, -20.43, 318.77, 2, 0)
  112. MovementLoopAddLocation(NPC, 674.99, -20.43, 319.12, 2, 1)
  113. MovementLoopAddLocation(NPC, 674.99, -20.43, 319.12, 2, 15,"neener")
  114. MovementLoopAddLocation(NPC, 675.62, -20.42, 319.34, 2, 0)
  115. MovementLoopAddLocation(NPC, 672.4, -20.43, 322.16, 2, 0)
  116. MovementLoopAddLocation(NPC, 664.63, -20.44, 327.29, 2, 0)
  117. MovementLoopAddLocation(NPC, 659, -22.28, 329.43, 2, 0)
  118. MovementLoopAddLocation(NPC, 654.27, -22.31, 330.52, 2, 0)
  119. MovementLoopAddLocation(NPC, 650.45, -22.32, 333.47, 2, 0)
  120. MovementLoopAddLocation(NPC, 643.69, -22.32, 341.68, 2, 0)
  121. MovementLoopAddLocation(NPC, 640.43, -22.32, 345.62, 2, 0)
  122. MovementLoopAddLocation(NPC, 638.23, -22.33, 350.33, 2, 0)
  123. MovementLoopAddLocation(NPC, 638.41, -22.4, 354.07, 2, 1)
  124. MovementLoopAddLocation(NPC, 638.41, -22.4, 354.07, 2, 15,"neener")
  125. MovementLoopAddLocation(NPC, 636.95, -22.4, 356.32, 2, 0)
  126. MovementLoopAddLocation(NPC, 635.52, -22.42, 362.85, 2, 0)
  127. MovementLoopAddLocation(NPC, 635.29, -22.41, 367.14, 2, 0)
  128. MovementLoopAddLocation(NPC, 635.92, -22.33, 368.93, 2, 0)
  129. MovementLoopAddLocation(NPC, 639.55, -23.13, 368.54, 2, 0)
  130. MovementLoopAddLocation(NPC, 644.21, -24.82, 366.59, 2, 0)
  131. MovementLoopAddLocation(NPC, 645.42, -24.84, 363.59, 2, 1)
  132. MovementLoopAddLocation(NPC, 645.42, -24.84, 363.59, 2, 15,"neener")
  133. MovementLoopAddLocation(NPC, 648.14, -24.77, 365.32, 2, 0)
  134. MovementLoopAddLocation(NPC, 645.67, -24.73, 370.53, 2, 0)
  135. MovementLoopAddLocation(NPC, 644.26, -24.74, 373.52, 2, 0)
  136. MovementLoopAddLocation(NPC, 636.33, -24.91, 379.44, 2, 0)
  137. MovementLoopAddLocation(NPC, 629.75, -25.29, 378.56, 2, 0)
  138. MovementLoopAddLocation(NPC, 623.04, -25.59, 373.93, 2, 0)
  139. MovementLoopAddLocation(NPC, 613.39, -26.39, 376.53, 2, 0)
  140. MovementLoopAddLocation(NPC, 604.15, -26.45, 375.29, 2, 0)
  141. MovementLoopAddLocation(NPC, 592.82, -26.08, 376.21, 2, 0)
  142. MovementLoopAddLocation(NPC, 581.35, -26.82, 377.72, 2, 35,"PigMove1")
  143. MovementLoopAddLocation(NPC, 579.81, -26.67, 379.43, 2, 0)
  144. MovementLoopAddLocation(NPC, 585.48, -26.87, 379.46, 2, 0)
  145. MovementLoopAddLocation(NPC, 591.96, -26.3, 377.77, 2, 0)
  146. MovementLoopAddLocation(NPC, 597.4, -26.33, 377.59, 2, 0)
  147. MovementLoopAddLocation(NPC, 598.99, -26.5, 380.39, 2, 15)
  148. MovementLoopAddLocation(NPC, 599.89, -26.52, 381.95, 2, 0)
  149. MovementLoopAddLocation(NPC, 602.15, -26.51, 379.59, 2, 0)
  150. MovementLoopAddLocation(NPC, 611.84, -26.44, 377.32, 2, 0)
  151. MovementLoopAddLocation(NPC, 613.24, -26.41, 377.27, 2, 0)
  152. MovementLoopAddLocation(NPC, 613.54, -26.4, 377.59, 2, 15)
  153. MovementLoopAddLocation(NPC, 614.38, -26.41, 379.18, 2, 0)
  154. MovementLoopAddLocation(NPC, 613.65, -26.38, 376.25, 2, 0)
  155. MovementLoopAddLocation(NPC, 609.25, -25.83, 370.37, 2, 0)
  156. MovementLoopAddLocation(NPC, 606.29, -23.08, 364.38, 2, 0)
  157. MovementLoopAddLocation(NPC, 605.11, -20.69, 356.49, 2, 0)
  158. MovementLoopAddLocation(NPC, 604.56, -20.53, 352.8, 2, 0)
  159. MovementLoopAddLocation(NPC, 601.62, -20.41, 350.55, 2, 0)
  160. MovementLoopAddLocation(NPC, 594.09, -20.28, 346.96, 2, 0)
  161. MovementLoopAddLocation(NPC, 589.24, -19.27, 350.01, 2, 0)
  162. MovementLoopAddLocation(NPC, 586.03, -19.24, 349.79, 2, 0)
  163. MovementLoopAddLocation(NPC, 578.7, -19.28, 348.29, 2, 0)
  164. MovementLoopAddLocation(NPC, 575.28, -19.18, 350.79, 2, 0)
  165. MovementLoopAddLocation(NPC, 571.98, -18.96, 355.52, 2, 0)
  166. MovementLoopAddLocation(NPC, 571.12, -18.94, 357.1, 2, 0)
  167. MovementLoopAddLocation(NPC, 570.91, -19.02, 363.37, 2, 1)
  168. MovementLoopAddLocation(NPC, 570.91, -19.02, 363.37, 2, 15,"neener")
  169. MovementLoopAddLocation(NPC, 570.84, -19.12, 364.39, 2, 0)
  170. MovementLoopAddLocation(NPC, 570.02, -18.97, 359.15, 2, 0)
  171. MovementLoopAddLocation(NPC, 571.21, -18.85, 353.21, 2, 0)
  172. MovementLoopAddLocation(NPC, 574.09, -19.13, 350.81, 2, 0)
  173. MovementLoopAddLocation(NPC, 577.43, -19.29, 349.12, 2, 0)
  174. MovementLoopAddLocation(NPC, 580.33, -19.22, 348.68, 2, 0)
  175. MovementLoopAddLocation(NPC, 588.84, -19.23, 350.49, 2, 0)
  176. MovementLoopAddLocation(NPC, 593, -20.29, 346.95, 2, 0)
  177. MovementLoopAddLocation(NPC, 601.88, -20.77, 344.48, 2, 0)
  178. MovementLoopAddLocation(NPC, 605.8, -20.66, 334.46, 2, 0)
  179. MovementLoopAddLocation(NPC, 610.53, -20.72, 326.47, 2, 0)
  180. MovementLoopAddLocation(NPC, 620.65, -20.38, 322.33, 2, 15,"PigMove2")
  181. MovementLoopAddLocation(NPC, 620.65, -20.38, 322.33, 2, 0)
  182. MovementLoopAddLocation(NPC, 618.62, -20.51, 321.01, 2, 0)
  183. MovementLoopAddLocation(NPC, 617.7, -20.54, 317.4, 2, 0)
  184. MovementLoopAddLocation(NPC, 623.85, -20.5, 311.39, 2, 0)
  185. MovementLoopAddLocation(NPC, 629.39, -20.58, 308.95, 2, 0)
  186. MovementLoopAddLocation(NPC, 640.84, -20.61, 301.91, 2, 0)
  187. MovementLoopAddLocation(NPC, 647.21, -20.48, 298.36, 2, 0)
  188. MovementLoopAddLocation(NPC, 654.05, -20.42, 295.79, 2, 0)
  189. MovementLoopAddLocation(NPC, 661.43, -20.29, 294.29, 2, 0)
  190. MovementLoopAddLocation(NPC, 644.74, -20.51, 300.42, 2, 2,"Cat")
  191. MovementLoopAddLocation(NPC, 629.75, -20.6, 308.67, 6, 0)
  192. MovementLoopAddLocation(NPC, 618.17, -20.55, 317.94, 6, 0)
  193. MovementLoopAddLocation(NPC, 609.25, -20.61, 331.62, 6, 0)
  194. MovementLoopAddLocation(NPC, 606.39, -20.8, 341.18, 6, 0)
  195. MovementLoopAddLocation(NPC, 602.99, -20.44, 351.8, 6, 2,"CatReset")
  196. MovementLoopAddLocation(NPC, 603.21, -20.49, 351.42, 2, 0)
  197. MovementLoopAddLocation(NPC, 605.02, -21.5, 361, 2, 0)
  198. MovementLoopAddLocation(NPC, 611.4, -26.41, 372.52, 2, 0)
  199. MovementLoopAddLocation(NPC, 613.51, -26.36, 373.25, 2, 0)
  200. MovementLoopAddLocation(NPC, 619.96, -25.8, 371.81, 2, 0)
  201. MovementLoopAddLocation(NPC, 626.81, -25, 369.75, 2, 0)
  202. MovementLoopAddLocation(NPC, 634.69, -22.32, 369.85, 2, 0)
  203. end
  204. function Cat(NPC)
  205. Catchase = true
  206. end
  207. function CatReset(NPC)
  208. Catchase = false
  209. end
  210. function PigReset(NPC)
  211. Pigchase = false
  212. end
  213. function TargetReset(NPC)
  214. SetTarget(NPC,nil)
  215. end
  216. function PigSqueal(NPC)
  217. local pig = GetSpawn(NPC,2330002)
  218. if pig ~=nil then
  219. PlayFlavor(pig,"","","attack",0,0)
  220. end
  221. end
  222. function neener(NPC)
  223. local choice = math.random(1,3)
  224. if choice == 1 then
  225. PlayAnimation(NPC,11880)
  226. elseif choice == 2 then
  227. PlayFlavor(NPC,"","","peer",0,0)
  228. elseif choice == 2 then
  229. PlayFlavor(NPC,"","","ponder",0,0)
  230. end
  231. end
  232. function Pig(NPC)
  233. Pigchase = true
  234. local pig = GetSpawn(NPC,2330002)
  235. if pig ~=nil then
  236. SetTarget(NPC,pig)
  237. PlayFlavor(pig,"","","attack",0,0)
  238. MoveToLocation(pig, 649.77, -24.71, 366.83, 6)
  239. MoveToLocation(pig, 644.8, -24.73, 372.06, 6)
  240. MoveToLocation(pig, 640.61, -24.81, 376.47, 6)
  241. MoveToLocation(pig, 632.58, -25.04, 377.13, 6)
  242. MoveToLocation(pig, 621.22, -25.9, 376.4, 6)
  243. MoveToLocation(pig, 609.43, -26.46, 375.28, 6)
  244. MoveToLocation(pig, 606.95, -25.39, 369.76, 6)
  245. MoveToLocation(pig, 605.27, -21.94, 361.95, 6)
  246. MoveToLocation(pig, 605.07, -20.69, 356.65, 6)
  247. MoveToLocation(pig, 604.79, -20.56, 349.65, 6)
  248. MoveToLocation(pig, 595.08, -20.26, 347.28, 6)
  249. MoveToLocation(pig, 581.54, -20.31, 344.05, 6)
  250. MoveToLocation(pig, 574.34, -20.41, 340.73, 6)
  251. MoveToLocation(pig, 575.72, -20.41, 340.74, 6)
  252. MoveToLocation(pig, 591.25, -20.33, 344.83, 6)
  253. MoveToLocation(pig, 599.61, -20.68, 346.92, 6)
  254. MoveToLocation(pig, 603.49, -20.79, 344.01, 6)
  255. MoveToLocation(pig, 606.63, -20.7, 335.27, 6)
  256. MoveToLocation(pig, 609.71, -20.71, 329.38, 6)
  257. MoveToLocation(pig, 614.88, -20.61, 322.42, 6)
  258. MoveToLocation(pig, 620.45, -20.53, 315.89, 6)
  259. MoveToLocation(pig, 626.89, -20.55, 310.13, 6)
  260. MoveToLocation(pig, 637, -20.67, 304.93, 6)
  261. MoveToLocation(pig, 646.49, -20.48, 300.08, 6)
  262. MoveToLocation(pig, 654.5, -20.42, 297, 6)
  263. MoveToLocation(pig, 659.34, -20.42, 297.46, 6)
  264. MoveToLocation(pig, 660.54, -20.42, 299.88, 6)
  265. MoveToLocation(pig, 673.12, -19.93, 290.49, 6)
  266. MoveToLocation(pig, 672.45, -19.97, 288.59, 2)
  267. MoveToLocation(pig, 672.00, -19.94, 289.72, 1)
  268. MoveToLocation(pig, 672.00, -19.94, 289.72, 1)
  269. end
  270. end
  271. function PigTimer1(NPC)
  272. AddTimer(NPC,45000,"PigMove1")
  273. end
  274. function PigMove1(NPC)
  275. local pig = GetSpawn(NPC,2330002)
  276. if pig ~=nil then
  277. MoveToLocation(pig, 671.29, -19.94, 292.2, 1)
  278. MoveToLocation(pig, 669.94, -20.12, 297.74, 1)
  279. MoveToLocation(pig, 669.86, -20.25, 305.66, 1)
  280. MoveToLocation(pig, 670.41, -20.42, 312.35, 1)
  281. MoveToLocation(pig, 671.77, -20.42, 317.79, 1)
  282. MoveToLocation(pig, 671.49, -20.43, 321.41, 1)
  283. MoveToLocation(pig, 667.06, -20.44, 324.92, 1)
  284. MoveToLocation(pig, 665.14, -20.44, 326.46, 1)
  285. MoveToLocation(pig, 658.32, -22.28, 328.34, 1)
  286. MoveToLocation(pig, 658.79, -22.29, 331.04, 1)
  287. MoveToLocation(pig, 658.97, -22.31, 332.07, 1)
  288. MoveToLocation(pig, 663.87, -22.27, 334.31, 1)
  289. MoveToLocation(pig, 665.19, -22.16, 334.69, 1,"PigTimer2")
  290. end
  291. end
  292. function PigTimer2(NPC)
  293. AddTimer(NPC,65000,"PigMove2")
  294. end
  295. function PigMove2(NPC)
  296. local pig = GetSpawn(NPC,2330002)
  297. if pig ~=nil then
  298. MoveToLocation(pig, 666.27, -22.32, 336.64, 1)
  299. MoveToLocation(pig, 668.8, -22.59, 339.29, 1)
  300. MoveToLocation(pig, 671.01, -23.17, 341.6, 1)
  301. MoveToLocation(pig, 672.05, -24.06, 345.08, 1)
  302. MoveToLocation(pig, 670.15, -24.63, 348.84, 1)
  303. MoveToLocation(pig, 666.9, -24.83, 353.34, 1)
  304. MoveToLocation(pig, 665.02, -24.84, 355.95, 1)
  305. MoveToLocation(pig, 663.44, -24.84, 358.14, 1)
  306. MoveToLocation(pig, 661.44, -24.83, 359.95, 1)
  307. MoveToLocation(pig, 657.94, -24.79, 362.44, 1)
  308. MoveToLocation(pig, 655.28, -24.8, 363.1, 1)
  309. MoveToLocation(pig, 653.53, -24.8, 363.54, 1)
  310. MoveToLocation(pig, 650.86, -24.83, 363.13, 1)
  311. MoveToLocation(pig, 648.4, -24.84, 363.1, 1)
  312. MoveToLocation(pig, 648.03, -24.83, 363.87, 1)
  313. end
  314. end