beginscript; ExcTargetType(0x2); label Wait: if (Triggered()) { WaitForTime(10); ExcTargetType(0x2); IncTargetType(0x1); //IncludeGTarget(1); EndFrame(); goto Target; } EndFrame(); goto Wait; label Target: if (OtherUnitDead(Car1) != 1) { IncludeUTarget(Car1); } else if (OtherUnitDead(Car2) != 1) { IncludeUTarget(Car2); } else if (OtherUnitDead(Car3) != 1) { IncludeUTarget(Car3); } else if (OtherUnitDead(Car4) != 1) { IncludeUTarget(Car4); } else if (OtherUnitDead(Car5) != 1) { IncludeUTarget(Car5); } else if (OtherUnitDead(Car6) != 1) { IncludeUTarget(Car6); } else if (OtherUnitDead(Carrage1) != 1) { IncludeUTarget(Carrage1); } else if (OtherUnitDead(Carrage2) != 1) { IncludeUTarget(Carrage2); } else if (OtherUnitDead(Carrage3) != 1) { IncludeUTarget(Carrage3); } else { IncludeGTarget(3); SetFollowUnit(0x6c01, 200, 800); SetDefendee(0x6c01); SetTargetSelectMode(2); } EndFrame(); goto Target; label End: EndFrame(); goto End; endscript; $