beginscript; SetVar (0,0); label DeadCount: //Tower Guns if (OtherUnitDead(0x7806)) { IncVar(0); } if (OtherUnitDead(0x7805)) { IncVar(0); } if (OtherUnitDead(0x7807)) { IncVar(0); } if (OtherUnitDead(0x7808)) { IncVar(0); } //Miss1 if (OtherUnitDead(0x7818)) { IncVar(0); } //Miss2 if (OtherUnitDead(0x7825)) { IncVar(0); } //Tower Howitzers if (OtherUnitDead(0x7819)) { IncVar(0); } if (OtherUnitDead(0x7824)) { IncVar(0); } if (OtherUnitDead(0x7826)) { IncVar(0); } if (GetVar(0) >= 7) { SetGlobalVar(1,1); AddRadarEdgeObj(0x40f, 127, 0, 0); EndFrame(); goto End; } SetVar (0,0); EndFrame(); goto DeadCount; label End: EndFrame(); goto End; endscript; $