# Unit From Unit Group

Grammar — Unit i from g|Unit Group
FlagsNative | Function

Returns a specific unit, by index, from the unit group. Use the “Number Of Units In Unit Group” function to determine how many units are in the unit group.

# Arguments

  • unitgroup — Group
  • int — Index

Returns — unit

native unit UnitGroupUnit(unitgroup inGroup, int inIndex);

Category: Unit Group / Groups

# Examples

campaigns/liberty.sc2campaignbase.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:60

    numPossibleThreats = UnitGroupCount(threatGroup, c_unitCountAll);
    while (numPossibleThreats > 0) {
        unitToCheck = UnitGroupUnit(threatGroup, numPossibleThreats);
        numPossibleThreats = numPossibleThreats - 1;

campaigns/liberty.sc2campaignbase.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:87

    numPossibleThreatsInBarrage = UnitGroupCount(barrageThreatGroup, c_unitCountAll);
    while (numPossibleThreatsInBarrage > 0) {
        unitToCheck = UnitGroupUnit(barrageThreatGroup, numPossibleThreatsInBarrage);
        numPossibleThreatsInBarrage = numPossibleThreatsInBarrage - 1;

campaigns/liberty.sc2campaignbase.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:133

    loop = UnitGroupCount(scanGroup, c_unitCountAll);
    while (loop > 0) {
        unitToCheck = UnitGroupUnit(scanGroup, loop);
        loop = loop - 1;

campaigns/liberty.sc2campaignbase.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:353

    scanCount = UnitGroupCount(scanGroup, c_unitCountAll);
    while (scanCount > 0) {
        unitToCheck = UnitGroupUnit(scanGroup, scanCount);
        scanCount = scanCount - 1;
    

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:633

    auto49A2DDD7_g = UnitGroup(null, gv_p2_ENEMY, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto49A2DDD7_u = 1;
    for ( ; auto49A2DDD7_u <= UnitGroupCount(auto49A2DDD7_g, c_unitCountAll) ; auto49A2DDD7_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u)) ) {
        lv_pickedUnit = UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u);
        UnitKill(lv_pickedUnit);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:634

    auto49A2DDD7_u = 1;
    for ( ; auto49A2DDD7_u <= UnitGroupCount(auto49A2DDD7_g, c_unitCountAll) ; auto49A2DDD7_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u)) ) {
        lv_pickedUnit = UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u);
        UnitKill(lv_pickedUnit);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:642

    auto6B9B76D8_g = UnitGroup(null, gv_p0_NEUTRAL, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto6B9B76D8_u = 1;
    for ( ; auto6B9B76D8_u <= UnitGroupCount(auto6B9B76D8_g, c_unitCountAll) ; auto6B9B76D8_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u)) ) {
        lv_pickedUnit = UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u);
        auto10272E13_ae = gv_powerupTypeCount;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:643

    auto6B9B76D8_u = 1;
    for ( ; auto6B9B76D8_u <= UnitGroupCount(auto6B9B76D8_g, c_unitCountAll) ; auto6B9B76D8_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u)) ) {
        lv_pickedUnit = UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u);
        auto10272E13_ae = gv_powerupTypeCount;
        auto10272E13_ai = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2576

    autoB7804980_g = gv_activeBackgroundUnits;
    autoB7804980_u = 1;
    for ( ; autoB7804980_u <= UnitGroupCount(autoB7804980_g, c_unitCountAll) ; autoB7804980_u += BoolToInt(lv_unit == UnitGroupUnit(autoB7804980_g, autoB7804980_u)) ) {
        lv_unit = UnitGroupUnit(autoB7804980_g, autoB7804980_u);
        UnitGroupRemove(gv_activeBackgroundUnits, lv_unit);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2577

    autoB7804980_u = 1;
    for ( ; autoB7804980_u <= UnitGroupCount(autoB7804980_g, c_unitCountAll) ; autoB7804980_u += BoolToInt(lv_unit == UnitGroupUnit(autoB7804980_g, autoB7804980_u)) ) {
        lv_unit = UnitGroupUnit(autoB7804980_g, autoB7804980_u);
        UnitGroupRemove(gv_activeBackgroundUnits, lv_unit);
        UnitRemove(lv_unit);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2924

    auto3F4C99E6_g = UnitGroup("SS_PowerupBomb", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto3F4C99E6_u = 1;
    for ( ; auto3F4C99E6_u <= UnitGroupCount(auto3F4C99E6_g, c_unitCountAll) ; auto3F4C99E6_u += BoolToInt(lv_u == UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u)) ) {
        lv_u = UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u);
        UnitRemove(lv_u);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2925

    auto3F4C99E6_u = 1;
    for ( ; auto3F4C99E6_u <= UnitGroupCount(auto3F4C99E6_g, c_unitCountAll) ; auto3F4C99E6_u += BoolToInt(lv_u == UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u)) ) {
        lv_u = UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u);
        UnitRemove(lv_u);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2930

    auto1B6E7E41_g = UnitGroup("SS_PowerupHealth", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto1B6E7E41_u = 1;
    for ( ; auto1B6E7E41_u <= UnitGroupCount(auto1B6E7E41_g, c_unitCountAll) ; auto1B6E7E41_u += BoolToInt(lv_u == UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u)) ) {
        lv_u = UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u);
        UnitRemove(lv_u);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2931

    auto1B6E7E41_u = 1;
    for ( ; auto1B6E7E41_u <= UnitGroupCount(auto1B6E7E41_g, c_unitCountAll) ; auto1B6E7E41_u += BoolToInt(lv_u == UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u)) ) {
        lv_u = UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u);
        UnitRemove(lv_u);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1253

    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2440));
    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2442));
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 1), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 2), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 3), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1254

    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2442));
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 1), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 2), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 3), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    while (true) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1255

    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 1), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 2), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 3), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    while (true) {
        Wait(1.0, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:903

    lv_i = 1;
    for ( ; ( (auto31AF6971_ai >= 0 && lv_i <= auto31AF6971_ae) || (auto31AF6971_ai < 0 && lv_i >= auto31AF6971_ae) ) ; lv_i += auto31AF6971_ai ) {
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:904

    for ( ; ( (auto31AF6971_ai >= 0 && lv_i <= auto31AF6971_ae) || (auto31AF6971_ai < 0 && lv_i >= auto31AF6971_ae) ) ; lv_i += auto31AF6971_ai ) {
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:906

        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:907

        Wait(RandomFixed(0.5, 1.0), c_timeGame);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:2864

        }

        UnitGroupIssueOrder(gv_rockDestroyers, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitGroupUnit(gv_rockDestroyers, 1)), UnitGroup(null, gv_pLAYER_01_USER, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueReplace);
        Wait(4.0, c_timeGame);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5906

    }

    lv_crate = UnitGroupUnit(UnitGroup("AdjutantCapsule", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1);
    auto9586D451_g = UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_crate), 3.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto9586D451_u = UnitGroupCount(auto9586D451_g, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5966

    }

    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitGroupUnit(UnitGroup("AdjutantCapsule", c_playerAny, RegionCircle(CameraGetTarget(gv_pLAYER_01_USER), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1)), c_animNameDefault, "Morph", 0, c_animTimeDefault);
    SoundPlay(SoundLink("Bunker_What", -1), PlayerGroupAll(), 100.0, 0.0);
    Wait(2.767, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:5969

    SoundPlay(SoundLink("Bunker_What", -1), PlayerGroupAll(), 100.0, 0.0);
    Wait(2.767, c_timeGame);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitGroupUnit(UnitGroup("AdjutantCapsule", c_playerAny, RegionCircle(CameraGetTarget(gv_pLAYER_01_USER), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1)), c_animNameDefault, "Stand", c_animFlagPlayForever, c_animTimeDefault);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:5889

    }
    Wait(3.0, c_timeGame);
    UnitIssueOrder(UnitGroupUnit(lv_vultures, 2), OrderTargetingUnit(AbilityCommand("move", 0), UnitFromId(90)), c_orderQueueReplace);
    Wait(0.5, c_timeGame);
    UnitIssueOrder(UnitGroupUnit(lv_vultures, 4), OrderTargetingUnit(AbilityCommand("move", 0), UnitFromId(90)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:5891

    UnitIssueOrder(UnitGroupUnit(lv_vultures, 2), OrderTargetingUnit(AbilityCommand("move", 0), UnitFromId(90)), c_orderQueueReplace);
    Wait(0.5, c_timeGame);
    UnitIssueOrder(UnitGroupUnit(lv_vultures, 4), OrderTargetingUnit(AbilityCommand("move", 0), UnitFromId(90)), c_orderQueueReplace);
    Wait(0.5, c_timeGame);
    UnitIssueOrder(UnitGroupUnit(lv_vultures, 5), OrderTargetingUnit(AbilityCommand("move", 0), UnitFromId(90)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:5893

    UnitIssueOrder(UnitGroupUnit(lv_vultures, 4), OrderTargetingUnit(AbilityCommand("move", 0), UnitFromId(90)), c_orderQueueReplace);
    Wait(0.5, c_timeGame);
    UnitIssueOrder(UnitGroupUnit(lv_vultures, 5), OrderTargetingUnit(AbilityCommand("move", 0), UnitFromId(90)), c_orderQueueReplace);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2616

            if ((UnitGroupCount(lv_intruderGroup, c_unitCountAlive) > 0)) {
                UnitSetCustomValue(lv_scientist, 0, 1.0);
                lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_intruderGroup, 1))) + 180.0)));
                UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
                UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2672

            if ((UnitGroupCount(lv_brutaliskGroup, c_unitCountAlive) > 0)) {
                UnitSetCustomValue(lv_scientist, 0, 1.0);
                lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_brutaliskGroup, 1))) + 180.0)));
                UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
                UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2728

            if ((UnitGroupCount(lv_hybridGroup, c_unitCountAlive) > 0)) {
                UnitSetCustomValue(lv_scientist, 0, 1.0);
                lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_hybridGroup, 1))) + 180.0)));
                UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
                UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:755

    TriggerExecute(gt_StartUpgradesI, true, false);
    Wait(0.1, c_timeReal);
    UnitSelect(UnitGroupUnit(UnitGroup("CommandCenter", gv_pLAYER_01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), gv_pLAYER_01_USER, true);
    UIAlertUnit("Trigger", gv_pLAYER_01_USER, StringToText(""), null, UnitFromId(18));
    VisExploreArea(gv_pLAYER_01_USER, RegionFromId(23), true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2386

    auto5345FD8F_g = lp_whichClickables;
    auto5345FD8F_u = 1;
    for ( ; auto5345FD8F_u <= UnitGroupCount(auto5345FD8F_g, c_unitCountAll) ; auto5345FD8F_u += BoolToInt(lv_u == UnitGroupUnit(auto5345FD8F_g, auto5345FD8F_u)) ) {
        lv_u = UnitGroupUnit(auto5345FD8F_g, auto5345FD8F_u);
        gf_TurnClickableOnOff(lv_u, lp_desiredState);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2387

    auto5345FD8F_u = 1;
    for ( ; auto5345FD8F_u <= UnitGroupCount(auto5345FD8F_g, c_unitCountAll) ; auto5345FD8F_u += BoolToInt(lv_u == UnitGroupUnit(auto5345FD8F_g, auto5345FD8F_u)) ) {
        lv_u = UnitGroupUnit(auto5345FD8F_g, auto5345FD8F_u);
        gf_TurnClickableOnOff(lv_u, lp_desiredState);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2412

    auto800FE0DA_g = lp_whichClickables;
    auto800FE0DA_u = 1;
    for ( ; auto800FE0DA_u <= UnitGroupCount(auto800FE0DA_g, c_unitCountAll) ; auto800FE0DA_u += BoolToInt(lv_u == UnitGroupUnit(auto800FE0DA_g, auto800FE0DA_u)) ) {
        lv_u = UnitGroupUnit(auto800FE0DA_g, auto800FE0DA_u);
        gf_TurnClickableOnNoCheck(lv_u);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2413

    auto800FE0DA_u = 1;
    for ( ; auto800FE0DA_u <= UnitGroupCount(auto800FE0DA_g, c_unitCountAll) ; auto800FE0DA_u += BoolToInt(lv_u == UnitGroupUnit(auto800FE0DA_g, auto800FE0DA_u)) ) {
        lv_u = UnitGroupUnit(auto800FE0DA_g, auto800FE0DA_u);
        gf_TurnClickableOnNoCheck(lv_u);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2460

    auto64A00279_g = gv_clickables;
    auto64A00279_u = 1;
    for ( ; auto64A00279_u <= UnitGroupCount(auto64A00279_g, c_unitCountAll) ; auto64A00279_u += BoolToInt(lv_u == UnitGroupUnit(auto64A00279_g, auto64A00279_u)) ) {
        lv_u = UnitGroupUnit(auto64A00279_g, auto64A00279_u);
        gf_SetUnitClickableLockCount(c_transmissionDurationSet, lv_u, 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2461

    auto64A00279_u = 1;
    for ( ; auto64A00279_u <= UnitGroupCount(auto64A00279_g, c_unitCountAll) ; auto64A00279_u += BoolToInt(lv_u == UnitGroupUnit(auto64A00279_g, auto64A00279_u)) ) {
        lv_u = UnitGroupUnit(auto64A00279_g, auto64A00279_u);
        gf_SetUnitClickableLockCount(c_transmissionDurationSet, lv_u, 0);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2557

    autoF8BA0C0A_g = lp_units;
    autoF8BA0C0A_u = 1;
    for ( ; autoF8BA0C0A_u <= UnitGroupCount(autoF8BA0C0A_g, c_unitCountAll) ; autoF8BA0C0A_u += BoolToInt(lv_indexUnit == UnitGroupUnit(autoF8BA0C0A_g, autoF8BA0C0A_u)) ) {
        lv_indexUnit = UnitGroupUnit(autoF8BA0C0A_g, autoF8BA0C0A_u);
        gf_RemoveVisibleUnit(lp_addRemove, lv_indexUnit);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2558

    autoF8BA0C0A_u = 1;
    for ( ; autoF8BA0C0A_u <= UnitGroupCount(autoF8BA0C0A_g, c_unitCountAll) ; autoF8BA0C0A_u += BoolToInt(lv_indexUnit == UnitGroupUnit(autoF8BA0C0A_g, autoF8BA0C0A_u)) ) {
        lv_indexUnit = UnitGroupUnit(autoF8BA0C0A_g, autoF8BA0C0A_u);
        gf_RemoveVisibleUnit(lp_addRemove, lv_indexUnit);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3648

    auto1645265F_g = lp_unitGroup;
    auto1645265F_u = 1;
    for ( ; auto1645265F_u <= UnitGroupCount(auto1645265F_g, c_unitCountAll) ; auto1645265F_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto1645265F_g, auto1645265F_u)) ) {
        lv_indexUnit = UnitGroupUnit(auto1645265F_g, auto1645265F_u);
        libNtve_gf_ShowHideUnit(lv_indexUnit, lp_showHide);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3649

    auto1645265F_u = 1;
    for ( ; auto1645265F_u <= UnitGroupCount(auto1645265F_g, c_unitCountAll) ; auto1645265F_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto1645265F_g, auto1645265F_u)) ) {
        lv_indexUnit = UnitGroupUnit(auto1645265F_g, auto1645265F_u);
        libNtve_gf_ShowHideUnit(lv_indexUnit, lp_showHide);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:470

    AISetFilterLifePerMarker(lv_snipeFilter, StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SnipeDamage", "Amount", lp_owner)), lv_snipeMarker);
    lp_candidates = AIGetFilterGroup(lv_snipeFilter, lp_candidates);
    lv_snipeOrder = OrderTargetingUnit(AbilityCommand("Snipe", 0), UnitGroupUnit(lp_candidates, 1));
    if ((UnitOrderIsValid(lp_ghost, lv_snipeOrder) == true)) {
        AICast(lp_ghost, lv_snipeOrder, lv_snipeMarker, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:2252

        }

        lv_tempUnit = UnitGroupUnit(lv_patrolGroup, 1);
        if ((lv_targetCooldown == 0) && (libNtve_gf_UnitInRegion(lv_tempUnit, RegionCircle(PointWithOffsetPolar(PointFromId(1140), UnitGetCustomValue(lv_tempUnit, 0), UnitGetCustomValue(lv_tempUnit, 1)), 1.0)) == true)) {
            lv_movementTarget = PointFromId(1142);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3408

    }

    libNtve_gf_RescueUnit(UnitGroupUnit(UnitGroup("Diamondback", 0, RegionFromId(18), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), gv_p11_ALLIED_CELLBLOCK_A, true);
    autoCF6BBBEF_g = UnitGroup("Diamondback", gv_p11_ALLIED_CELLBLOCK_A, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoCF6BBBEF_u = UnitGroupCount(autoCF6BBBEF_g, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3482


    if ((RandomInt(1, 2) == 1)) {
        lv_chosenTank = UnitGroupUnit(UnitGroup("SiegeTank", 0, RegionFromId(20), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1);
        libNtve_gf_RescueUnit(lv_chosenTank, gv_p12_ALLIED_CELLBLOCK_B, true);
        UnitSetState(lv_chosenTank, c_unitStateTargetable, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3490

    }
    else {
        lv_chosenTank = UnitGroupUnit(UnitGroup("SiegeTank", 0, RegionFromId(19), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1);
        libNtve_gf_RescueUnit(lv_chosenTank, gv_p12_ALLIED_CELLBLOCK_B, true);
        UnitSetState(lv_chosenTank, c_unitStateTargetable, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:3749

    gf_SpawnMove("Banshee", gv_pLAYER01_USER, PointFromId(655), PointFromId(79));
    gf_SpawnMove("Banshee", gv_pLAYER01_USER, PointFromId(657), PointFromId(651));
    lv_bansheeSpeaker = UnitGroupUnit(UnitLastCreatedGroup(), 1);
    Wait(3.0, c_timeGame);
    TriggerQueueEnter();

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:703

    VisRevealArea(gv_p1_USER, RegionFromId(19), 0.1, false);
    UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/40B74FD7"), null, UnitGetPosition(UnitFromId(27)));
    UnitSelect(UnitGroupUnit(UnitGroup("CommandCenter", gv_p1_USER, RegionCircle(PointFromId(1), 16.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), gv_p1_USER, true);
    CinematicFade(true, 1.5, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
    libNtve_gf_CinematicMode(false, PlayerGroupAll(), 1.5);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2467

        lv_tempSpineCrawler = null;
        if ((UnitGroupCount(UnitGroup("SpineCrawler", gv_p2_ZERG, RegionFromId(14), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterUnderConstruction - 32)) | (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 1)) {
            lv_tempSpineCrawler = UnitGroupUnit(UnitGroup("SpineCrawler", gv_p2_ZERG, RegionFromId(14), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterUnderConstruction - 32)) | (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1);
            if ((UnitGetCustomValue(lv_tempSpineCrawler, 0) < 1.0)) {
            }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2477

        if ((lv_tempSpineCrawler == null)) {
            if ((UnitGroupCount(UnitGroup("SpineCrawler", gv_p2_ZERG, RegionFromId(16), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterUnderConstruction - 32)) | (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 1)) {
                lv_tempSpineCrawler = UnitGroupUnit(UnitGroup("SpineCrawler", gv_p2_ZERG, RegionFromId(16), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterUnderConstruction - 32)) | (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1);
                if ((UnitGetCustomValue(lv_tempSpineCrawler, 0) < 1.0)) {
                }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3727

    }
    if ((UnitGroupCount(lv_localUnits, c_unitCountAlive) >= 1)) {
        lv_transferUnit = UnitGroupUnit(lv_localUnits, 1);
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3806

    }
    if ((UnitGroupCount(lv_localUnits, c_unitCountAlive) >= 1)) {
        lv_transferUnit = UnitGroupUnit(lv_localUnits, 1);
    }
    else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:5495

        }
    }
    UnitSetPosition(UnitGroupUnit(lv_siegeTankGroup, 1), PointFromId(359), false);
    UnitSetPosition(UnitGroupUnit(lv_siegeTankGroup, 2), PointFromId(1032), false);
    auto7E34D74B_ae = UnitGroupCount(lv_infantryGroup, c_unitCountAlive);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:5496

    }
    UnitSetPosition(UnitGroupUnit(lv_siegeTankGroup, 1), PointFromId(359), false);
    UnitSetPosition(UnitGroupUnit(lv_siegeTankGroup, 2), PointFromId(1032), false);
    auto7E34D74B_ae = UnitGroupCount(lv_infantryGroup, c_unitCountAlive);
    lv_i = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:5500

    lv_i = 1;
    for ( ; ( (auto7E34D74B_ai >= 0 && lv_i <= auto7E34D74B_ae) || (auto7E34D74B_ai < 0 && lv_i >= auto7E34D74B_ae) ) ; lv_i += auto7E34D74B_ai ) {
        UnitSetPosition(UnitGroupUnit(lv_infantryGroup, lv_i), PointWithOffsetPolar(PointFromId(58), 1.5, (IntToFixed(lv_i) * (360.0 / IntToFixed(UnitGroupCount(lv_infantryGroup, c_unitCountAlive))))), false);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:5662

    GameTimeOfDaySetLength(0.0);
    GameSetBackground(c_backgroundFixed, "XilSkybox", 100.0);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitGroupUnit(UnitGroup("XelNagaTemple", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1)), c_animNameDefault, "Stand D End", c_animFlagPlayForever, c_animTimeDefault);
    if ((gv_soundRegionCreated == true)) {
        ActorScopeSend(ActorScopeFromActor(gv_soundRegionActor), "Signal StopSound");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:6128

    libNtve_gf_CreateUnitsAtPoint2(1, "Medivac", 0, 1, PointFromId(1865));
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(2153)), c_orderQueueReplace);
    lv_commandCenter = UnitGroupUnit(UnitGroup("CommandCenter", gv_p01_USER, RegionFromId(1), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1);
    if ((UnitIsAlive(lv_commandCenter) == true)) {
        libNtve_gf_CreateUnitsAtPoint2(1, "SCV", 0, 1, PointFromId(1246));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:6318

    }

    lv_commandCenter = UnitGroupUnit(UnitGroup("CommandCenter", gv_p01_USER, RegionFromId(1), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1);
    Wait(4.0, c_timeGame);
    auto852730DC_g = UnitGroup("Barracks", gv_p01_USER, RegionFromId(1), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:3575

    UnitGroupIssueOrder(UnitGroup("Marine", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1093)), c_orderQueueReplace);
    UnitGroupIssueOrder(UnitGroup("Marauder", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1093)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Barracks", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("BarracksLiftOff", 0)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Factory", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("FactoryLiftOff", 0)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Starport", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("StarportLiftOff", 0)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:3576

    UnitGroupIssueOrder(UnitGroup("Marauder", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1093)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Barracks", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("BarracksLiftOff", 0)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Factory", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("FactoryLiftOff", 0)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Starport", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("StarportLiftOff", 0)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("CommandCenter", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("CommandCenterTransport", 4)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:3577

    UnitIssueOrder(UnitGroupUnit(UnitGroup("Barracks", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("BarracksLiftOff", 0)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Factory", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("FactoryLiftOff", 0)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Starport", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("StarportLiftOff", 0)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("CommandCenter", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("CommandCenterTransport", 4)), c_orderQueueReplace);
    Wait(2.0, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:3578

    UnitIssueOrder(UnitGroupUnit(UnitGroup("Factory", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("FactoryLiftOff", 0)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Starport", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("StarportLiftOff", 0)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("CommandCenter", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("CommandCenterTransport", 4)), c_orderQueueReplace);
    Wait(2.0, c_timeGame);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("BarracksFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:3580

    UnitIssueOrder(UnitGroupUnit(UnitGroup("CommandCenter", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("CommandCenterTransport", 4)), c_orderQueueReplace);
    Wait(2.0, c_timeGame);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("BarracksFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("FactoryFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("StarportFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:3581

    Wait(2.0, c_timeGame);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("BarracksFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("FactoryFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("StarportFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);
    while (!((UnitGroupCount(UnitGroup("SCV", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:3582

    UnitIssueOrder(UnitGroupUnit(UnitGroup("BarracksFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("FactoryFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("StarportFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);
    while (!((UnitGroupCount(UnitGroup("SCV", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
        Wait(0.1, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:3586

        Wait(0.1, c_timeGame);
    }
    UnitIssueOrder(UnitGroupUnit(UnitGroup("CommandCenter", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("CommandCenterLiftOff", 0)), c_orderQueueReplace);
    Wait(2.0, c_timeGame);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("CommandCenterFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:3588

    UnitIssueOrder(UnitGroupUnit(UnitGroup("CommandCenter", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), Order(AbilityCommand("CommandCenterLiftOff", 0)), c_orderQueueReplace);
    Wait(2.0, c_timeGame);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("CommandCenterFlying", gv_pLAYER01_USER, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1093)), c_orderQueueAddToEnd);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:4586

        UnitBehaviorRemove(autoC698C0E8_var, "TTychus05ObjectiveSmallShield", 1);
    }
    UnitRemove(UnitGroupUnit(UnitGroup("RipFieldGenerator", gv_pLAYER_05_WORLDSHIP, RegionCircle(PointFromId(169), 4.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1));
    CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(8), 0.0, -1, 10, true);
    Wait(0.1, c_timeReal);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:4669

        UnitBehaviorRemove(auto8C6A23F7_var, "TTychus05ObjectiveSmallShield", 1);
    }
    UnitRemove(UnitGroupUnit(UnitGroup("RipFieldGenerator", gv_pLAYER_05_WORLDSHIP, RegionCircle(PointFromId(169), 4.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1));
    auto0A7DAF82_g = UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionCircle(PointFromId(324), 24.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto0A7DAF82_u = UnitGroupCount(auto0A7DAF82_g, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:4736

        UnitSetPropertyFixed(auto0B7696AF_var, c_unitPropEnergyPercent, 100.0);
    }
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Battlecruiser", gv_pLAYER_01_USER, RegionCircle(PointFromId(139), 2.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingUnit(AbilityCommand("Yamato", 0), UnitFromId(137)), c_orderQueueReplace);
    Wait(0.5, c_timeReal);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Battlecruiser", gv_pLAYER_01_USER, RegionCircle(PointFromId(179), 2.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingUnit(AbilityCommand("Yamato", 0), UnitFromId(137)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:4738

    UnitIssueOrder(UnitGroupUnit(UnitGroup("Battlecruiser", gv_pLAYER_01_USER, RegionCircle(PointFromId(139), 2.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingUnit(AbilityCommand("Yamato", 0), UnitFromId(137)), c_orderQueueReplace);
    Wait(0.5, c_timeReal);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Battlecruiser", gv_pLAYER_01_USER, RegionCircle(PointFromId(179), 2.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingUnit(AbilityCommand("Yamato", 0), UnitFromId(137)), c_orderQueueReplace);
    Wait(0.5, c_timeReal);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Battlecruiser", gv_pLAYER_01_USER, RegionCircle(PointFromId(183), 2.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingUnit(AbilityCommand("Yamato", 0), UnitFromId(137)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:4740

    UnitIssueOrder(UnitGroupUnit(UnitGroup("Battlecruiser", gv_pLAYER_01_USER, RegionCircle(PointFromId(179), 2.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingUnit(AbilityCommand("Yamato", 0), UnitFromId(137)), c_orderQueueReplace);
    Wait(0.5, c_timeReal);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Battlecruiser", gv_pLAYER_01_USER, RegionCircle(PointFromId(183), 2.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingUnit(AbilityCommand("Yamato", 0), UnitFromId(137)), c_orderQueueReplace);
    auto5F8B7757_g = UnitGroup("Battlecruiser", gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(UnitFromId(137)), 16.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto5F8B7757_u = UnitGroupCount(auto5F8B7757_g, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:11673

    PlayerCreateEffectPoint(gv_p1_USER, "NukeDamage", PointFromId(2222));
    UnitKill(lv_deadQueen);
    UnitKill(UnitGroupUnit(UnitGroup("FlamingBetty", c_playerAny, RegionCircle(PointFromId(2274), 3.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1));
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(PointFromId(2222), 14.0), "Signal DoodadDeath");
    Wait(7.4, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:2940

    TriggerExecute(gt_AirPings, true, false);
    UIAlertUnit("Trigger", gv_pLAYER_USER, StringExternal("Param/Value/94636AF4"), null, gv_leviathan);
    libNtve_gf_ShareVisionofUnit(UnitGroupUnit(UnitGroup("Leviathan", gv_pLAYER_ZERG_SPECIAL, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), true, gv_pLAYER_USER);
    libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingBoss", UnitGetPosition(gv_leviathan), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 0.0, 270.0);
    PingSetUnit(PingLastCreated(), gv_leviathan);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4829

        UnitRemove(auto73B2B4A3_var);
    }
    UnitRemove(UnitGroupUnit(UnitGroup("MercCompound", gv_pLAYER_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1));
    UnitRemove(UnitFromId(228));
    UnitRemove(UnitFromId(142));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:5361

    UnitIssueOrder(UnitFromId(285), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1006)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(282), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1008)), c_orderQueueReplace);
    UnitSelect(UnitGroupUnit(UnitGroup("CommandCenter", gv_pLAYER_USER, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), gv_pLAYER_USER, true);
    UIAlertPoint("Trigger", gv_pLAYER_USER, StringExternal("Param/Value/850C034D"), null, PointFromId(2));
    if ((gv_introCinematicCompleted == true)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:2078


    AISetUnitScriptControlled(gv_hybridPhysical, false);
    lv_manifestation = UnitGroupUnit(UnitGroup("Maar", gv_p10_HYBRID_MANIFESTATIONS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), 1);
    AIAttackWaveSetTargetPlayer(gv_p10_HYBRID_MANIFESTATIONS, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p10_HYBRID_MANIFESTATIONS, UnitGetPosition(lv_manifestation));

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:2077

    libNtve_gf_SendTransmissionSimple(TransmissionSourceFromModel(null), libNtve_gf_CinematicPortrait(2), SoundLink("ChallengescombinedAdjutant00031", -1), 0.0, c_transmissionDurationAdd, false);
    TransmissionWait(TransmissionLastSent(), 6.0);
    UnitGroupIssueOrder(gv_cineZerglings, OrderTargetingUnit(AbilityCommand("attack", 0), UnitGroupUnit(UnitGroup("SupplyDepot", gv_pLAYER_USER, RegionCircle(PointFromId(105), 2.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1)), c_orderQueueReplace);
    TransmissionWait(TransmissionLastSent(), 0.0);
    UnitGroupIssueOrder(gv_cineZerglings, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(116)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:932

    }

    UnitIssueOrder(UnitGroupUnit(UnitGroup("Overseer", gv_pLAYER_COMPUTER1, RegionFromId(1), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(786)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Overseer", gv_pLAYER_COMPUTER1, RegionFromId(2), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(789)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Overseer", gv_pLAYER_COMPUTER1, RegionFromId(3), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(790)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:933


    UnitIssueOrder(UnitGroupUnit(UnitGroup("Overseer", gv_pLAYER_COMPUTER1, RegionFromId(1), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(786)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Overseer", gv_pLAYER_COMPUTER1, RegionFromId(2), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(789)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Overseer", gv_pLAYER_COMPUTER1, RegionFromId(3), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(790)), c_orderQueueReplace);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:934

    UnitIssueOrder(UnitGroupUnit(UnitGroup("Overseer", gv_pLAYER_COMPUTER1, RegionFromId(1), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(786)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Overseer", gv_pLAYER_COMPUTER1, RegionFromId(2), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(789)), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(UnitGroup("Overseer", gv_pLAYER_COMPUTER1, RegionFromId(3), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1), OrderTargetingPoint(AbilityCommand("move", 1), PointFromId(790)), c_orderQueueReplace);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:633

    auto49A2DDD7_g = UnitGroup(null, gv_p2_ENEMY, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto49A2DDD7_u = 1;
    for ( ; auto49A2DDD7_u <= UnitGroupCount(auto49A2DDD7_g, c_unitCountAll) ; auto49A2DDD7_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u)) ) {
        lv_pickedUnit = UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u);
        UnitKill(lv_pickedUnit);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:634

    auto49A2DDD7_u = 1;
    for ( ; auto49A2DDD7_u <= UnitGroupCount(auto49A2DDD7_g, c_unitCountAll) ; auto49A2DDD7_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u)) ) {
        lv_pickedUnit = UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u);
        UnitKill(lv_pickedUnit);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:642

    auto6B9B76D8_g = UnitGroup(null, gv_p0_NEUTRAL, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto6B9B76D8_u = 1;
    for ( ; auto6B9B76D8_u <= UnitGroupCount(auto6B9B76D8_g, c_unitCountAll) ; auto6B9B76D8_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u)) ) {
        lv_pickedUnit = UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u);
        auto10272E13_ae = gv_powerupTypeCount;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:643

    auto6B9B76D8_u = 1;
    for ( ; auto6B9B76D8_u <= UnitGroupCount(auto6B9B76D8_g, c_unitCountAll) ; auto6B9B76D8_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u)) ) {
        lv_pickedUnit = UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u);
        auto10272E13_ae = gv_powerupTypeCount;
        auto10272E13_ai = 1;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:2576

    autoB7804980_g = gv_activeBackgroundUnits;
    autoB7804980_u = 1;
    for ( ; autoB7804980_u <= UnitGroupCount(autoB7804980_g, c_unitCountAll) ; autoB7804980_u += BoolToInt(lv_unit == UnitGroupUnit(autoB7804980_g, autoB7804980_u)) ) {
        lv_unit = UnitGroupUnit(autoB7804980_g, autoB7804980_u);
        UnitGroupRemove(gv_activeBackgroundUnits, lv_unit);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:2577

    autoB7804980_u = 1;
    for ( ; autoB7804980_u <= UnitGroupCount(autoB7804980_g, c_unitCountAll) ; autoB7804980_u += BoolToInt(lv_unit == UnitGroupUnit(autoB7804980_g, autoB7804980_u)) ) {
        lv_unit = UnitGroupUnit(autoB7804980_g, autoB7804980_u);
        UnitGroupRemove(gv_activeBackgroundUnits, lv_unit);
        UnitRemove(lv_unit);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:2924

    auto3F4C99E6_g = UnitGroup("SS_PowerupBomb", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto3F4C99E6_u = 1;
    for ( ; auto3F4C99E6_u <= UnitGroupCount(auto3F4C99E6_g, c_unitCountAll) ; auto3F4C99E6_u += BoolToInt(lv_u == UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u)) ) {
        lv_u = UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u);
        UnitRemove(lv_u);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:2925

    auto3F4C99E6_u = 1;
    for ( ; auto3F4C99E6_u <= UnitGroupCount(auto3F4C99E6_g, c_unitCountAll) ; auto3F4C99E6_u += BoolToInt(lv_u == UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u)) ) {
        lv_u = UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u);
        UnitRemove(lv_u);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:2930

    auto1B6E7E41_g = UnitGroup("SS_PowerupHealth", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto1B6E7E41_u = 1;
    for ( ; auto1B6E7E41_u <= UnitGroupCount(auto1B6E7E41_g, c_unitCountAll) ; auto1B6E7E41_u += BoolToInt(lv_u == UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u)) ) {
        lv_u = UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u);
        UnitRemove(lv_u);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:2931

    auto1B6E7E41_u = 1;
    for ( ; auto1B6E7E41_u <= UnitGroupCount(auto1B6E7E41_g, c_unitCountAll) ; auto1B6E7E41_u += BoolToInt(lv_u == UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u)) ) {
        lv_u = UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u);
        UnitRemove(lv_u);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1253

    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2440));
    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2442));
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 1), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 2), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 3), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1254

    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2442));
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 1), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 2), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 3), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    while (true) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2mapMapScript.galaxy:1255

    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 1), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 2), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 3), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);
    while (true) {
        Wait(1.0, c_timeGame);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:903

    lv_i = 1;
    for ( ; ( (auto31AF6971_ai >= 0 && lv_i <= auto31AF6971_ae) || (auto31AF6971_ai < 0 && lv_i >= auto31AF6971_ae) ) ; lv_i += auto31AF6971_ai ) {
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:904

    for ( ; ( (auto31AF6971_ai >= 0 && lv_i <= auto31AF6971_ae) || (auto31AF6971_ai < 0 && lv_i >= auto31AF6971_ae) ) ; lv_i += auto31AF6971_ai ) {
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:906

        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:907

        Wait(RandomFixed(0.5, 1.0), c_timeGame);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:2864

        }

        UnitGroupIssueOrder(gv_rockDestroyers, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitGroupUnit(gv_rockDestroyers, 1)), UnitGroup(null, gv_pLAYER_01_USER, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueReplace);
        Wait(4.0, c_timeGame);
    }