beginscript; label Start: // Wait till First Area Done if (GetGlobalVar(3) == 1) { // Ammount Var SetVar(0,1); // Control Var SetVar(1,0); SetVar(2,0); SetVar(3,0); SetVar(4,0); SetVar(5,0); SetVar(6,0); SetVar(7,0); // Start Respawn Check EndFrame(); goto CheckDead; } EndFrame(); goto Start; label CheckDead: if (OtherUnitDead(Sld_Gr3_01_Scr) && GetVar(1) != 1) { SpawnOtherUnit(Sld_Gr3_02_Scr); IncVar(0); IncVar(1); } if (OtherUnitDead(Sld_Gr3_02_Scr) && GetVar(1) != 0) { SpawnOtherUnit(Sld_Gr3_01_Scr); IncVar(0); DecVar(1); } if (OtherUnitDead(Sld_Gr3_03_Scr) && GetVar(2) != 1) { SpawnOtherUnit(Sld_Gr3_04_Scr); IncVar(0); IncVar(2); } if (OtherUnitDead(Sld_Gr3_04_Scr) && GetVar(2) != 0) { SpawnOtherUnit(Sld_Gr3_03_Scr); IncVar(0); DecVar(2); } if (OtherUnitDead(Sld_Gr3_05_Scr) && GetVar(3) != 1) { SpawnOtherUnit(Sld_Gr3_06_Scr); IncVar(0); IncVar(3); } if (OtherUnitDead(Sld_Gr3_06_Scr) && GetVar(3) != 0) { SpawnOtherUnit(Sld_Gr3_05_Scr); IncVar(0); DecVar(3); } if (OtherUnitDead(Sld_Gr3_07_Scr) && GetVar(4) != 1) { SpawnOtherUnit(Sld_Gr3_08_Scr); IncVar(0); IncVar(4); } if (OtherUnitDead(Sld_Gr3_08_Scr) && GetVar(4) != 0) { SpawnOtherUnit(Sld_Gr3_07_Scr); IncVar(0); DecVar(4); } // limmit respawn // if (GetVar(0) >= 100) // { // EndFrame(); // goto End; // } // if (GetGlobalVar(3) == 2) // { // EndFrame(); // goto End; // } EndFrame(); goto CheckDead; label End: EndFrame(); goto End; endscript; $