--[[ Script Name : SpawnScripts/FrostfangSea/aportaljumpedRyGorrraider.lua Script Purpose : for the raiders that pop out of the portal in frostfang Script Author : theFoof Script Date : 2013.6.8 Script Notes : Added Despawn so orcs don't stand around forever. --]] function spawn(NPC) AddTimer(NPC,60000,"despawn") local choice = math.random(1,2) SetSpeed(NPC, 7) if choice == 1 then MoveToLocation(NPC, 713.49 + math.random(-7,7), 100.34, -446.09 + math.random(-7,7)) else MoveToLocation(NPC, 692.41 + math.random(-7,7), 96.14, -466.44 + math.random(-7,7)) end end function respawn(NPC) spawn(NPC) end function hailed(NPC, Spawn) end function despawn(NPC) Despawn (NPC) end