--[[ Script Name : SpawnScripts/OutpostOverlord/aMilitiapatroller_A.lua Script Purpose : Waypoint Path for a Militia Patroller A.lua Script Author : Cynnar Script Date : 10/07/2018 11:15:11 PM Script Notes : This is for the front guard in Outpost on the left hand side --]] function spawn(NPC) AddTimer(NPC, 2000, "waypoints") end function hailed(NPC, Spawn) FaceTarget(NPC, Spawn) end function respawn(NPC) end function waypoints(NPC) MovementLoopAddLocation(NPC, -16.14, -5.15, 184, 2, 0) MovementLoopAddLocation(NPC, -19.32, -5.14, 181.23, 2, 0) MovementLoopAddLocation(NPC, -23.59, -5.12, 175.47, 2, 0) MovementLoopAddLocation(NPC, -26.22, -5.11, 173.02, 2, 0) MovementLoopAddLocation(NPC, -29.26, -5.1, 171.54, 2, 0) MovementLoopAddLocation(NPC, -31.59, -5.1, 170.96, 2, 0) MovementLoopAddLocation(NPC, -34.76, -5.08, 168.7, 2, 0) MovementLoopAddLocation(NPC, -36.53, -5.08, 166.25, 2, 0) MovementLoopAddLocation(NPC, -37.67, -5.07, 164.93, 2, 0) MovementLoopAddLocation(NPC, -44.05, -5.05, 161.94, 2, 0) MovementLoopAddLocation(NPC, -46.3, -5.04, 159.93, 2, 0) MovementLoopAddLocation(NPC, -47.42, -5.03, 158.42, 2, 0) MovementLoopAddLocation(NPC, -48.41, -5.03, 156.66, 2, 0) MovementLoopAddLocation(NPC, -49.15, -5.02, 151.3, 2, 0) MovementLoopAddLocation(NPC, -50.41, -5.02, 148.23, 2, 0) MovementLoopAddLocation(NPC, -51.99, -5.01, 144.53, 2, 0) MovementLoopAddLocation(NPC, -54.06, -5, 140.62, 2, 0) MovementLoopAddLocation(NPC, -56.25, -4.99, 137.41, 2, 0) MovementLoopAddLocation(NPC, -57.17, -4.99, 134.97, 2, 0) MovementLoopAddLocation(NPC, -57.43, -4.99, 131.77, 2, 0) MovementLoopAddLocation(NPC, -57.25, -4.99, 128.55, 2, 0) MovementLoopAddLocation(NPC, -55.58, -4.9, 122.23, 2, 0) MovementLoopAddLocation(NPC, -54.43, -5.06, 117, 2, 0) MovementLoopAddLocation(NPC, -54.48, -5.45, 113.06, 2, 0) MovementLoopAddLocation(NPC, -53.01, -5.42, 110.88, 2, 0) MovementLoopAddLocation(NPC, -49.91, -5.4, 109.19, 2, 0) MovementLoopAddLocation(NPC, -46.51, -5.15, 107.84, 2, 0) MovementLoopAddLocation(NPC, -40.91, -5.03, 105.2, 2, 0) MovementLoopAddLocation(NPC, -37.76, -5.06, 103.81, 2, 0) MovementLoopAddLocation(NPC, -35.53, -5.07, 102.16, 2, 0) MovementLoopAddLocation(NPC, -37.76, -5.06, 103.81, 2, 0) MovementLoopAddLocation(NPC, -40.91, -5.03, 105.2, 2, 0) MovementLoopAddLocation(NPC, -46.51, -5.15, 107.84, 2, 0) MovementLoopAddLocation(NPC, -49.91, -5.4, 109.19, 2, 0) MovementLoopAddLocation(NPC, -53.01, -5.42, 110.88, 2, 0) MovementLoopAddLocation(NPC, -54.48, -5.45, 113.06, 2, 0) MovementLoopAddLocation(NPC, -54.43, -5.06, 117, 2, 0) MovementLoopAddLocation(NPC, -55.58, -4.9, 122.23, 2, 0) MovementLoopAddLocation(NPC, -57.25, -4.99, 128.55, 2, 0) MovementLoopAddLocation(NPC, -57.43, -4.99, 131.77, 2, 0) MovementLoopAddLocation(NPC, -57.17, -4.99, 134.97, 2, 0) MovementLoopAddLocation(NPC, -56.25, -4.99, 137.41, 2, 0) MovementLoopAddLocation(NPC, -54.06, -5, 140.62, 2, 0) MovementLoopAddLocation(NPC, -51.99, -5.01, 144.53, 2, 0) MovementLoopAddLocation(NPC, -50.41, -5.02, 148.23, 2, 0) MovementLoopAddLocation(NPC, -49.15, -5.02, 151.3, 2, 0) MovementLoopAddLocation(NPC, -48.41, -5.03, 156.66, 2, 0) MovementLoopAddLocation(NPC, -47.42, -5.03, 158.42, 2, 0) MovementLoopAddLocation(NPC, -46.3, -5.04, 159.93, 2, 0) MovementLoopAddLocation(NPC, -44.05, -5.05, 161.94, 2, 0) MovementLoopAddLocation(NPC, -37.67, -5.07, 164.93, 2, 0) MovementLoopAddLocation(NPC, -36.53, -5.08, 166.25, 2, 0) MovementLoopAddLocation(NPC, -34.76, -5.08, 168.7, 2, 0) MovementLoopAddLocation(NPC, -31.59, -5.1, 170.96, 2, 0) MovementLoopAddLocation(NPC, -29.26, -5.1, 171.54, 2, 0) MovementLoopAddLocation(NPC, -26.22, -5.11, 173.02, 2, 0) MovementLoopAddLocation(NPC, -23.59, -5.12, 175.47, 2, 0) MovementLoopAddLocation(NPC, -19.32, -5.14, 181.23, 2, 0) MovementLoopAddLocation(NPC, -16.14, -5.15, 184, 2, 0) MovementLoopAddLocation(NPC, -9.87, -5.19, 185.99, 2, 0) MovementLoopAddLocation(NPC, -3.74, -5.15, 180.58, 2, 0) MovementLoopAddLocation(NPC, 5.11, -5.12, 174.85, 2, 0) MovementLoopAddLocation(NPC, 13.03, -5.13, 167.98, 2, 0) MovementLoopAddLocation(NPC, 17.86, -5.29, 165.81, 2, 0) MovementLoopAddLocation(NPC, 22.16, -5.31, 164.42, 2, 0) MovementLoopAddLocation(NPC, 29.25, -6.04, 166.37, 2, 0) MovementLoopAddLocation(NPC, 40.97, -4.31, 166.69, 2, 0) MovementLoopAddLocation(NPC, 47.82, -3.38, 167.24, 2, 0) MovementLoopAddLocation(NPC, 40.97, -4.31, 166.69, 2, 0) MovementLoopAddLocation(NPC, 29.25, -6.04, 166.37, 2, 0) MovementLoopAddLocation(NPC, 22.16, -5.31, 164.42, 2, 0) MovementLoopAddLocation(NPC, 17.86, -5.29, 165.81, 2, 0) MovementLoopAddLocation(NPC, 13.03, -5.13, 167.98, 2, 0) MovementLoopAddLocation(NPC, 5.11, -5.12, 174.85, 2, 0) MovementLoopAddLocation(NPC, -3.74, -5.15, 180.58, 2, 0) MovementLoopAddLocation(NPC, -9.87, -5.19, 185.99, 2, 0) MovementLoopAddLocation(NPC, -12.66, -5.1, 190.72, 2, 0) MovementLoopAddLocation(NPC, -15.13, -5.09, 196.95, 2, 0) MovementLoopAddLocation(NPC, -15.46, -5.17, 199.64, 2, 0) MovementLoopAddLocation(NPC, -17.5, -5.15, 202.81, 2, 0) MovementLoopAddLocation(NPC, -20.38, -5.16, 206.51, 2, 0) MovementLoopAddLocation(NPC, -22.38, -5.14, 210.98, 2, 0) MovementLoopAddLocation(NPC, -24.27, -5.39, 215.67, 2, 0) MovementLoopAddLocation(NPC, -17.32, -5.09, 213.62, 2, 0) MovementLoopAddLocation(NPC, -16.52, -5.17, 209.99, 2, 0) MovementLoopAddLocation(NPC, -13.86, -5.14, 204.8, 2, 0) MovementLoopAddLocation(NPC, -10.44, -5.11, 199.43, 2, 0) MovementLoopAddLocation(NPC, -7.5, -5.14, 194.95, 2, 0) MovementLoopAddLocation(NPC, -7.01, -5.2, 191.9, 2, 0) MovementLoopAddLocation(NPC, -8.56, -5.21, 188.34, 2, 0) MovementLoopAddLocation(NPC, -10.19, -5.2, 186.8, 2, 0) end