--[[ Script Name : SpawnScripts/Commonlands/aDervishgobetweenPath2.lua Script Author : LordPazuzu Script Date : 2024.03.08 08:03:34 Script Purpose : : --]] require "SpawnScripts/Generic/NPCModule" function spawn(NPC, Spawn) NPCModule(NPC, Spawn) human(NPC) Beggar(NPC) AddTimer(NPC, 6000, "waypoints") end function hailed(NPC, Spawn) FaceTarget(NPC, Spawn) end function respawn(NPC) spawn(NPC) end function waypoints(NPC) MovementLoopAddLocation(NPC, 1227.06, -33.37, -188.57, 6, 0) MovementLoopAddLocation(NPC, 1240.35, -32.27, -154.7, 6, 0) MovementLoopAddLocation(NPC, 1257.53, -35.94, -117.71, 6, 0) MovementLoopAddLocation(NPC, 1276.81, -32.55, -79.91, 6, 0) MovementLoopAddLocation(NPC, 1283.59, -29.69, -47.49, 6, 0) MovementLoopAddLocation(NPC, 1299.32, -29.84, -19.68, 6, 0) MovementLoopAddLocation(NPC, 1330.04, -31, 19.06, 6, 0) MovementLoopAddLocation(NPC, 1357.3, -33.07, 54.49, 6, 0) MovementLoopAddLocation(NPC, 1372.39, -32.38, 86.56, 6, 0) MovementLoopAddLocation(NPC, 1370.81, -33.58, 123.79, 6, 0) MovementLoopAddLocation(NPC, 1356.04, -36.35, 181.61, 6, 0) MovementLoopAddLocation(NPC, 1353.44, -39.28, 214.71, 6, 0) MovementLoopAddLocation(NPC, 1354.87, -39.47, 245.43, 6, 0) MovementLoopAddLocation(NPC, 1345.98, -40.1, 270.87, 6, 0) MovementLoopAddLocation(NPC, 1329.57, -37.01, 331.52, 6, 0) MovementLoopAddLocation(NPC, 1330.07, -35.57, 356.97, 6, 0) MovementLoopAddLocation(NPC, 1316.33, -30.56, 388.56, 6, 0) MovementLoopAddLocation(NPC, 1304.62, -25.88, 402.67, 6, 0) MovementLoopAddLocation(NPC, 1285.44, -22.34, 413.78, 6, 0) MovementLoopAddLocation(NPC, 1262.02, -17.28, 427.42, 6, 0) MovementLoopAddLocation(NPC, 1238.57, -21.29, 436.47, 6, 0) MovementLoopAddLocation(NPC, 1223.62, -24.89, 444.88, 6, 0) MovementLoopAddLocation(NPC, 1183.27, -35.73, 463.94, 6, 0) MovementLoopAddLocation(NPC, 1158.1, -39.18, 465.2, 6, 0) MovementLoopAddLocation(NPC, 1138.65, -39.97, 470.67, 6, 0) MovementLoopAddLocation(NPC, 1113.57, -42.19, 466.33, 6, 0) MovementLoopAddLocation(NPC, 1079.24, -42.45, 467.48, 6, 0) MovementLoopAddLocation(NPC, 1042.63, -43.21, 465.46, 6, 0) MovementLoopAddLocation(NPC, 997.1, -42.37, 439.51, 6, 0) MovementLoopAddLocation(NPC, 951.53, -44.74, 413.54, 6, 0) MovementLoopAddLocation(NPC, 911.11, -49.66, 390.5, 6, 0) MovementLoopAddLocation(NPC, 822.14, -54.21, 339.8, 6, 0) MovementLoopAddLocation(NPC, 785.66, -53.76, 319.72, 6, 0) MovementLoopAddLocation(NPC, 742.81, -54.09, 311.29, 6, 0) MovementLoopAddLocation(NPC, 720.94, -53.69, 299.59, 6, 0) MovementLoopAddLocation(NPC, 701.99, -51.69, 281.21, 6, 0) MovementLoopAddLocation(NPC, 701.99, -51.69, 281.21, 6, 0) MovementLoopAddLocation(NPC, 720.94, -53.69, 299.59, 6, 0) MovementLoopAddLocation(NPC, 742.81, -54.09, 311.29, 6, 0) MovementLoopAddLocation(NPC, 785.66, -53.76, 319.72, 6, 0) MovementLoopAddLocation(NPC, 822.14, -54.21, 339.8, 6, 0) MovementLoopAddLocation(NPC, 911.11, -49.66, 390.5, 6, 0) MovementLoopAddLocation(NPC, 951.53, -44.74, 413.54, 6, 0) MovementLoopAddLocation(NPC, 997.1, -42.37, 439.51, 6, 0) MovementLoopAddLocation(NPC, 1042.63, -43.21, 465.46, 6, 0) MovementLoopAddLocation(NPC, 1079.24, -42.45, 467.48, 6, 0) MovementLoopAddLocation(NPC, 1113.57, -42.19, 466.33, 6, 0) MovementLoopAddLocation(NPC, 1138.65, -39.97, 470.67, 6, 0) MovementLoopAddLocation(NPC, 1158.1, -39.18, 465.2, 6, 0) MovementLoopAddLocation(NPC, 1183.27, -35.73, 463.94, 6, 0) MovementLoopAddLocation(NPC, 1223.62, -24.89, 444.88, 6, 0) MovementLoopAddLocation(NPC, 1238.57, -21.29, 436.47, 6, 0) MovementLoopAddLocation(NPC, 1262.02, -17.28, 427.42, 6, 0) MovementLoopAddLocation(NPC, 1285.44, -22.34, 413.78, 6, 0) MovementLoopAddLocation(NPC, 1304.62, -25.88, 402.67, 6, 0) MovementLoopAddLocation(NPC, 1316.33, -30.56, 388.56, 6, 0) MovementLoopAddLocation(NPC, 1330.07, -35.57, 356.97, 6, 0) MovementLoopAddLocation(NPC, 1329.57, -37.01, 331.52, 6, 0) MovementLoopAddLocation(NPC, 1345.98, -40.1, 270.87, 6, 0) MovementLoopAddLocation(NPC, 1354.87, -39.47, 245.43, 6, 0) MovementLoopAddLocation(NPC, 1353.44, -39.28, 214.71, 6, 0) MovementLoopAddLocation(NPC, 1356.04, -36.35, 181.61, 6, 0) MovementLoopAddLocation(NPC, 1370.81, -33.58, 123.79, 6, 0) MovementLoopAddLocation(NPC, 1372.39, -32.38, 86.56, 6, 0) MovementLoopAddLocation(NPC, 1357.3, -33.07, 54.49, 6, 0) MovementLoopAddLocation(NPC, 1330.04, -31, 19.06, 6, 0) MovementLoopAddLocation(NPC, 1299.32, -29.84, -19.68, 6, 0) MovementLoopAddLocation(NPC, 1283.59, -29.69, -47.49, 6, 0) MovementLoopAddLocation(NPC, 1276.81, -32.55, -79.91, 6, 0) MovementLoopAddLocation(NPC, 1257.53, -35.94, -117.71, 6, 0) MovementLoopAddLocation(NPC, 1240.35, -32.27, -154.7, 6, 0) MovementLoopAddLocation(NPC, 1227.06, -33.37, -188.57, 6, 0) end