beginscript; label Wait: if (GetState() != 0 && UnitDead() != 1) { ExcTargetType(0x20000002); if (Rnd() > 125) { IncludeGTarget(13); } else { IncludeGTarget(13); } EndFrame(); goto End; } EndFrame(); goto Wait; label End: if (GetGlobalVar(3) == 3 || GetGlobalVar(3) == 10) { SelectWeapons(0,0,0); SetFollowWaypoint(65,0,0); ExcTargetType(0xffffffff); EndFrame(); goto End; } if (UnitDead()) { EndFrame(); goto Wait; } EndFrame(); goto End; endscript; $