beginscript; ExcTargetType(0xffffffff); IncTargetType(0x2); label Wait: if (GetState() != 0 && UnitDead() != 1) { SetNumLives(1); EndFrame(); goto Start; } EndFrame(); goto Wait; label Start: IncTargetType(0xffffffff); ExcTargetType(0x1); IncTargetType(0x2); IncludeGTarget(2); 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; $