beginscript; SetVar(0,7700); // x SetVar(1,-6261); // y SetVar(2,100); // Rad label WaitForJaks: if (OtherUnitInArea (Jkl_G01_01_Scr,GetVar(0),GetVar(1),GetVar(2)) || OtherUnitInArea (Jkl_G01_02_Scr,GetVar(0),GetVar(1),GetVar(2)) || OtherUnitInArea (Jkl_G01_03_Scr,GetVar(0),GetVar(1),GetVar(2)) || OtherUnitInArea (Jkl_G01_04_Scr,GetVar(0),GetVar(1),GetVar(2)) || OtherUnitInArea (Jkl_G01_05_Scr,GetVar(0),GetVar(1),GetVar(2)) || OtherUnitInArea (Jkl_G01_06_Scr,GetVar(0),GetVar(1),GetVar(2)) || OtherUnitInArea (Jkl_G01_07_Scr,GetVar(0),GetVar(1),GetVar(2)) || OtherUnitInArea (Jkl_G01_08_Scr,GetVar(0),GetVar(1),GetVar(2)) || OtherUnitInArea (Jkl_G01_09_Scr,GetVar(0),GetVar(1),GetVar(2)) || OtherUnitInArea (Jkl_G01_10_Scr,GetVar(0),GetVar(1),GetVar(2))) { SetGlobalVar(1,4); SetGlobalVar(2,1); EndFrame(); goto DespawnUnits; } EndFrame(); goto WaitForJaks; label DespawnUnits: if (OtherUnitDead(Tank1) && OtherUnitDead(Tank2) && OtherUnitDead(Tank3) && OtherUnitDead(Tank4) && OtherUnitDead(Miss1) && OtherUnitDead(Miss2) && OtherUnitDead(Jep_G04_01_Scr) && OtherUnitDead(Jep_G04_02_Scr) && OtherUnitDead(Jep_G04_02_Scr) && OtherUnitDead(Apc_G04_01_Scr) && OtherUnitDead(Apc_G04_02_Scr) && OtherUnitDead(Apc_G04_03_Scr) && OtherUnitDead(Apc_G04_04_Scr)) { //EndLevel(1); } EndFrame(); goto End; label End: EndFrame(); goto End; endscript; $