--[[ Script Name : SpawnScripts/Classic_forest/astoneshellsnapper13.lua Script Author : LordPazuzu Script Date : 2022.10.12 07:10:10 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, 1130.55, -22.33, -719.45, 1, 0) MovementLoopAddLocation(NPC, 1135.6, -22.73, -722.05, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1135.6, -22.73, -722.05, 1, 0) MovementLoopAddLocation(NPC, 1126.28, -21.07, -718.65, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1126.28, -21.07, -718.65, 1, 0) MovementLoopAddLocation(NPC, 1129.75, -22.84, -716.2, 1, 0) MovementLoopAddLocation(NPC, 1125.18, -22.7, -710.89, 1, 0) MovementLoopAddLocation(NPC, 1120.83, -21.92, -707.67, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1120.83, -21.92, -707.67, 1, 0) MovementLoopAddLocation(NPC, 1126.74, -21.52, -714.59, 1, 0) MovementLoopAddLocation(NPC, 1128.22, -21.54, -720.27, 1, 0) MovementLoopAddLocation(NPC, 1130.69, -21.53, -722.83, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1130.69, -21.53, -722.83, 1, 0) MovementLoopAddLocation(NPC, 1138.43, -22.88, -721.78, 1, 0) MovementLoopAddLocation(NPC, 1140.64, -23.02, -719.74, 1, 0) MovementLoopAddLocation(NPC, 1141.72, -22.25, -718.01, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1141.72, -22.25, -718.01, 1, 0) MovementLoopAddLocation(NPC, 1140.07, -23.34, -720.42, 1, 0) MovementLoopAddLocation(NPC, 1136.44, -22.89, -721.58, 1, 0) MovementLoopAddLocation(NPC, 1130.38, -22.94, -716.87, 1, 0) MovementLoopAddLocation(NPC, 1128.58, -22.21, -716.5, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1128.58, -22.21, -716.5, 1, 0) MovementLoopAddLocation(NPC, 1130.42, -21.66, -721.96, 1, math.random(5,10)) MovementLoopAddLocation(NPC, 1130.42, -21.66, -721.96, 1, 0) MovementLoopAddLocation(NPC, 1130.55, -22.33, -719.45, 1, math.random(5,10)) end