--[[ Script Name : SpawnScripts/Classic_forest/aforsakenobserver.lua Script Author : Dorbin Script Date : 2022.10.15 01:10:24 Script Purpose : : --]] dofile ("SpawnScripts/Generic/MonsterCallouts/BaseWaterElemental1.lua") 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) == 133778186 or GetSpawnLocationID(NPC) == 133778187 then MovementLoopAddLocation(NPC, 1071.38, -7.6, -747.31, 1, 0) MovementLoopAddLocation(NPC, 1064.21, -5.87, -746.13, 1, 0) MovementLoopAddLocation(NPC, 1065.68, -5.87, -739.01, 1, 0) MovementLoopAddLocation(NPC, 1070.5, -5, -740.62, 1, 0) MovementLoopAddLocation(NPC, 1071.55, -5, -745.73, 1, 0) MovementLoopAddLocation(NPC, 1066.46, -4.14, -746.48, 1, 0) MovementLoopAddLocation(NPC, 1064.51, -3.01, -742.49, 1, 0) MovementLoopAddLocation(NPC, 1070.65, -3.01, -739.68, 1, 0) MovementLoopAddLocation(NPC, 1070.65, -3.01, -739.68, 1, 0) MovementLoopAddLocation(NPC, 1070.26, -3.01, -746.59, 1, 0) MovementLoopAddLocation(NPC, 1066.94, -3.01, -748.56, 1, 0) MovementLoopAddLocation(NPC, 1063.2, -3.01, -744.81, 1, 0) MovementLoopAddLocation(NPC, 1065.53, -3.39, -741.44, 1, 0) MovementLoopAddLocation(NPC, 1070.63, -6.64, -740.45, 1, 0) MovementLoopAddLocation(NPC, 1071, -6.64, -744.23, 1, 0) MovementLoopAddLocation(NPC, 1071.66, -10.07, -748.36, 1, 0) MovementLoopAddLocation(NPC, 1065.67, -10.07, -748.74, 1, 0) MovementLoopAddLocation(NPC, 1062.33, -10.07, -744.24, 1, 0) MovementLoopAddLocation(NPC, 1064.02, -10.07, -739.76, 1, 0) MovementLoopAddLocation(NPC, 1069.6, -10.07, -738.06, 1, 0) MovementLoopAddLocation(NPC, 1073.44, -10.07, -741.3, 1, 0) MovementLoopAddLocation(NPC, 1072.75, -10.07, -748.72, 1, 0) MovementLoopAddLocation(NPC, 1073.44, -10.07, -741.3, 1, 0) MovementLoopAddLocation(NPC, 1069.6, -10.07, -738.06, 1, 0) MovementLoopAddLocation(NPC, 1064.02, -10.07, -739.76, 1, 0) MovementLoopAddLocation(NPC, 1062.33, -10.07, -744.24, 1, 0) MovementLoopAddLocation(NPC, 1065.67, -10.07, -748.74, 1, 0) MovementLoopAddLocation(NPC, 1071.66, -10.07, -748.36, 1, 0) MovementLoopAddLocation(NPC, 1073, -6.64, -744.23, 1, 0) MovementLoopAddLocation(NPC, 1070.63, -6.64, -740.45, 1, 0) MovementLoopAddLocation(NPC, 1065.53, -3.39, -741.44, 1, 0) MovementLoopAddLocation(NPC, 1063.2, -3.01, -744.81, 1, 0) MovementLoopAddLocation(NPC, 1066.94, -3.01, -748.56, 1, 0) MovementLoopAddLocation(NPC, 1072.26, -3.01, -746.59, 1, 0) MovementLoopAddLocation(NPC, 1072.65, -3.01, -739.68, 1, 0) MovementLoopAddLocation(NPC, 1072.65, -3.01, -739.68, 1, 0) MovementLoopAddLocation(NPC, 1064.51, -3.01, -742.49, 1, 0) MovementLoopAddLocation(NPC, 1066.46, -4.14, -746.48, 1, 0) MovementLoopAddLocation(NPC, 1071.55, -5, -745.73, 1, 0) MovementLoopAddLocation(NPC, 1070.5, -5, -740.62, 1, 0) MovementLoopAddLocation(NPC, 1065.68, -5.87, -739.01, 1, 0) MovementLoopAddLocation(NPC, 1064.21, -5.87, -746.13, 1, 0) MovementLoopAddLocation(NPC, 1071.38, -7.6, -747.31, 1, 0) elseif GetSpawnLocationID(NPC) == 133778322 then MovementLoopAddLocation(NPC, 1039.23, -5, -759.16, 1, 0) MovementLoopAddLocation(NPC, 1038.09, -4.49, -761.43, 1, 0) MovementLoopAddLocation(NPC, 1034.52, -4.49, -762.28, 1, 0) MovementLoopAddLocation(NPC, 1033.81, -4.49, -760.56, 1, 0) MovementLoopAddLocation(NPC, 1034.99, -4.49, -758.65, 1, 0) MovementLoopAddLocation(NPC, 1037.53, -4.49, -756.48, 1, 0) MovementLoopAddLocation(NPC, 1039.37, -4.49, -758.91, 1, 0) MovementLoopAddLocation(NPC, 1036.35, -4.49, -762.34, 1, 0) MovementLoopAddLocation(NPC, 1035.25, -3.31, -758.85, 1, 0) MovementLoopAddLocation(NPC, 1036.28, -3.31, -757.64, 1, 0) MovementLoopAddLocation(NPC, 1040.21, -3.31, -758.36, 1, 0) MovementLoopAddLocation(NPC, 1036.78, -3.31, -761.67, 1, 0) MovementLoopAddLocation(NPC, 1035.43, -3.31, -758.68, 1, 0) MovementLoopAddLocation(NPC, 1036.78, -3.31, -761.67, 1, 0) MovementLoopAddLocation(NPC, 1040.21, -3.31, -758.36, 1, 0) MovementLoopAddLocation(NPC, 1036.28, -3.31, -757.64, 1, 0) MovementLoopAddLocation(NPC, 1035.25, -3.31, -758.85, 1, 0) MovementLoopAddLocation(NPC, 1036.35, -4.49, -762.34, 1, 0) MovementLoopAddLocation(NPC, 1039.37, -4.49, -758.91, 1, 0) MovementLoopAddLocation(NPC, 1037.53, -4.49, -756.48, 1, 0) MovementLoopAddLocation(NPC, 1034.99, -4.49, -758.65, 1, 0) MovementLoopAddLocation(NPC, 1033.81, -4.49, -760.56, 1, 0) MovementLoopAddLocation(NPC, 1034.52, -4.49, -762.28, 1, 0) MovementLoopAddLocation(NPC, 1038.09, -4.49, -761.43, 1, 0) MovementLoopAddLocation(NPC, 1039.23, -5, -759.16, 1, 0) elseif GetSpawnLocationID(NPC) == 133778321 then MovementLoopAddLocation(NPC, 1049.92, -5, -771.68, 1, 0) MovementLoopAddLocation(NPC, 1052.63, -5, -773.45, 1, 0) MovementLoopAddLocation(NPC, 1051.4, -5.01, -777.35, 1, 0) MovementLoopAddLocation(NPC, 1049.35, -5.01, -776.63, 1, 0) MovementLoopAddLocation(NPC, 1048.96, -5.01, -772.52, 1, 0) MovementLoopAddLocation(NPC, 1052.02, -5.01, -772.27, 1, 0) MovementLoopAddLocation(NPC, 1053.24, -3.57, -772.93, 1, 0) MovementLoopAddLocation(NPC, 1052.3, -3.57, -776.64, 1, 0) MovementLoopAddLocation(NPC, 1048.55, -3.57, -775.93, 1, 0) MovementLoopAddLocation(NPC, 1050.63, -3.57, -771.62, 1, 0) MovementLoopAddLocation(NPC, 1052.43, -1.73, -772.43, 1, 0) MovementLoopAddLocation(NPC, 1054.77, -1.73, -775.14, 1, 0) MovementLoopAddLocation(NPC, 1051.98, -1.73, -776.93, 1, 0) MovementLoopAddLocation(NPC, 1046.77, -1.73, -775.09, 1, 0) MovementLoopAddLocation(NPC, 1050.2, -1.73, -771.72, 1, 0) MovementLoopAddLocation(NPC, 1052.96, -1.73, -776.56, 1, 0) MovementLoopAddLocation(NPC, 1050.2, -1.73, -771.72, 1, 0) MovementLoopAddLocation(NPC, 1046.77, -1.73, -775.09, 1, 0) MovementLoopAddLocation(NPC, 1051.98, -1.73, -776.93, 1, 0) MovementLoopAddLocation(NPC, 1054.77, -1.73, -775.14, 1, 0) MovementLoopAddLocation(NPC, 1052.43, -1.73, -772.43, 1, 0) MovementLoopAddLocation(NPC, 1050.63, -3.57, -771.62, 1, 0) MovementLoopAddLocation(NPC, 1048.55, -3.57, -775.93, 1, 0) MovementLoopAddLocation(NPC, 1052.3, -3.57, -776.64, 1, 0) MovementLoopAddLocation(NPC, 1053.24, -3.57, -772.93, 1, 0) MovementLoopAddLocation(NPC, 1052.02, -5.01, -772.27, 1, 0) MovementLoopAddLocation(NPC, 1048.96, -5.01, -772.52, 1, 0) MovementLoopAddLocation(NPC, 1049.35, -5.01, -776.63, 1, 0) MovementLoopAddLocation(NPC, 1051.4, -5.01, -777.35, 1, 0) MovementLoopAddLocation(NPC, 1052.63, -5, -773.45, 1, 0) MovementLoopAddLocation(NPC, 1049.92, -5, -771.68, 1, 0) elseif GetSpawnLocationID(NPC) == 133778319 then MovementLoopAddLocation(NPC, 1062.74, -6, -790.63, 1, 0) MovementLoopAddLocation(NPC, 1068.66, -6, -793.55, 1, 0) MovementLoopAddLocation(NPC, 1071.1, -5.69, -791.42, 1, 0) MovementLoopAddLocation(NPC, 1065.21, -5.69, -790.73, 1, 0) MovementLoopAddLocation(NPC, 1061.9, -5.69, -794.7, 1, 0) MovementLoopAddLocation(NPC, 1058.54, -5.69, -793.93, 1, 0) MovementLoopAddLocation(NPC, 1057.65, -5.69, -788.19, 1, 0) MovementLoopAddLocation(NPC, 1063.58, -5.69, -787.09, 1, 0) MovementLoopAddLocation(NPC, 1067.56, -5.69, -790.39, 1, 0) MovementLoopAddLocation(NPC, 1071.01, -5.69, -792.06, 1, 0) MovementLoopAddLocation(NPC, 1070.5, -5.65, -793.96, 1, 0) MovementLoopAddLocation(NPC, 1063.98, -5.53, -795.88, 1, 0) MovementLoopAddLocation(NPC, 1059.67, -5.53, -793.6, 1, 0) MovementLoopAddLocation(NPC, 1064.32, -5.53, -782.6, 1, 0) MovementLoopAddLocation(NPC, 1065.39, -5.53, -778.69, 1, 0) MovementLoopAddLocation(NPC, 1064.08, -5.55, -775.81, 1, 0) MovementLoopAddLocation(NPC, 1062.31, -5.55, -778.97, 1, 0) MovementLoopAddLocation(NPC, 1066.82, -5.55, -789.3, 1, 0) MovementLoopAddLocation(NPC, 1068.05, -5.55, -793.4, 1, 0) MovementLoopAddLocation(NPC, 1062.34, -5.55, -794.64, 1, 0) MovementLoopAddLocation(NPC, 1058.84, -5.55, -786.59, 1, 0) MovementLoopAddLocation(NPC, 1064.31, -5.55, -787.68, 1, 0) MovementLoopAddLocation(NPC, 1064.43, -5.55, -794.75, 1, 0) MovementLoopAddLocation(NPC, 1064.31, -5.55, -787.68, 1, 0) MovementLoopAddLocation(NPC, 1058.84, -5.55, -786.59, 1, 0) MovementLoopAddLocation(NPC, 1062.34, -5.55, -794.64, 1, 0) MovementLoopAddLocation(NPC, 1068.05, -5.55, -793.4, 1, 0) MovementLoopAddLocation(NPC, 1066.82, -5.55, -789.3, 1, 0) MovementLoopAddLocation(NPC, 1062.31, -5.55, -778.97, 1, 0) MovementLoopAddLocation(NPC, 1064.08, -5.55, -775.81, 1, 0) MovementLoopAddLocation(NPC, 1065.39, -5.53, -778.69, 1, 0) MovementLoopAddLocation(NPC, 1064.32, -5.53, -782.6, 1, 0) MovementLoopAddLocation(NPC, 1059.67, -5.53, -793.6, 1, 0) MovementLoopAddLocation(NPC, 1063.98, -5.53, -795.88, 1, 0) MovementLoopAddLocation(NPC, 1070.5, -5.65, -793.96, 1, 0) MovementLoopAddLocation(NPC, 1071.01, -5.69, -792.06, 1, 0) MovementLoopAddLocation(NPC, 1067.56, -5.69, -790.39, 1, 0) MovementLoopAddLocation(NPC, 1063.58, -5.69, -787.09, 1, 0) MovementLoopAddLocation(NPC, 1057.65, -5.69, -788.19, 1, 0) MovementLoopAddLocation(NPC, 1058.54, -5.69, -793.93, 1, 0) MovementLoopAddLocation(NPC, 1061.9, -5.69, -794.7, 1, 0) MovementLoopAddLocation(NPC, 1065.21, -5.69, -790.73, 1, 0) MovementLoopAddLocation(NPC, 1071.1, -5.69, -791.42, 1, 0) MovementLoopAddLocation(NPC, 1068.66, -6, -793.55, 1, 0) MovementLoopAddLocation(NPC, 1062.74, -6, -790.63, 1, 0) elseif GetSpawnLocationID(NPC) == 133778320 then MovementLoopAddLocation(NPC, 1032.69, -5.55, -778.74, 1, 0) MovementLoopAddLocation(NPC, 1029.78, -4.2, -773.47, 1, 0) MovementLoopAddLocation(NPC, 1025.39, -4.2, -765.55, 1, 0) MovementLoopAddLocation(NPC, 1027.29, -5, -769.95, 1, 0) MovementLoopAddLocation(NPC, 1032.73, -5, -777.95, 1, 0) MovementLoopAddLocation(NPC, 1029.8, -5, -776.66, 1, 0) MovementLoopAddLocation(NPC, 1030, -5, -772.14, 1, 0) MovementLoopAddLocation(NPC, 1025.67, -5, -767.1, 1, 0) MovementLoopAddLocation(NPC, 1026.58, -5, -769.05, 1, 0) MovementLoopAddLocation(NPC, 1028.93, -2.75, -775.56, 1, 0) MovementLoopAddLocation(NPC, 1032.09, -2.75, -777.51, 1, 0) MovementLoopAddLocation(NPC, 1032.24, -2.75, -772.95, 1, 0) MovementLoopAddLocation(NPC, 1026.5, -2.75, -768.77, 1, 0) MovementLoopAddLocation(NPC, 1025.6, -2.75, -764.98, 1, 0) MovementLoopAddLocation(NPC, 1028.64, -5, -774.53, 1, 0) MovementLoopAddLocation(NPC, 1032.31, -5, -777.28, 1, 0) MovementLoopAddLocation(NPC, 1031.78, -5, -773.68, 1, 0) MovementLoopAddLocation(NPC, 1032.31, -5, -777.28, 1, 0) MovementLoopAddLocation(NPC, 1028.64, -5, -774.53, 1, 0) MovementLoopAddLocation(NPC, 1025.6, -2.75, -764.98, 1, 0) MovementLoopAddLocation(NPC, 1026.5, -2.75, -768.77, 1, 0) MovementLoopAddLocation(NPC, 1032.24, -2.75, -772.95, 1, 0) MovementLoopAddLocation(NPC, 1032.09, -2.75, -777.51, 1, 0) MovementLoopAddLocation(NPC, 1028.93, -2.75, -775.56, 1, 0) MovementLoopAddLocation(NPC, 1026.58, -5, -769.05, 1, 0) MovementLoopAddLocation(NPC, 1025.67, -5, -767.1, 1, 0) MovementLoopAddLocation(NPC, 1030, -5, -772.14, 1, 0) MovementLoopAddLocation(NPC, 1029.8, -5, -776.66, 1, 0) MovementLoopAddLocation(NPC, 1032.73, -5, -777.95, 1, 0) MovementLoopAddLocation(NPC, 1027.29, -5, -769.95, 1, 0) MovementLoopAddLocation(NPC, 1025.39, -4.2, -765.55, 1, 0) MovementLoopAddLocation(NPC, 1029.78, -4.2, -773.47, 1, 0) MovementLoopAddLocation(NPC, 1032.69, -5.55, -778.74, 1, 0) end end