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