beginscript; label Wait: if (GetState() != 0 && UnitDead() != 1) { ExcTargetType(0x1); IncTargetType(0x2); IncludeGTarget(2); SetNumLives(1); EndFrame(); goto Start; } EndFrame(); goto Wait; label Start: SetFollowRange(0); WaitForTime(30); SetFollowRange(1000); WaitForTime(300); SetFollowRange(0); label Switch: if (UnitDead()) { SetVar (1, GetTime()+50); label TimeWait: if (GetVar(1) > GetTime()) { EndFrame(); goto TimeWait; } SpawnUnit(); EndFrame(); goto Wait; } EndFrame(); goto Switch; label End: EndFrame(); goto End; endscript; $