--[[ Script Name : Ro.lua Script Purpose : Waypoint Path for Ro.lua Script Author : Cynnar Script Date : 6/24/2018 12:06:55 PM Script Notes : --]] require "SpawnScripts/Generic/CombatModule" local AttackTimer = false --TIMER FOR ATTACK RESPONSE (ATTACKS KERRAN) function spawn(NPC) waypoints(NPC) SetPlayerProximityFunction(NPC, 4, "InRange", "LeaveRange") end function InRange(NPC, Spawn) --FOLLOW TARGET SCRIPT IS TOO SLOW. DOG WALKS, BUT SPEED IS NOT ADJUSTABLE. if not IsInCombat(NPC) then if GetRace(Spawn)==11 or GetFactionAmount(Spawn,12)<-10000 then --KERRAN RESPONSE if AttackTimer == false then if FollowTimer == false then FollowTimer = true FaceTarget(NPC, Spawn) PlayFlavor(NPC, "", "", "attack", 0, 0) local choice = math.random(1, 2) if choice == 1 then SendMessage(Spawn, "Ro snarls and eyes you closely.") elseif choice == 2 then SendMessage(Spawn, "Ro leers at you with a quivering jowl.") end AddTimer(NPC,10000,"ResetFollow",1,Spawn) AddTimer(NPC,45000,"ResetFollowTimer",1,Spawn) end end end end end function ResetFollow(NPC) if IsFollowing(NPC) then SetTarget(NPC,nil) ToggleFollow(NPC) AttackTimer = false end end function ResetFollowTimer(NPC) FollowTimer = false SetTarget(NPC,nil) end function respawn(NPC) end function waypoints(NPC) MovementLoopAddLocation(NPC, 31.89, 5.25, -13.94, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 39.12, 5.25, -20.88, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 45.32, 5.25, -18.9, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 51.19, 5, -23.3, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 57.85, 5, -22.87, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 58.4, 5, -23.09, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 58.69, 5, -22.28, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 54.85, 4.23, -6.04, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 44.46, 3.5, -1.09, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 29.14, 2, 16.16, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 21.76, 2, 17.66, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 21.6, 2, 18.49, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 19.53, 2, 18.84, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 12.68, 3.5, 1.59, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 12.97, 3.62, -1.71, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 9.07, 3.5, -3.65, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 6.06, 3.5, -3.35, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 3.66, 3.5, -4.42, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 4.28, 3.5, -5.76, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 3.9, 3.5, -8.04, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 6.76, 3.5, -9.58, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 8.22, 3.5, -10.58, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 20.09, 5, -24.6, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 23.36, 5.25, -27.31, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 25.49, 5.25, -31.64, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 24.52, 5.25, -31.48, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 23.62, 5.25, -34.22, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 12.21, 4.75, -27.85, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 9.67, 4.93, -29.19, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 11.36, 9.07, -37.79, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 7.93, 8.48, -37.17, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 4.76, 5, -30.44, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -2.63, 5, -36.63, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 1.2, 5, -42.64, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 2.48, 5, -41.18, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 2.13, 5, -39.2, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 3.5, 5, -41.23, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 3.78, 5, -42.99, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -5.63, 4, -49.31, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -9.08, 4, -50.88, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -10.09, 4.14, -52.67, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -13.84, 4.35, -59.91, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -15.72, 4.18, -64.15, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -13.52, 4.18, -65.1, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -12.5, 4.18, -66.55, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -6.27, 4.18, -69.28, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -8.27, 4.18, -69.36, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -13.49, 4.18, -67.45, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -17.19, 4.18, -61.48, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -15.69, 4.18, -60.48, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -14.42, 4.45, -58.83, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -10.21, 4, -50.77, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -17.42, 4, -45.27, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -18.65, 4, -42.65, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -17.96, 4, -41.09, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -16.12, 4, -40.04, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -19.01, 4, -41.14, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -20.76, 4, -38.65, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -20.24, 3, -26.52, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -22.28, 2.75, -23.44, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -21.15, 2, -5.33, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -17.39, 2, -3.77, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -18.6, 2, 2.82, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -19.16, 1.93, 3.8, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -20.82, 1.86, 3.45, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -26.74, -0.75, 3.32, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -27.73, -0.75, 4, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -27.18, -0.75, 4.97, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -19.11, -4.9, 10.33, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -10.74, -6, 28.45, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -10.09, -6, 31.7, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -8.78, -6, 32.02, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -11.76, -7, 46.34, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -10.38, -7, 52.35, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -20.36, -7, 59.75, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -28.29, -7, 62.64, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -29.92, -7, 61.09, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -28, -7, 58.89, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -29.5, -7, 59.88, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -27.3, -7, 64.82, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -17.91, -7, 64.97, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -16.2, -7, 58.23, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -5.41, -7, 60.05, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -4.88, -7, 69.88, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -2.36, -7, 72.47, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -0.2, -7, 71.85, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 1.37, -7, 68.81, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 1.22, -7, 65.93, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 1.08, -7, 61.67, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 5.09, -7, 58.3, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 9.73, -0.07, 76.07, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 11.93, -0.12, 75.38, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 14.12, -0.8, 72.82, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 14.99, -2.13, 70.12, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 16.25, -2.88, 68.48, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 15.86, -4.25, 65.81, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 17.35, -6, 62.35, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 18.89, -7, 58.81, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 20.95, -7, 60.44, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 22.46, -7.07, 62.96, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 23.77, -7.18, 66.11, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 25.7, -7.24, 72.83, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 23.85, -7.18, 73.26, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 22.32, -7.06, 71.8, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 23.21, -7.13, 69.35, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 26.34, -7, 57.37, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 12.3, -6, 41.11, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 11.81, -6, 39.58, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 13.49, -6, 39.86, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 18.17, -5.95, 35.19, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 26.94, -6, 35.45, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 26.08, -6, 38.73, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 40.11, -5, 37.63, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 50.26, -5, 35.59, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 51.44, -5, 40.02, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 48.81, -5, 40.49, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 48.14, -5.25, 44.05, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 49.21, -6.75, 50.11, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 55.7, -7, 55.11, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 53.09, -7, 68.61, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 58.77, -7.05, 86.46, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 64.03, -7.08, 92.59, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 74.3, -7.08, 105.02, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 69.89, -7.08, 109.34, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 63.19, -7.08, 111.79, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 59.29, -7.08, 108.61, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 57.09, -7.08, 99.65, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 59.29, -7.08, 108.61, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 63.19, -7.08, 111.79, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 69.89, -7.08, 109.34, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 74.3, -7.08, 105.02, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 64.03, -7.08, 92.59, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 58.77, -7.05, 86.46, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 53.09, -7, 68.61, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 55.7, -7, 55.11, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 49.21, -6.75, 50.11, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 48.14, -5.25, 44.05, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 48.81, -5, 40.49, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 51.44, -5, 40.02, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 50.26, -5, 35.59, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 40.11, -5, 37.63, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 26.08, -6, 38.73, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 26.94, -6, 35.45, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 18.17, -5.95, 35.19, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 13.49, -6, 39.86, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 11.81, -6, 39.58, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 12.3, -6, 41.11, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 26.34, -7, 57.37, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 23.21, -7.13, 69.35, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 22.32, -7.06, 71.8, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 23.85, -7.18, 73.26, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 25.7, -7.24, 72.83, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 23.77, -7.18, 66.11, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 22.46, -7.07, 62.96, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 20.95, -7, 60.44, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 18.89, -7, 58.81, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 17.35, -6, 62.35, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 15.86, -4.25, 65.81, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 16.25, -2.88, 68.48, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 14.99, -2.13, 70.12, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 14.12, -0.8, 72.82, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 11.93, -0.12, 75.38, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 9.73, -0.07, 76.07, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 5.09, -7, 58.3, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 1.08, -7, 61.67, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 1.22, -7, 65.93, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 1.37, -7, 68.81, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -0.2, -7, 71.85, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -2.36, -7, 72.47, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -4.88, -7, 69.88, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -5.41, -7, 60.05, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -16.2, -7, 58.23, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -17.91, -7, 64.97, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -27.3, -7, 64.82, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -29.5, -7, 59.88, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -28, -7, 58.89, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -29.92, -7, 61.09, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -28.29, -7, 62.64, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -20.36, -7, 59.75, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -10.38, -7, 52.35, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -11.76, -7, 46.34, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -8.78, -6, 32.02, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -10.09, -6, 31.7, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -10.74, -6, 28.45, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -19.11, -4.9, 10.33, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -27.18, -0.75, 4.97, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -27.73, -0.75, 4, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -26.74, -0.75, 3.32, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -20.82, 1.86, 3.45, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -19.16, 1.93, 3.8, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -18.6, 2, 2.82, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -17.39, 2, -3.77, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -21.15, 2, -5.33, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -22.28, 2.75, -23.44, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -20.24, 3, -26.52, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -20.76, 4, -38.65, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -19.01, 4, -41.14, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -16.12, 4, -40.04, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -17.96, 4, -41.09, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -18.65, 4, -42.65, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -17.42, 4, -45.27, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -10.21, 4, -50.77, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -14.42, 4.45, -58.83, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -15.69, 4.18, -60.48, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -17.19, 4.18, -61.48, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -13.49, 4.18, -67.45, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -8.27, 4.18, -69.36, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -6.27, 4.18, -69.28, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -12.5, 4.18, -66.55, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -13.52, 4.18, -65.1, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -15.72, 4.18, -64.15, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -13.84, 4.35, -59.91, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -10.09, 4.14, -52.67, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -9.08, 4, -50.88, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -5.63, 4, -49.31, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 3.78, 5, -42.99, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 3.5, 5, -41.23, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 2.13, 5, -39.2, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 2.48, 5, -41.18, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 1.2, 5, -42.64, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, -2.63, 5, -36.63, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 4.76, 5, -30.44, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 7.93, 8.48, -37.17, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 11.36, 9.07, -37.79, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 9.67, 4.93, -29.19, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 12.21, 4.75, -27.85, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 23.62, 5.25, -34.22, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 24.52, 5.25, -31.48, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 25.49, 5.25, -31.64, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 23.36, 5.25, -27.31, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 20.09, 5, -24.6, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 8.22, 3.5, -10.58, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 6.76, 3.5, -9.58, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 3.9, 3.5, -8.04, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 4.28, 3.5, -5.76, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 3.66, 3.5, -4.42, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 6.06, 3.5, -3.35, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 9.07, 3.5, -3.65, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 12.97, 3.62, -1.71, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 12.68, 3.5, 1.59, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 19.53, 2, 18.84, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 21.6, 2, 18.49, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 21.76, 2, 17.66, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 29.14, 2, 16.16, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 44.46, 3.5, -1.09, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 54.85, 4.23, -6.04, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 58.69, 5, -22.28, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 58.4, 5, -23.09, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 57.85, 5, -22.87, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 51.19, 5, -23.3, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 45.32, 5.25, -18.9, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 39.12, 5.25, -20.88, 2, MakeRandomInt(0,3)) MovementLoopAddLocation(NPC, 31.89, 5.25, -13.94, 2, MakeRandomInt(0,3)) end