beginscript; SetVar (0,0); label DeadCount: if (OtherUnitDead(pikjp1)) { IncVar(0); } if (OtherUnitDead(pikjp2)) { IncVar(0); } if (OtherUnitDead(pikjp3)) { IncVar(0); } if (GetVar(0) >= 3) { EndLevel(0); EndFrame(); goto End; } SetVar (0,0); EndFrame(); goto DeadCount; label End: EndFrame(); goto End; endscript; $