beginscript; SetVar(0,0); label DeadCount: if (OtherUnitDead(Spt_G03_01_Scr)) { IncVar(0); } if (OtherUnitDead(Spt_G03_02_Scr)) { IncVar(0); } if (OtherUnitDead(Spt_G03_03_Scr)) { IncVar(0); } if (OtherUnitDead(Spt_G03_04_Scr)) { IncVar(0); } if (OtherUnitDead(Spt_G03_05_Scr)) { IncVar(0); } if (OtherUnitDead(Spt_G03_06_Scr)) { IncVar(0); } if (OtherUnitDead(Spt_G03_07_Scr)) { IncVar(0); } if (OtherUnitDead(Spt_G03_08_Scr)) { IncVar(0); } if (OtherUnitDead(Spt_G03_09_Scr)) { IncVar(0); } if (OtherUnitDead(Spt_G03_10_Scr)) { IncVar(0); } if (GetVar(0) > GetVar(1) && PlayerInRange(6000) != 1 && GetVar(3) < GetTime() && GetGlobalVar(5) == 0) { //SetGlobalVar(5,1); SetVar (3, GetTime()+300); //ChangeCamera(0x812,20,20); //WaitForTime(40); //ChangeCamera(0x801,20,20); //SetGlobalVar(5,0); //TriggerMessage(193,0xffff,0xffff); } if (GetVar(0) >= 4 && GetVar(4) != 1) { TriggerMessage(12,0xffff,0xffff); SetVar(4,1); WaitForTime(240); } if (GetVar(0) >= 6) { TriggerMessage(13,0xffff,0xffff); WaitForTime(240); EndLevel(0); EndFrame(); goto End; } SetVar(0,0); EndFrame(); goto DeadCount; label End: EndFrame(); goto End; endscript; $