beginscript; label Wait: if (GetGlobalVar(1) == 3 || GetGlobalVar(2) == 1) { SpawnUnit(); WaitForTime(10); ExcTargetType(0x2); IncTargetType(0x1); IncludeUTarget(0x6c01); BreakWptsOnAttack(); EndFrame(); goto End; } EndFrame(); goto Wait; label End: EndFrame(); goto End; endscript; $