--[[ Script Name : SpawnScripts/Classic_forest/abonecutterfishRoam9.lua Script Author : LordPazuzu Script Date : 2022.10.13 03:10:41 Script Purpose : : --]] require "SpawnScripts/Generic/NPCModule" function spawn(NPC, Spawn) NPCModule(NPC, Spawn) AddTimer(NPC, 6000, "waypoints") end function hailed(NPC, Spawn) FaceTarget(NPC, Spawn) end function respawn(NPC) spawn(NPC) end function waypoints(NPC) MovementLoopAddLocation(NPC, 1083.37, -24.37, -717.98, 1, 0) MovementLoopAddLocation(NPC, 1081.6, -24.35, -713.96, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1081.6, -24.37, -713.96, 1, 0) MovementLoopAddLocation(NPC, 1088.8, -24.33, -720.23, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1088.8, -24.35, -720.23, 1, 0) MovementLoopAddLocation(NPC, 1083.39, -24.37, -726.23, 1, 0) MovementLoopAddLocation(NPC, 1080.72, -24.34, -726.81, 1, 0) MovementLoopAddLocation(NPC, 1073.84, -24.3, -721.44, 1, 0) MovementLoopAddLocation(NPC, 1067.19, -24.32, -721.58, 1, 0) MovementLoopAddLocation(NPC, 1060.5, -24.3, -723.35, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1060.5, -24.3, -723.35, 1, 0) MovementLoopAddLocation(NPC, 1076.68, -24.37, -718.26, 1, 0) MovementLoopAddLocation(NPC, 1085.4, -24.31, -720.39, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1085.4, -24.31, -720.39, 1, 0) MovementLoopAddLocation(NPC, 1081.63, -24.35, -714.44, 1, 0) MovementLoopAddLocation(NPC, 1086.29, -24.36, -709.1, 1, 0) MovementLoopAddLocation(NPC, 1096.5, -24.31, -701.87, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1096.5, -24.31, -701.87, 1, 0) MovementLoopAddLocation(NPC, 1086.32, -24.3, -708.23, 1, 0) MovementLoopAddLocation(NPC, 1083.37, -24.37, -717.98, 1, math.random(5,10)) end