beginscript; ExcTargetType(0xffff); SelectWeapons(0,0,0); label check: if ( Triggered() // OtherUnitInArea(0x7826,6811,6515,50) // poss change this to getglobalvar(4) == 1 // && OtherUnitDead(0x7805) // && OtherUnitDead(0x7809) // && OtherUnitDead(0x780a) // && OtherUnitDead(0x780b) // && OtherUnitDead(0x7812) // && OtherUnitDead(0x7814) ) { WaitForTime(20); SetFollowWaypoint(215,12,12); // SetFollowRange(0); SelectWeapons(0,0,0); IncludeGTarget(3); SetFollowRange(0); IncludeUTarget(0x783c); SetFollowRange(0); IncludeUTarget(0x783d); SetFollowRange(0); IncludeUTarget(0x783b); SetFollowRange(0); IncludeUTarget(0x7817); SetFollowRange(0); IncludeUTarget(0x7815); SetFollowRange(0); IncludeUTarget(0x7816); SetFollowRange(0); EndFrame(); goto check1; } EndFrame(); goto check; label check1: if ( PlayerInArea (7715,3783,1000) ) { WaitForTime(100); SetFollowWaypoint(218,12,12); SetFollowRange(0); SelectWeapons(1,0,0); IncludeGTarget(6); EndFrame(); goto base2; } EndFrame(); goto check1; label base2: if ( PlayerInRange(800) && GetFollowMode() == 3 ) { SetFollowWaypoint(135,12,12); SetFollowRange(0); EndFrame(); goto base3; } EndFrame(); goto base2; label base3: if ( PlayerInRange(800) && GetFollowMode() == 3 ) { SetFollowWaypoint(124,12,12); SetFollowRange(0); EndFrame(); goto base4; } EndFrame(); goto base3; label base4: if ( PlayerInRange(800) && GetFollowMode() == 3 ) { WaitForTime(100); SetFollowWaypoint(226,12,12); SetFollowRange(0); EndFrame(); goto base5; } EndFrame(); goto base4; label base5: if ( Triggered() ) { WaitForTime(100); SetFollowWaypoint(107,12,12); SetFollowRange(0); // WaitForTime(100); // SetFollowUnit(0x784e,150,150); EndFrame(); goto base8; } EndFrame(); goto base5; label base8: if ( GetGlobalVar(5) == 1 ) { SetFollowUnit(0x784e,150,150); EndFrame(); goto base6; } EndFrame(); goto base8; label base6: if ( UnitInArea(7042,-4396,500) ) { SelectWeapons(1,0,0); IncludeUTarget(0x7010); SetFollowRange(0); SetFollowWaypoint(123,0,0); WaitForTime(150); // SetFollowUnit(0x7010,200,200); EndFrame(); goto End; } EndFrame(); goto base6; label End: EndFrame(); goto End; endscript; $