beginscript; label WaitForPlayer: if (PlayerInRange(2000)) { SpawnOtherUnit(C1); SpawnOtherUnit(C2); SpawnOtherUnit(C3); EndFrame(); goto End; } EndFrame(); goto WaitForPlayer; label End: EndFrame(); goto End; endscript; $