--[[ Script Name : SpawnScripts/Classic_forest/abonecutterfishRoam5.lua Script Author : LordPazuzu Script Date : 2022.10.13 03:10:03 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, 1036.76, -24.38, -736.45, 1, 0) MovementLoopAddLocation(NPC, 1043.73, -24.33, -739.45, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1043.73, -24.35, -739.45, 1, 0) MovementLoopAddLocation(NPC, 1029.97, -24.35, -736.63, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1029.97, -24.37, -736.63, 1, 0) MovementLoopAddLocation(NPC, 1036.23, -24.32, -720.92, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1036.23, -24.37, -720.92, 1, 0) MovementLoopAddLocation(NPC, 1036.96, -24.33, -731.61, 1, 0) MovementLoopAddLocation(NPC, 1039.8, -24.35, -733.65, 1, 0) MovementLoopAddLocation(NPC, 1056.16, -24.37, -725.61, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1056.16, -24.37, -725.61, 1, 0) MovementLoopAddLocation(NPC, 1041.03, -24.32, -741.53, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1041.03, -24.34, -741.53, 1, 0) MovementLoopAddLocation(NPC, 1036.76, -24.38, -736.45, 1, math.random(5,10)) end