beginscript; SetVar (0,0); label DeadCount2: if (OtherUnitDead(gun1)) { IncVar(0); } if (OtherUnitDead(gun2)) { IncVar(0); } if (OtherUnitDead(gun3)) { IncVar(0); } if (OtherUnitDead(gun4)) { IncVar(0); } if (GetVar(0) == 4) { SetGlobalVar(5,1); EndFrame(); goto End; } SetVar (0,0); EndFrame(); goto DeadCount2; label End: EndFrame(); goto End; endscript; $