beginscript; SetVar(0,0); label Trig: if ((OtherUnitInRange(Tnk_G2_1,200)) && GetVar(0) == 0) { SetGlobalVar(2,9); // if (OtherUnitDead(Spt_G4_01)) // { // TeleportOtherUnit(Spt_G4_01, TPJak4, 0, 0); // SpawnOtherUnit(Spt_G4_01); // } // if (OtherUnitDead(Spt_G4_02)) // { // TeleportOtherUnit(Spt_G4_02, TPJak4, 0, 0); // SpawnOtherUnit(Spt_G4_02); // } // if (OtherUnitDead(Spt_G4_03)) // { // TeleportOtherUnit(Spt_G4_03, TPJak4, 0, 0); // SpawnOtherUnit(Spt_G4_03); // } // if (OtherUnitDead(Spt_G4_04)) // { // TeleportOtherUnit(Spt_G4_04, TPJak4, 0, 0); // SpawnOtherUnit(Spt_G4_04); // } // WaitForTime(80); SpawnOtherUnit(Div_G7_1); EndFrame(); goto End; } EndFrame(); goto Trig; label End: EndFrame(); goto End; endscript; $