--[[ Script Name : SpawnScripts/IsleRefuge1/asmallcoastalcrab.lua Script Author : Dorbin Script Date : 2022.09.05 05:09:46 Script Purpose : Pulled from Rylec's locations on QueensColony : --]] require "SpawnScripts/Generic/NPCModule" function spawn(NPC, Spawn) NPCModule(NPC, Spawn) AddTimer(NPC, 6000, "waypoints") end function respawn(NPC) spawn(NPC) end function waypoints(NPC) if GetSpawnLocationID(NPC) == 133774736 then MovementLoopAddLocation(NPC, -46.29, -8.62, 202.88, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -54.23, -7.85, 214.12, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -52.21, -8.07, 208.63, 1, 0) MovementLoopAddLocation(NPC, -52.19, -8.47, 206.83, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -53.11, -8.10, 207.86, 1, 0) MovementLoopAddLocation(NPC, -57.63, -8.20, 211.73, 1, 0) MovementLoopAddLocation(NPC, -59.43, -8.58, 213.08, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -58.24, -8.68, 210.06, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -61.68, -9.83, 209.94, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -60.21, -9.37, 210.08, 1, 0) MovementLoopAddLocation(NPC, -50.18, -8.24, 214.05, 1, math.random(10, 20)) elseif GetSpawnLocationID(NPC) == 133774737 then MovementLoopAddLocation(NPC, -42.96, -4.92, 209.22, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -44.44, -5.93, 207.51, 1, 0) MovementLoopAddLocation(NPC, -45.33, -6.69, 206.83, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -57.25, -8.09, 213.98, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -56.21, -7.98, 215.67, 1, 0) MovementLoopAddLocation(NPC, -56.29, -8.36, 218.24, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -55.15, -7.82, 214.00, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -57.43, -8.32, 210.77, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -52.60, -8.03, 208.28, 1, 0) MovementLoopAddLocation(NPC, -47.96, -8.43, 204.32, 1, 0) MovementLoopAddLocation(NPC, -46.79, -8.37, 203.75, 1, 0) MovementLoopAddLocation(NPC, -45.17, -8.99, 201.82, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -45.77, -8.71, 202.42, 1, 0) MovementLoopAddLocation(NPC, -47.36, -9.08, 202.50, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -47.01, -8.51, 203.49, 1, 0) MovementLoopAddLocation(NPC, -44.16, -6.81, 206.04, 1, 0) MovementLoopAddLocation(NPC, -43.74, -5.31, 207.99, 1, 0) elseif GetSpawnLocationID(NPC) == 133774738 then MovementLoopAddLocation(NPC, -55.17, -8.35, 219.01, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -57.67, -8.41, 210.61, 1, 0) MovementLoopAddLocation(NPC, -58.46, -9.14, 208.98, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -52.14, -8.04, 209.99, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -52.18, -8.02, 216.00, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -54.28, -8.63, 207.03, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -52.38, -8.17, 207.80, 1, 0) MovementLoopAddLocation(NPC, -49.31, -8.41, 208.89, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -47.84, -6.82, 209.67, 1, 0) MovementLoopAddLocation(NPC, -44.44, -4.90, 212.81, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -45.27, -5.30, 214.09, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -49.24, -8.23, 215.67, 1, 0) MovementLoopAddLocation(NPC, -52.03, -8.05, 216.82, 1, 0) elseif GetSpawnLocationID(NPC) == 133774739 then MovementLoopAddLocation(NPC, -61.11, -9.43, 210.91, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -59.83, -8.73, 211.54, 1, 0) MovementLoopAddLocation(NPC, -58.87, -8.44, 212.25, 1, 0) MovementLoopAddLocation(NPC, -55.22, -7.82, 214.03, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -56.17, -7.87, 212.97, 1, 0) MovementLoopAddLocation(NPC, -58.12, -8.29, 211.89, 1, 0) MovementLoopAddLocation(NPC, -59.17, -8.69, 210.85, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -58.11, -8.70, 209.87, 1, 0) MovementLoopAddLocation(NPC, -46.48, -8.26, 203.89, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -43.24, -8.45, 202.82, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -56.04, -8.05, 216.26, 1, 0) MovementLoopAddLocation(NPC, -57.81, -8.53, 218.41, 1, 0) MovementLoopAddLocation(NPC, -58.34, -8.85, 219.32, 1, 0) MovementLoopAddLocation(NPC, -59.41, -9.46, 220.19, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -57.98, -8.60, 218.81, 1, 0) MovementLoopAddLocation(NPC, -47.72, -8.66, 203.40, 1, 0) MovementLoopAddLocation(NPC, -47.26, -9.67, 201.70, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -47.65, -6.91, 215.31, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -52.38, -8.00, 216.04, 1, 0) MovementLoopAddLocation(NPC, -56.56, -8.41, 218.44, 1, 0) MovementLoopAddLocation(NPC, -58.40, -8.85, 219.25, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -48.89, -8.33, 209.68, 1, 0) MovementLoopAddLocation(NPC, -46.31, -6.10, 208.97, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -47.16, -6.14, 213.70, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -52.24, -8.02, 216.43, 1, 0) MovementLoopAddLocation(NPC, -54.11, -8.12, 218.06, 1, math.random(10, 20)) elseif GetSpawnLocationID(NPC) == 133774740 then MovementLoopAddLocation(NPC, -53.42, -7.88, 214.04, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -46.27, -8.52, 203.13, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -46.82, -5.67, 210.62, 1, 0) MovementLoopAddLocation(NPC, -49.02, -8.23, 211.02, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -56.17, -7.91, 211.90, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -42.10, -7.65, 204.79, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -56.06, -8.90, 207.52, 1, 0) MovementLoopAddLocation(NPC, -57.25, -9.09, 208.03, 1, 0) MovementLoopAddLocation(NPC, -59.49, -9.50, 208.90, 1, 0) MovementLoopAddLocation(NPC, -61.58, -9.46, 217.06, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -55.62, -7.91, 211.43, 1, 0) MovementLoopAddLocation(NPC, -51.73, -8.43, 207.07, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -57.40, -8.32, 210.77, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -57.32, -8.13, 213.20, 1, 0) MovementLoopAddLocation(NPC, -60.47, -9.23, 218.20, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -58.30, -8.34, 216.18, 1, 0) MovementLoopAddLocation(NPC, -53.07, -7.89, 213.89, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -46.31, -8.62, 202.89, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -46.69, -5.63, 210.58, 1, 0) MovementLoopAddLocation(NPC, -45.30, -5.23, 212.23, 1, math.random(10, 20)) elseif GetSpawnLocationID(NPC) == 133774741 then MovementLoopAddLocation(NPC, -56.43, -7.93, 212.96, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -43.07, -4.89, 209.84, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -51.05, -8.14, 213.87, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -57.40, -9.22, 207.79, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -56.23, -8.45, 209.26, 1, 0) MovementLoopAddLocation(NPC, -50.49, -8.22, 215.42, 1, 0) MovementLoopAddLocation(NPC, -50.04, -8.32, 216.87, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -49.88, -8.31, 216.50, 1, 0) MovementLoopAddLocation(NPC, -54.20, -7.88, 211.09, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -50.66, -8.82, 206.11, 1, 0) MovementLoopAddLocation(NPC, -46.63, -8.89, 202.35, 1, 0) MovementLoopAddLocation(NPC, -44.78, -10.91, 199.08, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -45.96, -8.94, 201.97, 1, 0) MovementLoopAddLocation(NPC, -48.77, -9.41, 204.07, 1, 0) MovementLoopAddLocation(NPC, -53.80, -9.08, 205.33, 1, 0) MovementLoopAddLocation(NPC, -55.52, -9.23, 206.16, 1, 0) MovementLoopAddLocation(NPC, -57.39, -9.83, 205.81, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -56.56, -9.59, 205.89, 1, 0) MovementLoopAddLocation(NPC, -53.84, -8.15, 208.18, 1, 0) MovementLoopAddLocation(NPC, -45.97, -5.59, 214.15, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -61.53, -9.44, 217.02, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -56.08, -7.90, 211.96, 1, 0) MovementLoopAddLocation(NPC, -54.29, -8.11, 208.75, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -47.37, -6.93, 207.66, 1, 0) MovementLoopAddLocation(NPC, -43.06, -7.39, 204.81, 1, math.random(10, 20)) elseif GetSpawnLocationID(NPC) == 133774742 then MovementLoopAddLocation(NPC, -28.12, -7.93, 242.43, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -28.18, -7.90, 240.48, 1, 0) MovementLoopAddLocation(NPC, -36.09, -7.99, 228.60, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -32.08, -8.18, 237.48, 1, 0) MovementLoopAddLocation(NPC, -31.91, -8.35, 239.49, 1, 0) MovementLoopAddLocation(NPC, -31.14, -8.32, 240.70, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -31.34, -8.24, 239.49, 1, 0) MovementLoopAddLocation(NPC, -28.74, -7.99, 232.29, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -31.73, -7.98, 232.08, 1, 0) MovementLoopAddLocation(NPC, -40.05, -9.26, 237.60, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -33.32, -7.97, 232.40, 1, 0) MovementLoopAddLocation(NPC, -32.42, -7.99, 231.88, 1, 0) MovementLoopAddLocation(NPC, -31.08, -7.99, 230.47, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -26.02, -7.85, 242.88, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -16.10, -7.88, 241.70, 1, math.random(10, 20)) elseif GetSpawnLocationID(NPC) == 133774743 then MovementLoopAddLocation(NPC, -34.48, -8.51, 237.79, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -25.42, -7.96, 235.13, 1, 0) MovementLoopAddLocation(NPC, -27.30, -8.24, 246.90, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -27.85, -8.03, 244.66, 1, 0) MovementLoopAddLocation(NPC, -29.99, -8.09, 240.71, 1, 0) MovementLoopAddLocation(NPC, -32.23, -8.18, 237.32, 1, 0) MovementLoopAddLocation(NPC, -34.14, -8.06, 233.58, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -26.35, -7.96, 235.57, 1, 0) MovementLoopAddLocation(NPC, -24.49, -7.98, 235.90, 1, 0) MovementLoopAddLocation(NPC, -21.97, -7.94, 236.82, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -30.06, -7.99, 233.74, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -32.10, -8.04, 235.92, 1, 0) elseif GetSpawnLocationID(NPC) == 133774744 then MovementLoopAddLocation(NPC, -31.05, -10.09, 250.86, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -31.52, -10.14, 250.52, 1, 0) MovementLoopAddLocation(NPC, -32.09, -9.58, 247.38, 1, 0) MovementLoopAddLocation(NPC, -26.05, -7.83, 241.87, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -28.05, -7.88, 240.00, 1, 0) MovementLoopAddLocation(NPC, -31.34, -8.16, 238.13, 1, 0) MovementLoopAddLocation(NPC, -39.90, -8.43, 232.29, 1, 0) MovementLoopAddLocation(NPC, -42.22, -8.53, 231.74, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -41.19, -8.51, 231.87, 1, 0) MovementLoopAddLocation(NPC, -40.11, -8.56, 232.90, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -40.02, -8.95, 235.63, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -34.03, -8.05, 233.44, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -32.21, -8.86, 243.39, 1, 0) MovementLoopAddLocation(NPC, -30.93, -9.04, 246.10, 1, 0) elseif GetSpawnLocationID(NPC) == 133774745 then MovementLoopAddLocation(NPC, -43.16, -8.28, 230.59, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -40.08, -8.70, 233.82, 1, 0) MovementLoopAddLocation(NPC, -38.19, -8.95, 237.70, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -35.49, -8.88, 240.14, 1, 0) MovementLoopAddLocation(NPC, -26.58, -8.66, 249.70, 1, 0) MovementLoopAddLocation(NPC, -23.23, -8.38, 251.90, 1, 0) MovementLoopAddLocation(NPC, -20.99, -8.36, 253.95, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -26.53, -7.88, 243.40, 1, 0) MovementLoopAddLocation(NPC, -28.11, -7.88, 239.98, 1, 0) MovementLoopAddLocation(NPC, -30.23, -7.99, 236.20, 1, 0) MovementLoopAddLocation(NPC, -31.84, -7.98, 232.45, 1, 0) MovementLoopAddLocation(NPC, -35.02, -8.01, 227.63, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -25.82, -7.84, 231.87, 1, math.random(10, 20)) elseif GetSpawnLocationID(NPC) == 133774746 then MovementLoopAddLocation(NPC, -18.11, -7.83, 241.55, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -20.20, -7.83, 239.75, 1, 0) MovementLoopAddLocation(NPC, -22.97, -7.97, 236.55, 1, 0) MovementLoopAddLocation(NPC, -23.76, -7.97, 235.98, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -31.93, -7.97, 234.45, 1, 0) MovementLoopAddLocation(NPC, -39.32, -8.35, 232.29, 1, 0) MovementLoopAddLocation(NPC, -43.18, -8.93, 232.84, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -44.16, -8.41, 230.63, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -40.62, -8.46, 231.85, 1, 0) MovementLoopAddLocation(NPC, -38.01, -8.41, 233.88, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -20.89, -7.83, 235.71, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -20.52, -7.18, 232.01, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -24.10, -7.86, 233.85, 1, 0) MovementLoopAddLocation(NPC, -26.41, -7.91, 232.99, 1, 0) MovementLoopAddLocation(NPC, -27.62, -7.92, 231.93, 1, 0) MovementLoopAddLocation(NPC, -29.52, -8.00, 231.80, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -28.07, -7.96, 232.33, 1, 0) MovementLoopAddLocation(NPC, -21.97, -8.12, 251.86, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -30.11, -9.87, 250.84, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -29.55, -9.75, 250.88, 1, 0) elseif GetSpawnLocationID(NPC) == 133774747 then MovementLoopAddLocation(NPC, -35.02, -7.99, 228.74, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -32.26, -8.00, 231.61, 1, 0) MovementLoopAddLocation(NPC, -19.97, -8.57, 254.97, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -25.92, -8.14, 248.08, 1, 0) MovementLoopAddLocation(NPC, -27.84, -8.02, 244.58, 1, 0) MovementLoopAddLocation(NPC, -30.10, -8.36, 243.81, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -31.20, -8.21, 239.49, 1, 0) MovementLoopAddLocation(NPC, -32.19, -8.07, 236.14, 1, 0) MovementLoopAddLocation(NPC, -34.14, -7.95, 225.83, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -37.13, -8.29, 233.89, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -31.52, -8.86, 244.51, 1, 0) MovementLoopAddLocation(NPC, -30.55, -9.13, 247.09, 1, 0) MovementLoopAddLocation(NPC, -27.84, -9.22, 250.48, 1, 0) MovementLoopAddLocation(NPC, -27.46, -9.97, 254.79, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -29.69, -8.98, 247.46, 1, 0) MovementLoopAddLocation(NPC, -36.00, -8.80, 238.65, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -38.88, -9.25, 238.78, 1, math.random(10, 20)) elseif GetSpawnLocationID(NPC) == 133774748 then MovementLoopAddLocation(NPC, -25.34, -9.33, 254.01, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -24.82, -8.67, 251.72, 1, 0) MovementLoopAddLocation(NPC, -32.26, -8.95, 244.01, 1, 0) MovementLoopAddLocation(NPC, -41.14, -9.48, 237.69, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -33.01, -9.05, 243.73, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -25.14, -7.92, 237.34, 1, 0) MovementLoopAddLocation(NPC, -19.83, -7.82, 236.45, 1, 0) MovementLoopAddLocation(NPC, -16.57, -7.84, 239.38, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -23.14, -7.85, 239.77, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -24.29, -7.89, 239.11, 1, 0) MovementLoopAddLocation(NPC, -36.96, -8.01, 224.80, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -25.15, -8.94, 252.59, 1, 0) MovementLoopAddLocation(NPC, -23.25, -9.18, 255.15, 1, 0) MovementLoopAddLocation(NPC, -22.40, -9.60, 256.95, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -27.61, -8.55, 247.96, 1, 0) MovementLoopAddLocation(NPC, -30.29, -8.62, 244.98, 1, 0) MovementLoopAddLocation(NPC, -33.81, -8.46, 238.07, 1, 0) MovementLoopAddLocation(NPC, -39.57, -8.05, 229.82, 1, 0) MovementLoopAddLocation(NPC, -40.08, -8.02, 227.58, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -28.70, -7.95, 233.56, 1, 0) MovementLoopAddLocation(NPC, -26.54, -7.95, 235.42, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -45.03, -9.41, 233.79, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -42.18, -9.20, 235.18, 1, 0) MovementLoopAddLocation(NPC, -32.70, -9.33, 245.56, 1, 0) MovementLoopAddLocation(NPC, -25.65, -9.02, 252.43, 1, 0) elseif GetSpawnLocationID(NPC) == 133774749 then MovementLoopAddLocation(NPC, -32.16, -7.98, 233.72, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -30.60, -8.56, 244.27, 1, 0) MovementLoopAddLocation(NPC, -30.02, -8.78, 246.02, 1, 0) MovementLoopAddLocation(NPC, -30.20, -9.49, 248.97, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -30.22, -8.83, 246.02, 1, 0) MovementLoopAddLocation(NPC, -39.94, -7.96, 225.74, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -28.36, -7.84, 237.38, 1, 0) MovementLoopAddLocation(NPC, -27.19, -7.89, 239.71, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -30.06, -7.96, 238.34, 1, 0) MovementLoopAddLocation(NPC, -38.02, -8.22, 232.72, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -28.46, -9.03, 249.01, 1, 0) MovementLoopAddLocation(NPC, -28.01, -9.13, 249.93, 1, 0) MovementLoopAddLocation(NPC, -26.39, -9.10, 251.87, 1, 0) MovementLoopAddLocation(NPC, -26.15, -9.28, 253.01, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -26.95, -9.69, 254.03, 1, 0) MovementLoopAddLocation(NPC, -28.00, -10.09, 254.80, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -27.10, -9.67, 253.75, 1, 0) MovementLoopAddLocation(NPC, -25.00, -7.95, 234.80, 1, math.random(10, 20)) elseif GetSpawnLocationID(NPC) == 133774750 then MovementLoopAddLocation(NPC, -15.43, -7.86, 241.00, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -11.82, -7.15, 241.18, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -24.43, -8.17, 249.57, 1, 0) MovementLoopAddLocation(NPC, -25.05, -8.73, 251.76, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -25.75, -8.70, 250.85, 1, 0) MovementLoopAddLocation(NPC, -41.28, -9.14, 235.66, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -44.40, -9.99, 236.91, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -42.94, -9.67, 236.89, 1, 0) MovementLoopAddLocation(NPC, -41.44, -9.27, 236.19, 1, 0) MovementLoopAddLocation(NPC, -33.03, -7.96, 227.82, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -39.77, -8.36, 231.97, 1, 0) MovementLoopAddLocation(NPC, -43.71, -9.43, 234.96, 1, 0) MovementLoopAddLocation(NPC, -45.25, -9.97, 236.09, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -44.98, -9.51, 234.32, 1, 0) MovementLoopAddLocation(NPC, -44.20, -9.09, 232.91, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -40.36, -8.46, 232.06, 1, 0) MovementLoopAddLocation(NPC, -24.17, -7.91, 238.13, 1, 0) MovementLoopAddLocation(NPC, -22.90, -7.91, 238.77, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -24.00, -7.85, 239.99, 1, 0) MovementLoopAddLocation(NPC, -31.43, -8.93, 244.95, 1, math.random(10, 20)) elseif GetSpawnLocationID(NPC) == 133774750 then MovementLoopAddLocation(NPC, 10.18, -10.8, 236.41, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 6.22, -8.62, 238.92, 1, 0) MovementLoopAddLocation(NPC, 4.85, -8.77, 242.62, 1, 0) MovementLoopAddLocation(NPC, 6.18, -9.13, 243.6, 1, 0) MovementLoopAddLocation(NPC, 8.10, -8.37, 247.14, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 9.83, -12.29, 242.26, 1, 0) MovementLoopAddLocation(NPC, 11.77, -13.09, 241.69, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 9.47, -11.01, 240.37, 1, 0) MovementLoopAddLocation(NPC, 8.79, -10.40, 239.11, 1, 0) MovementLoopAddLocation(NPC, 10.32, -10.21, 233.68, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 9.03, -9.76, 234.00, 1, 0) MovementLoopAddLocation(NPC, 7.85, -8.93, 234.12, 1, 0) MovementLoopAddLocation(NPC, -6.59, -7.48, 240.66, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 9.34, -10.03, 234.49, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 0.02, -7.79, 243.33, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 4.72, -8.70, 241.19, 1, 0) MovementLoopAddLocation(NPC, 7.60, -9.81, 238.89, 1, 0) MovementLoopAddLocation(NPC, 12.00, -12.49, 238.33, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 9.18, -10.60, 239.09, 1, 0) MovementLoopAddLocation(NPC, 8.44, -10.27, 239.15, 1, 0) MovementLoopAddLocation(NPC, 7.06, -10.11, 241.38, 1, 0) MovementLoopAddLocation(NPC, 6.57, -8.74, 244.49, 1, 0) MovementLoopAddLocation(NPC, 6.26, -9.30, 254.73, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 9.66, -10.84, 247.89, 1, 0) MovementLoopAddLocation(NPC, 12.22, -13.09, 247.89, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 10.28, -13.37, 253.37, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 8.40, -9.54, 253.14, 1, 0) MovementLoopAddLocation(NPC, 6.63, -8.55, 250.57, 1, 0) MovementLoopAddLocation(NPC, 5.96, -8.97, 239.94, 1, 0) MovementLoopAddLocation(NPC, 7.41, -9.64, 238.93, 1, 0) MovementLoopAddLocation(NPC, 6.93, -8.71, 237.81, 1, 0) elseif GetSpawnLocationID(NPC) == 133774751 then MovementLoopAddLocation(NPC, 6.17, -8.58, 250.69, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 4.17, -8.99, 252.80, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 6.15, -8.71, 244.71, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -2.74, -7.83, 246.55, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 0.18, -7.92, 245.26, 1, 0) MovementLoopAddLocation(NPC, 3.81, -8.52, 244.14, 1, 0) MovementLoopAddLocation(NPC, 6.36, -9.63, 242.42, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 5.30, -8.44, 248.61, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 5.51, -8.46, 247.28, 1, 0) MovementLoopAddLocation(NPC, 6.19, -9.55, 242.20, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 6.21, -9.63, 241.40, 1, 0) MovementLoopAddLocation(NPC, 6.35, -9.06, 239.60, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 6.26, -8.92, 239.46, 1, 0) MovementLoopAddLocation(NPC, 7.75, -9.35, 237.56, 1, 0) MovementLoopAddLocation(NPC, 9.32, -10.26, 236.57, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 9.49, -11.62, 240.76, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 9.46, -10.12, 239.78, 1, 0) MovementLoopAddLocation(NPC, 7.65, -10.12, 240.92, 1, 0) MovementLoopAddLocation(NPC, 6.23, -8.37, 248.61, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 6.24, -8.36, 247.72, 1, 0) MovementLoopAddLocation(NPC, 5.95, -8.61, 245.61, 1, 0) MovementLoopAddLocation(NPC, 5.99, -8.33, 238.20, 1, 0) MovementLoopAddLocation(NPC, 6.42, -8.21, 236.25, 1, math.random(10, 20)) elseif GetSpawnLocationID(NPC) == 133774752 then MovementLoopAddLocation(NPC, 4.28, -8.60, 240.91, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 7.81, -9.43, 253.85, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 3.74, -8.64, 247.62, 1, 0) MovementLoopAddLocation(NPC, 2.44, -8.22, 244.80, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -3.66, -7.66, 245.55, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 5.99, -8.83, 239.63, 1, 0) MovementLoopAddLocation(NPC, 6.65, -8.66, 238.29, 1, 0) MovementLoopAddLocation(NPC, 10.96, -10.43, 236.43, 1, 0) MovementLoopAddLocation(NPC, 8.22, -9.70, 237.00, 1, 0) MovementLoopAddLocation(NPC, 5.41, -8.13, 238.13, 1, 0) MovementLoopAddLocation(NPC, 4.09, -7.98, 238.17, 1, 0) MovementLoopAddLocation(NPC, 6.05, -8.67, 244.97, 1, 0) MovementLoopAddLocation(NPC, 7.18, -8.30, 247.93, 1, 0) MovementLoopAddLocation(NPC, 7.17, -9.38, 254.83, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 6.35, -8.48, 249.77, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 4.41, -8.53, 248.29, 1, 0) MovementLoopAddLocation(NPC, 1.99, -8.07, 243.65, 1, 0) MovementLoopAddLocation(NPC, 0.49, -7.94, 240.44, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -5.03, -7.57, 239.80, 1, 0) MovementLoopAddLocation(NPC, -8.63, -6.70, 238.70, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -0.11, -7.78, 243.68, 1, 0) MovementLoopAddLocation(NPC, 5.33, -8.93, 252.90, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 5.67, -9.21, 242.73, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 4.69, -8.74, 242.51, 1, 0) elseif GetSpawnLocationID(NPC) == 133774753 then MovementLoopAddLocation(NPC, 7.94, -9.01, 232.32, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 7.95, -9.16, 235.92, 1, 0) MovementLoopAddLocation(NPC, 7.40, -8.87, 237.27, 1, 0) MovementLoopAddLocation(NPC, 7.07, -9.22, 238.66, 1, 0) MovementLoopAddLocation(NPC, 6.14, -9.22, 240.14, 1, 0) MovementLoopAddLocation(NPC, 5.76, -8.70, 244.91, 1, 0) MovementLoopAddLocation(NPC, 6.81, -8.48, 249.95, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 3.75, -8.03, 238.48, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 8.60, -10.09, 238.07, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 7.82, -9.79, 238.27, 1, 0) MovementLoopAddLocation(NPC, 5.76, -8.27, 238.26, 1, 0) MovementLoopAddLocation(NPC, 4.41, -8.04, 238.69, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 6.09, -8.09, 236.44, 1, 0) elseif GetSpawnLocationID(NPC) == 133774754 then MovementLoopAddLocation(NPC, 11.38, -13.21, 247.66, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 8.10, -8.50, 249.16, 1, 0) MovementLoopAddLocation(NPC, 6.24, -8.72, 251.94, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -1.78, -7.75, 245.62, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 3.39, -9.04, 253.60, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 10.17, -12.94, 247.18, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 4.67, -8.50, 248.27, 1, 0) MovementLoopAddLocation(NPC, 2.41, -8.58, 247.57, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 0.17, -7.81, 244.26, 1, 0) MovementLoopAddLocation(NPC, -1.77, -7.60, 239.48, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -1.59, -7.67, 244.87, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 6.53, -9.79, 241.64, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 6.17, -8.99, 243.93, 1, 0) MovementLoopAddLocation(NPC, 7.48, -8.67, 244.95, 1, 0) MovementLoopAddLocation(NPC, 7.84, -8.51, 246.15, 1, 0) elseif GetSpawnLocationID(NPC) == 133774755 then MovementLoopAddLocation(NPC, -0.73, -8.27, 249.41, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -0.68, -7.71, 241.56, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 0.08, -7.80, 244.03, 1, 0) MovementLoopAddLocation(NPC, 8.57, -12.99, 257.02, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 6.02, -8.37, 247.99, 1, 0) MovementLoopAddLocation(NPC, 5.99, -9.14, 240.16, 1, 0) MovementLoopAddLocation(NPC, 8.55, -10.00, 237.29, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 7.02, -8.88, 238.07, 1, 0) MovementLoopAddLocation(NPC, 3.45, -8.55, 242.45, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 4.19, -8.64, 241.94, 1, 0) MovementLoopAddLocation(NPC, 7.35, -10.16, 240.69, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, 7.07, -10.03, 240.57, 1, 0) MovementLoopAddLocation(NPC, 2.36, -8.29, 240.06, 1, 0) MovementLoopAddLocation(NPC, -1.61, -7.62, 240.34, 1, math.random(10, 20)) MovementLoopAddLocation(NPC, -5.73, -7.55, 242.63, 1, math.random(10, 20)) end end