--[[ Script Name : SpawnScripts/Frostfell/MarieAillene55282.lua Script Purpose : Waypoint Path for MarieAillene55282.lua Script Author : Rylec Script Date : 11-30-2019 03:16:50 Script Notes : Locations collected from ZAM --]] function spawn(NPC) SetPlayerProximityFunction(NPC, 10, "InRange") waypoints(NPC) end function InRange(NPC, Spawn) local rand = math.random(1,3) if rand==1 then Say(NPC, "Coming through!") end if rand==2 then Say(NPC, "Bligget! Teehehehehe") end if rand==3 then Say(NPC, "On your left!") end end function hailed(NPC, Spawn) Say(NPC, "Try to follow! Teehehehehe") --text created by Rylec, not on Live end function respawn(NPC) end function waypoints(NPC) MovementLoopAddLocation(NPC, 435, -38.97, -1663, 7, 0) MovementLoopAddLocation(NPC, 507.08, -38.97, -1632.31, 7, 0) MovementLoopAddLocation(NPC, 523.9, -38.97, -1620.31, 7, 0) MovementLoopAddLocation(NPC, 537.87, -38.97, -1597.73, 7, 0) MovementLoopAddLocation(NPC, 544.56, -38.97, -1558.98, 7, 0) MovementLoopAddLocation(NPC, 526.88, -38.97, -1526.03, 7, 0) MovementLoopAddLocation(NPC, 523.09, -38.97, -1510.05, 7, 0) MovementLoopAddLocation(NPC, 522.48, -38.97, -1489.72, 7, 0) MovementLoopAddLocation(NPC, 529.92, -38.97, -1453.17, 7, 0) MovementLoopAddLocation(NPC, 540.32, -37.93, -1413.4, 7, 0) MovementLoopAddLocation(NPC, 530.45, -37.95, -1388.57, 7, 0) MovementLoopAddLocation(NPC, 512.49, -38.97, -1364.58, 7, 0) MovementLoopAddLocation(NPC, 481.93, -37.95, -1345, 7, 0) MovementLoopAddLocation(NPC, 467.23, -38.97, -1330.83, 7, 0) MovementLoopAddLocation(NPC, 459.8, -38.97, -1308.4, 7, 0) MovementLoopAddLocation(NPC, 459.95, -38.97, -1286.99, 7, 0) MovementLoopAddLocation(NPC, 467.14, -38.97, -1272.86, 7, 0) MovementLoopAddLocation(NPC, 479, -38.97, -1253, 7, 0) MovementLoopAddLocation(NPC, 473, -38.97, -1244, 7, 0) MovementLoopAddLocation(NPC, 462, -38.97, -1244, 7, 0) MovementLoopAddLocation(NPC, 457, -38.97, -1256, 7, 0) MovementLoopAddLocation(NPC, 460, -38.97, -1264, 7, 0) MovementLoopAddLocation(NPC, 467.69, -38.97, -1263.33, 7, 0) MovementLoopAddLocation(NPC, 471, -38.97, -1261, 7, 0) MovementLoopAddLocation(NPC, 479, -38.97, -1243, 7, 0) MovementLoopAddLocation(NPC, 467, -38.97, -1210, 7, 0) MovementLoopAddLocation(NPC, 430.84, -38.97, -1181.84, 7, 0) MovementLoopAddLocation(NPC, 420.76, -38.97, -1183.98, 7, 0) MovementLoopAddLocation(NPC, 409.18, -38.97, -1188.84, 7, 0) MovementLoopAddLocation(NPC, 393.5, -38.97, -1199.94, 7, 0) MovementLoopAddLocation(NPC, 390.28, -38.97, -1211.32, 7, 0) MovementLoopAddLocation(NPC, 389.98, -38.97, -1226.06, 7, 0) MovementLoopAddLocation(NPC, 394.68, -38.97, -1242.09, 7, 0) MovementLoopAddLocation(NPC, 394.59, -38.97, -1256.21, 7, 0) MovementLoopAddLocation(NPC, 389.82, -38.97, -1270.07, 7, 0) MovementLoopAddLocation(NPC, 377.13, -38.97, -1282.52, 7, 0) MovementLoopAddLocation(NPC, 373, -38.97, -1286, 7, 0) MovementLoopAddLocation(NPC, 338, -38.97, -1299, 7, 0) MovementLoopAddLocation(NPC, 288, -38.97, -1288, 7, 0) MovementLoopAddLocation(NPC, 263, -38.97, -1267, 7, 0) MovementLoopAddLocation(NPC, 258, -38.97, -1245, 7, 0) MovementLoopAddLocation(NPC, 246, -38.97, -1232, 7, 0) MovementLoopAddLocation(NPC, 222, -38.97, -1230, 7, 0) MovementLoopAddLocation(NPC, 193.94, -38.97, -1236.96, 7, 0) MovementLoopAddLocation(NPC, 184.89, -38.97, -1244.06, 7, 0) MovementLoopAddLocation(NPC, 174.47, -38.97, -1271.83, 7, 0) MovementLoopAddLocation(NPC, 179.23, -38.97, -1287.41, 7, 0) MovementLoopAddLocation(NPC, 187.48, -38.97, -1297.1, 7, 0) MovementLoopAddLocation(NPC, 208, -38.97, -1317, 7, 0) MovementLoopAddLocation(NPC, 213.93, -38.97, -1347.86, 7, 0) MovementLoopAddLocation(NPC, 214, -38.97, -1372, 7, 0) MovementLoopAddLocation(NPC, 207.65, -38.97, -1383.39, 7, 0) MovementLoopAddLocation(NPC, 190, -38.97, -1400, 7, 0) MovementLoopAddLocation(NPC, 165, -38.97, -1407, 7, 0) MovementLoopAddLocation(NPC, 146, -38.97, -1426, 7, 0) MovementLoopAddLocation(NPC, 148, -38.97, -1434, 7, 0) MovementLoopAddLocation(NPC, 155, -38.97, -1438, 7, 0) MovementLoopAddLocation(NPC, 164, -38.97, -1436, 7, 0) MovementLoopAddLocation(NPC, 168, -38.97, -1428, 7, 0) MovementLoopAddLocation(NPC, 163, -38.97, -1421, 7, 0) MovementLoopAddLocation(NPC, 141, -38.97, -1413, 7, 0) MovementLoopAddLocation(NPC, 122, -38.97, -1399, 7, 0) MovementLoopAddLocation(NPC, 108, -38.97, -1361, 7, 0) MovementLoopAddLocation(NPC, 115.05, -38.97, -1333.81, 7, 0) MovementLoopAddLocation(NPC, 116.36, -38.97, -1322.76, 7, 0) MovementLoopAddLocation(NPC, 114.04, -38.97, -1314.74, 7, 0) MovementLoopAddLocation(NPC, 106.89, -38.97, -1312.86, 7, 0) MovementLoopAddLocation(NPC, 104.15, -38.97, -1316.82, 7, 0) MovementLoopAddLocation(NPC, 105.96, -38.97, -1320.84, 7, 0) MovementLoopAddLocation(NPC, 111.45, -38.97, -1321.45, 7, 0) MovementLoopAddLocation(NPC, 116.92, -38.97, -1317.69, 7, 0) MovementLoopAddLocation(NPC, 117.47, -38.97, -1310.9, 7, 0) MovementLoopAddLocation(NPC, 116.95, -38.97, -1306.36, 7, 0) MovementLoopAddLocation(NPC, 108.44, -38.97, -1298.04, 7, 0) MovementLoopAddLocation(NPC, 99.5, -38.97, -1298.12, 7, 0) MovementLoopAddLocation(NPC, 96.53, -38.97, -1300.87, 7, 0) MovementLoopAddLocation(NPC, 97.04, -38.97, -1305.83, 7, 0) MovementLoopAddLocation(NPC, 102.78, -38.97, -1306.33, 7, 0) MovementLoopAddLocation(NPC, 106.38, -38.97, -1304.61, 7, 0) MovementLoopAddLocation(NPC, 107.64, -38.97, -1294.13, 7, 0) MovementLoopAddLocation(NPC, 64.43, -38.97, -1268.21, 7, 0) MovementLoopAddLocation(NPC, 52.5, -38.97, -1264.16, 7, 0) MovementLoopAddLocation(NPC, 46.04, -38.97, -1264.32, 7, 0) MovementLoopAddLocation(NPC, 40.22, -38.97, -1270.19, 7, 0) MovementLoopAddLocation(NPC, 39.01, -38.97, -1276.34, 7, 0) MovementLoopAddLocation(NPC, 48.7, -38.97, -1285.99, 7, 0) MovementLoopAddLocation(NPC, 62.44, -38.97, -1290.03, 7, 0) MovementLoopAddLocation(NPC, 70.31, -38.97, -1284.11, 7, 0) MovementLoopAddLocation(NPC, 64.63, -38.97, -1273.66, 7, 0) MovementLoopAddLocation(NPC, 54.68, -38.97, -1268.77, 7, 0) MovementLoopAddLocation(NPC, 48.75, -38.97, -1270.88, 7, 0) MovementLoopAddLocation(NPC, 46.19, -38.97, -1276.45, 7, 0) MovementLoopAddLocation(NPC, 49.37, -38.97, -1289.06, 7, 0) MovementLoopAddLocation(NPC, 60, -38.97, -1310, 7, 0) MovementLoopAddLocation(NPC, 34.41, -38.97, -1384.38, 7, 0) MovementLoopAddLocation(NPC, 5, -38.97, -1435, 7, 0) MovementLoopAddLocation(NPC, -3, -38.97, -1458, 7, 0) MovementLoopAddLocation(NPC, 1, -38.97, -1491, 7, 0) MovementLoopAddLocation(NPC, 20, -38.97, -1578, 7, 0) MovementLoopAddLocation(NPC, 25.09, -38.97, -1582.9, 7, 0) MovementLoopAddLocation(NPC, 34, -38.97, -1585, 7, 0) MovementLoopAddLocation(NPC, 39.28, -38.97, -1583.17, 7, 0) MovementLoopAddLocation(NPC, 42, -38.97, -1578, 7, 0) MovementLoopAddLocation(NPC, 44.25, -38.97, -1568.69, 7, 0) MovementLoopAddLocation(NPC, 39, -38.97, -1563, 7, 0) MovementLoopAddLocation(NPC, 23, -38.97, -1558, 7, 0) MovementLoopAddLocation(NPC, 18.93, -38.97, -1562.59, 7, 0) MovementLoopAddLocation(NPC, 17.19, -38.97, -1573.97, 7, 0) MovementLoopAddLocation(NPC, 24, -38.97, -1639, 7, 0) MovementLoopAddLocation(NPC, 38, -38.97, -1698, 7, 0) MovementLoopAddLocation(NPC, 54, -38.97, -1711, 7, 0) MovementLoopAddLocation(NPC, 84, -38.97, -1720, 7, 0) MovementLoopAddLocation(NPC, 108.48, -38.97, -1713.46, 7, 0) MovementLoopAddLocation(NPC, 125.79, -38.97, -1694.67, 7, 0) MovementLoopAddLocation(NPC, 136, -38.97, -1667, 7, 0) MovementLoopAddLocation(NPC, 132, -38.97, -1642, 7, 0) MovementLoopAddLocation(NPC, 103, -38.97, -1593, 7, 0) MovementLoopAddLocation(NPC, 100.75, -38.97, -1580.24, 7, 0) MovementLoopAddLocation(NPC, 106.6, -38.97, -1550.78, 7, 0) MovementLoopAddLocation(NPC, 128.24, -38.97, -1512.57, 7, 0) MovementLoopAddLocation(NPC, 139.26, -38.97, -1506.89, 7, 0) MovementLoopAddLocation(NPC, 162.02, -38.97, -1504.6, 7, 0) MovementLoopAddLocation(NPC, 175.15, -38.97, -1506.99, 7, 0) MovementLoopAddLocation(NPC, 174 -38.97, -1507, 7, 0) MovementLoopAddLocation(NPC, 236, -38.97, -1553, 7, 0) MovementLoopAddLocation(NPC, 257, -38.97, -1553, 7, 0) MovementLoopAddLocation(NPC, 278, -38.97, -1531, 7, 0) MovementLoopAddLocation(NPC, 272, -38.97, -1515, 7, 0) MovementLoopAddLocation(NPC, 243, -38.97, -1511, 7, 0) MovementLoopAddLocation(NPC, 223, -38.97, -1524, 7, 0) MovementLoopAddLocation(NPC, 218, -38.97, -1542, 7, 0) MovementLoopAddLocation(NPC, 230.14, -38.97, -1570.97, 7, 0) MovementLoopAddLocation(NPC, 242.81, -38.97, -1590.55, 7, 0) MovementLoopAddLocation(NPC, 328, -38.97, -1652, 7, 0) MovementLoopAddLocation(NPC, 353, -38.97, -1660, 7, 0) end