beginscript; label Start: if(PlayerInRange(300) && GetVar(0) != 1) { if (OtherUnitDead (Spit_G1_04)) { TeleportOtherUnit(Spit_G1_04, AITele3, -50, 0); SpawnOtherUnit (Spit_G1_04); } if (OtherUnitDead (Spit_G1_02)) { TeleportOtherUnit(Spit_G1_02, AITele3, -50, 0); SpawnOtherUnit (Spit_G1_02); } SetVar(0,1); } if(PlayerInRange(300) && GetGlobalVar(0) == 3) { SpawnOtherUnit (Tank2); EndFrame(); goto End; } EndFrame(); goto Start; label End: EndFrame(); goto End; endscript; $