MarieAillene55282.lua 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. --[[
  2. Script Name : SpawnScripts/Frostfell/MarieAillene55282.lua
  3. Script Purpose : Waypoint Path for MarieAillene55282.lua
  4. Script Author : Rylec
  5. Script Date : 11-30-2019 03:16:50
  6. Script Notes : Locations collected from ZAM
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange")
  10. waypoints(NPC)
  11. end
  12. function InRange(NPC, Spawn)
  13. local rand = math.random(1,3)
  14. if rand==1 then
  15. Say(NPC, "Coming through!")
  16. end
  17. if rand==2 then
  18. Say(NPC, "Bligget! Teehehehehe")
  19. end
  20. if rand==3 then
  21. Say(NPC, "On your left!")
  22. end
  23. end
  24. function hailed(NPC, Spawn)
  25. Say(NPC, "Try to follow! Teehehehehe") --text created by Rylec, not on Live
  26. end
  27. function respawn(NPC)
  28. end
  29. function waypoints(NPC)
  30. MovementLoopAddLocation(NPC, 435, -38.97, -1663, 7, 0)
  31. MovementLoopAddLocation(NPC, 507.08, -38.97, -1632.31, 7, 0)
  32. MovementLoopAddLocation(NPC, 523.9, -38.97, -1620.31, 7, 0)
  33. MovementLoopAddLocation(NPC, 537.87, -38.97, -1597.73, 7, 0)
  34. MovementLoopAddLocation(NPC, 544.56, -38.97, -1558.98, 7, 0)
  35. MovementLoopAddLocation(NPC, 526.88, -38.97, -1526.03, 7, 0)
  36. MovementLoopAddLocation(NPC, 523.09, -38.97, -1510.05, 7, 0)
  37. MovementLoopAddLocation(NPC, 522.48, -38.97, -1489.72, 7, 0)
  38. MovementLoopAddLocation(NPC, 529.92, -38.97, -1453.17, 7, 0)
  39. MovementLoopAddLocation(NPC, 540.32, -37.93, -1413.4, 7, 0)
  40. MovementLoopAddLocation(NPC, 530.45, -37.95, -1388.57, 7, 0)
  41. MovementLoopAddLocation(NPC, 512.49, -38.97, -1364.58, 7, 0)
  42. MovementLoopAddLocation(NPC, 481.93, -37.95, -1345, 7, 0)
  43. MovementLoopAddLocation(NPC, 467.23, -38.97, -1330.83, 7, 0)
  44. MovementLoopAddLocation(NPC, 459.8, -38.97, -1308.4, 7, 0)
  45. MovementLoopAddLocation(NPC, 459.95, -38.97, -1286.99, 7, 0)
  46. MovementLoopAddLocation(NPC, 467.14, -38.97, -1272.86, 7, 0)
  47. MovementLoopAddLocation(NPC, 479, -38.97, -1253, 7, 0)
  48. MovementLoopAddLocation(NPC, 473, -38.97, -1244, 7, 0)
  49. MovementLoopAddLocation(NPC, 462, -38.97, -1244, 7, 0)
  50. MovementLoopAddLocation(NPC, 457, -38.97, -1256, 7, 0)
  51. MovementLoopAddLocation(NPC, 460, -38.97, -1264, 7, 0)
  52. MovementLoopAddLocation(NPC, 467.69, -38.97, -1263.33, 7, 0)
  53. MovementLoopAddLocation(NPC, 471, -38.97, -1261, 7, 0)
  54. MovementLoopAddLocation(NPC, 479, -38.97, -1243, 7, 0)
  55. MovementLoopAddLocation(NPC, 467, -38.97, -1210, 7, 0)
  56. MovementLoopAddLocation(NPC, 430.84, -38.97, -1181.84, 7, 0)
  57. MovementLoopAddLocation(NPC, 420.76, -38.97, -1183.98, 7, 0)
  58. MovementLoopAddLocation(NPC, 409.18, -38.97, -1188.84, 7, 0)
  59. MovementLoopAddLocation(NPC, 393.5, -38.97, -1199.94, 7, 0)
  60. MovementLoopAddLocation(NPC, 390.28, -38.97, -1211.32, 7, 0)
  61. MovementLoopAddLocation(NPC, 389.98, -38.97, -1226.06, 7, 0)
  62. MovementLoopAddLocation(NPC, 394.68, -38.97, -1242.09, 7, 0)
  63. MovementLoopAddLocation(NPC, 394.59, -38.97, -1256.21, 7, 0)
  64. MovementLoopAddLocation(NPC, 389.82, -38.97, -1270.07, 7, 0)
  65. MovementLoopAddLocation(NPC, 377.13, -38.97, -1282.52, 7, 0)
  66. MovementLoopAddLocation(NPC, 373, -38.97, -1286, 7, 0)
  67. MovementLoopAddLocation(NPC, 338, -38.97, -1299, 7, 0)
  68. MovementLoopAddLocation(NPC, 288, -38.97, -1288, 7, 0)
  69. MovementLoopAddLocation(NPC, 263, -38.97, -1267, 7, 0)
  70. MovementLoopAddLocation(NPC, 258, -38.97, -1245, 7, 0)
  71. MovementLoopAddLocation(NPC, 246, -38.97, -1232, 7, 0)
  72. MovementLoopAddLocation(NPC, 222, -38.97, -1230, 7, 0)
  73. MovementLoopAddLocation(NPC, 193.94, -38.97, -1236.96, 7, 0)
  74. MovementLoopAddLocation(NPC, 184.89, -38.97, -1244.06, 7, 0)
  75. MovementLoopAddLocation(NPC, 174.47, -38.97, -1271.83, 7, 0)
  76. MovementLoopAddLocation(NPC, 179.23, -38.97, -1287.41, 7, 0)
  77. MovementLoopAddLocation(NPC, 187.48, -38.97, -1297.1, 7, 0)
  78. MovementLoopAddLocation(NPC, 208, -38.97, -1317, 7, 0)
  79. MovementLoopAddLocation(NPC, 213.93, -38.97, -1347.86, 7, 0)
  80. MovementLoopAddLocation(NPC, 214, -38.97, -1372, 7, 0)
  81. MovementLoopAddLocation(NPC, 207.65, -38.97, -1383.39, 7, 0)
  82. MovementLoopAddLocation(NPC, 190, -38.97, -1400, 7, 0)
  83. MovementLoopAddLocation(NPC, 165, -38.97, -1407, 7, 0)
  84. MovementLoopAddLocation(NPC, 146, -38.97, -1426, 7, 0)
  85. MovementLoopAddLocation(NPC, 148, -38.97, -1434, 7, 0)
  86. MovementLoopAddLocation(NPC, 155, -38.97, -1438, 7, 0)
  87. MovementLoopAddLocation(NPC, 164, -38.97, -1436, 7, 0)
  88. MovementLoopAddLocation(NPC, 168, -38.97, -1428, 7, 0)
  89. MovementLoopAddLocation(NPC, 163, -38.97, -1421, 7, 0)
  90. MovementLoopAddLocation(NPC, 141, -38.97, -1413, 7, 0)
  91. MovementLoopAddLocation(NPC, 122, -38.97, -1399, 7, 0)
  92. MovementLoopAddLocation(NPC, 108, -38.97, -1361, 7, 0)
  93. MovementLoopAddLocation(NPC, 115.05, -38.97, -1333.81, 7, 0)
  94. MovementLoopAddLocation(NPC, 116.36, -38.97, -1322.76, 7, 0)
  95. MovementLoopAddLocation(NPC, 114.04, -38.97, -1314.74, 7, 0)
  96. MovementLoopAddLocation(NPC, 106.89, -38.97, -1312.86, 7, 0)
  97. MovementLoopAddLocation(NPC, 104.15, -38.97, -1316.82, 7, 0)
  98. MovementLoopAddLocation(NPC, 105.96, -38.97, -1320.84, 7, 0)
  99. MovementLoopAddLocation(NPC, 111.45, -38.97, -1321.45, 7, 0)
  100. MovementLoopAddLocation(NPC, 116.92, -38.97, -1317.69, 7, 0)
  101. MovementLoopAddLocation(NPC, 117.47, -38.97, -1310.9, 7, 0)
  102. MovementLoopAddLocation(NPC, 116.95, -38.97, -1306.36, 7, 0)
  103. MovementLoopAddLocation(NPC, 108.44, -38.97, -1298.04, 7, 0)
  104. MovementLoopAddLocation(NPC, 99.5, -38.97, -1298.12, 7, 0)
  105. MovementLoopAddLocation(NPC, 96.53, -38.97, -1300.87, 7, 0)
  106. MovementLoopAddLocation(NPC, 97.04, -38.97, -1305.83, 7, 0)
  107. MovementLoopAddLocation(NPC, 102.78, -38.97, -1306.33, 7, 0)
  108. MovementLoopAddLocation(NPC, 106.38, -38.97, -1304.61, 7, 0)
  109. MovementLoopAddLocation(NPC, 107.64, -38.97, -1294.13, 7, 0)
  110. MovementLoopAddLocation(NPC, 64.43, -38.97, -1268.21, 7, 0)
  111. MovementLoopAddLocation(NPC, 52.5, -38.97, -1264.16, 7, 0)
  112. MovementLoopAddLocation(NPC, 46.04, -38.97, -1264.32, 7, 0)
  113. MovementLoopAddLocation(NPC, 40.22, -38.97, -1270.19, 7, 0)
  114. MovementLoopAddLocation(NPC, 39.01, -38.97, -1276.34, 7, 0)
  115. MovementLoopAddLocation(NPC, 48.7, -38.97, -1285.99, 7, 0)
  116. MovementLoopAddLocation(NPC, 62.44, -38.97, -1290.03, 7, 0)
  117. MovementLoopAddLocation(NPC, 70.31, -38.97, -1284.11, 7, 0)
  118. MovementLoopAddLocation(NPC, 64.63, -38.97, -1273.66, 7, 0)
  119. MovementLoopAddLocation(NPC, 54.68, -38.97, -1268.77, 7, 0)
  120. MovementLoopAddLocation(NPC, 48.75, -38.97, -1270.88, 7, 0)
  121. MovementLoopAddLocation(NPC, 46.19, -38.97, -1276.45, 7, 0)
  122. MovementLoopAddLocation(NPC, 49.37, -38.97, -1289.06, 7, 0)
  123. MovementLoopAddLocation(NPC, 60, -38.97, -1310, 7, 0)
  124. MovementLoopAddLocation(NPC, 34.41, -38.97, -1384.38, 7, 0)
  125. MovementLoopAddLocation(NPC, 5, -38.97, -1435, 7, 0)
  126. MovementLoopAddLocation(NPC, -3, -38.97, -1458, 7, 0)
  127. MovementLoopAddLocation(NPC, 1, -38.97, -1491, 7, 0)
  128. MovementLoopAddLocation(NPC, 20, -38.97, -1578, 7, 0)
  129. MovementLoopAddLocation(NPC, 25.09, -38.97, -1582.9, 7, 0)
  130. MovementLoopAddLocation(NPC, 34, -38.97, -1585, 7, 0)
  131. MovementLoopAddLocation(NPC, 39.28, -38.97, -1583.17, 7, 0)
  132. MovementLoopAddLocation(NPC, 42, -38.97, -1578, 7, 0)
  133. MovementLoopAddLocation(NPC, 44.25, -38.97, -1568.69, 7, 0)
  134. MovementLoopAddLocation(NPC, 39, -38.97, -1563, 7, 0)
  135. MovementLoopAddLocation(NPC, 23, -38.97, -1558, 7, 0)
  136. MovementLoopAddLocation(NPC, 18.93, -38.97, -1562.59, 7, 0)
  137. MovementLoopAddLocation(NPC, 17.19, -38.97, -1573.97, 7, 0)
  138. MovementLoopAddLocation(NPC, 24, -38.97, -1639, 7, 0)
  139. MovementLoopAddLocation(NPC, 38, -38.97, -1698, 7, 0)
  140. MovementLoopAddLocation(NPC, 54, -38.97, -1711, 7, 0)
  141. MovementLoopAddLocation(NPC, 84, -38.97, -1720, 7, 0)
  142. MovementLoopAddLocation(NPC, 108.48, -38.97, -1713.46, 7, 0)
  143. MovementLoopAddLocation(NPC, 125.79, -38.97, -1694.67, 7, 0)
  144. MovementLoopAddLocation(NPC, 136, -38.97, -1667, 7, 0)
  145. MovementLoopAddLocation(NPC, 132, -38.97, -1642, 7, 0)
  146. MovementLoopAddLocation(NPC, 103, -38.97, -1593, 7, 0)
  147. MovementLoopAddLocation(NPC, 100.75, -38.97, -1580.24, 7, 0)
  148. MovementLoopAddLocation(NPC, 106.6, -38.97, -1550.78, 7, 0)
  149. MovementLoopAddLocation(NPC, 128.24, -38.97, -1512.57, 7, 0)
  150. MovementLoopAddLocation(NPC, 139.26, -38.97, -1506.89, 7, 0)
  151. MovementLoopAddLocation(NPC, 162.02, -38.97, -1504.6, 7, 0)
  152. MovementLoopAddLocation(NPC, 175.15, -38.97, -1506.99, 7, 0)
  153. MovementLoopAddLocation(NPC, 174 -38.97, -1507, 7, 0)
  154. MovementLoopAddLocation(NPC, 236, -38.97, -1553, 7, 0)
  155. MovementLoopAddLocation(NPC, 257, -38.97, -1553, 7, 0)
  156. MovementLoopAddLocation(NPC, 278, -38.97, -1531, 7, 0)
  157. MovementLoopAddLocation(NPC, 272, -38.97, -1515, 7, 0)
  158. MovementLoopAddLocation(NPC, 243, -38.97, -1511, 7, 0)
  159. MovementLoopAddLocation(NPC, 223, -38.97, -1524, 7, 0)
  160. MovementLoopAddLocation(NPC, 218, -38.97, -1542, 7, 0)
  161. MovementLoopAddLocation(NPC, 230.14, -38.97, -1570.97, 7, 0)
  162. MovementLoopAddLocation(NPC, 242.81, -38.97, -1590.55, 7, 0)
  163. MovementLoopAddLocation(NPC, 328, -38.97, -1652, 7, 0)
  164. MovementLoopAddLocation(NPC, 353, -38.97, -1660, 7, 0)
  165. end