# Add Unit To Unit Group

Grammar — Add u to g
FlagsNative | Action

Adds the specified unit to the specified unit group.

# Arguments

  • unitgroup — Unit Group
  • unit — Unit

Returns — void

native void UnitGroupAdd(unitgroup inGroup, unit inUnit);

Category: Unit Group / Groups

# Examples

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

    gf_PrepareUnitForShooterGame(UnitLastCreated());
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, -2.0);
    UnitGroupAdd(gv_activeBackgroundUnits, UnitLastCreated());
}

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

    gf_PrepareUnitForShooterGame(UnitLastCreated());
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, 0.0);
    UnitGroupAdd(gv_borderGroup, UnitLastCreated());
    UnitCreate(1, "SS_BlackEdgeBorder", 0, gv_p0_NEUTRAL, PointWithOffset(lv_center, 35.4, 0.0), 180.0);
    gf_PrepareUnitForShooterGame(UnitLastCreated());

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

    gf_PrepareUnitForShooterGame(UnitLastCreated());
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, 0.0);
    UnitGroupAdd(gv_borderGroup, UnitLastCreated());
}

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

    gv_levelTotalPowerups += 1;
    UnitCreate(1, lp_type, 0, gv_p0_NEUTRAL, lp_pos, libNtve_gf_RandomAngle());
    UnitGroupAdd(gv_powerups, UnitLastCreated());
    UnitSetState(UnitLastCreated(), c_unitStateHighlightable, false);
    UnitSetState(UnitLastCreated(), c_unitStateCursorable, false);

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

    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeBattleUI, true);
    gv_endCinematicGroup = UnitGroup(null, gv_p3_CINE, RegionFromId(1), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    UnitGroupAdd(gv_endCinematicGroup, UnitFromId(9));
    auto22B9CD29_g = gv_endCinematicGroup;
    auto22B9CD29_u = 1;

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

        autoE0D555BB_var = UnitGroupUnitFromEnd(autoE0D555BB_g, autoE0D555BB_u);
        if (autoE0D555BB_var == null) { break; }
        UnitGroupAdd(gv_civilianSpawners, autoE0D555BB_var);
    }
    autoE1052B09_g = UnitGroup(null, gv_p6_ZERG_NOAIPREPLACED, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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


    TriggerEnable(TriggerGetCurrent(), false);
    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2441));
    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2440));
    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2442));

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

    TriggerEnable(TriggerGetCurrent(), false);
    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2441));
    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2440));
    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2442));
    UnitIssueOrder(UnitGroupUnit(lv_zerglingGroup, 1), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(37))), c_orderQueueReplace);

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

    UnitGroupAdd(lv_zerglingGroup, UnitFromId(2441));
    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);

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

    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLife, 15.0);
    UnitIssueOrder(UnitFromId(2155), OrderTargetingUnit(AbilityCommand("attack", 0), UnitLastCreated()), c_orderQueueReplace);
    UnitGroupAdd(lv_unitgroup, UnitLastCreated());
    UnitIssueOrder(UnitFromId(2147), OrderTargetingUnit(AbilityCommand("attack", 0), UnitLastCreated()), c_orderQueueReplace);
    UnitGroupAdd(lv_unitgroup, UnitLastCreated());

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

    UnitGroupAdd(lv_unitgroup, UnitLastCreated());
    UnitIssueOrder(UnitFromId(2147), OrderTargetingUnit(AbilityCommand("attack", 0), UnitLastCreated()), c_orderQueueReplace);
    UnitGroupAdd(lv_unitgroup, UnitLastCreated());
    while (!(((libNtve_gf_UnitGroupIsDead(lv_unitgroup) == true) || (UnitIsAlive(UnitLastCreated()) == false)))) {
        Wait(0.5, c_timeGame);

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

        Wait(0.5, c_timeGame);
    }
    UnitGroupAdd(gv_zergOnTheLoose, UnitFromId(2147));
    UnitGroupAdd(gv_zergOnTheLoose, UnitFromId(2155));
    return true;

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

    }
    UnitGroupAdd(gv_zergOnTheLoose, UnitFromId(2147));
    UnitGroupAdd(gv_zergOnTheLoose, UnitFromId(2155));
    return true;
}

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

                lv_tempUnit = UnitGroupRandomUnit(lv_zerglingGroup, c_unitCountAlive);
                UnitGroupRemove(lv_zerglingGroup, lv_tempUnit);
                UnitGroupAdd(gv_zergOnTheLoose2, lv_tempUnit);
            }
            for (autoEC24FC15_i = 1; autoEC24FC15_i <= autoEC24FC15_n; autoEC24FC15_i += 1) {

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

            for (autoEC24FC15_i = 1; autoEC24FC15_i <= autoEC24FC15_n; autoEC24FC15_i += 1) {
                libNtve_gf_CreateUnitsAtPoint2(1, "ZerglingBurrowed", 0, gv_p5_ZERG_TACTICALPHASE, PointFromId(2425));
                UnitGroupAdd(lv_zerglingGroup, UnitLastCreated());
                UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);
            }

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

    }
    gv_infestableStructureSize = lv_i;
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(47));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(487));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(35));

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

    gv_infestableStructureSize = lv_i;
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(47));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(487));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(35));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(629));

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

    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(47));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(487));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(35));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(629));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(68));

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

    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(487));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(35));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(629));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(68));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(630));

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

    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(35));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(629));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(68));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(630));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(60));

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

    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(629));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(68));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(630));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(60));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(45));

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

    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(68));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(630));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(60));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(45));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(43));

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

    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(630));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(60));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(45));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(43));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(44));

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

    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(60));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(45));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(43));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(44));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(72));

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

    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(45));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(43));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(44));
    UnitGroupAdd(gv_firstSightInfestedGroup, UnitFromId(72));
    UnitSetPropertyFixed(UnitFromId(17), c_unitPropLife, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:612

    gv_superWarpGateP04 = UnitFromId(1077);
    gv_purifier = UnitFromId(765);
    UnitGroupAdd(gv_purifierGroup, UnitFromId(765));
    UnitSetInfoText(gv_purifier, StringToText(""), StringExternal("Param/Value/708C93EB"), StringToText(""));
    libNtve_gf_MakeUnitInvulnerable(gv_purifier, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:697

        autoBE4C0187_var = UnitGroupUnitFromEnd(autoBE4C0187_g, autoBE4C0187_u);
        if (autoBE4C0187_var == null) { break; }
        UnitGroupAdd(gv_prismGroupEast, autoBE4C0187_var);
    }
    autoB0A0C5EC_g = UnitGroup("WarpPrismPhasing", gv_pLAYER02_PROTOSS, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:704

        autoB0A0C5EC_var = UnitGroupUnitFromEnd(autoB0A0C5EC_g, autoB0A0C5EC_u);
        if (autoB0A0C5EC_var == null) { break; }
        UnitGroupAdd(gv_prismGroupNorth, autoB0A0C5EC_var);
    }
    autoAE197383_g = UnitGroup("WarpPrismPhasing", gv_pLAYER02_PROTOSS, RegionFromId(20), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:711

        autoAE197383_var = UnitGroupUnitFromEnd(autoAE197383_g, autoAE197383_u);
        if (autoAE197383_var == null) { break; }
        UnitGroupAdd(gv_prismGroupSouth, autoAE197383_var);
    }
    autoEA7B3CB7_g = UnitGroup("ColonistShip", gv_pLAYER03_COLONIST, RegionFromId(10), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:725

        auto7397EB36_var = UnitGroupUnitFromEnd(auto7397EB36_g, auto7397EB36_u);
        if (auto7397EB36_var == null) { break; }
        UnitGroupAdd(gv_resourceGroupBeta, auto7397EB36_var);
        libNtve_gf_ShowHideUnit(auto7397EB36_var, false);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:733

        auto86107EC6_var = UnitGroupUnitFromEnd(auto86107EC6_g, auto86107EC6_u);
        if (auto86107EC6_var == null) { break; }
        UnitGroupAdd(gv_resourceGroupGamma, auto86107EC6_var);
        libNtve_gf_ShowHideUnit(auto86107EC6_var, false);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:741

        autoEA733FF9_var = UnitGroupUnitFromEnd(autoEA733FF9_g, autoEA733FF9_u);
        if (autoEA733FF9_var == null) { break; }
        UnitGroupAdd(gv_resourceGroupOmega, autoEA733FF9_var);
        libNtve_gf_ShowHideUnit(autoEA733FF9_var, false);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:2813


    if (((UnitGetType(EventUnitProgressUnit()) == "Zealot") || (UnitGetType(EventUnitProgressUnit()) == "Stalker") || (UnitGetType(EventUnitProgressUnit()) == "Sentry") || (UnitGetType(EventUnitProgressUnit()) == "Immortal") || (UnitGetType(EventUnitProgressUnit()) == "HighTemplar") || (UnitGetType(EventUnitProgressUnit()) == "Archon") || (UnitGetType(EventUnitProgressUnit()) == "Scout") || (UnitGetType(EventUnitProgressUnit()) == "Phoenix") || (UnitGetType(EventUnitProgressUnit()) == "VoidRay") || (UnitGetType(EventUnitProgressUnit()) == "Carrier"))) {
        UnitGroupAdd(gv_terrorFleetGroup, EventUnitProgressUnit());
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:3907


    if (((UnitGetType(EventUnitProgressUnit()) == "Zealot") || (UnitGetType(EventUnitProgressUnit()) == "Stalker") || (UnitGetType(EventUnitProgressUnit()) == "Sentry") || (UnitGetType(EventUnitProgressUnit()) == "Immortal") || (UnitGetType(EventUnitProgressUnit()) == "DarkTemplar") || (UnitGetType(EventUnitProgressUnit()) == "HighTemplar") || (UnitGetType(EventUnitProgressUnit()) == "Archon") || (UnitGetType(EventUnitProgressUnit()) == "Phoenix") || (UnitGetType(EventUnitProgressUnit()) == "Scout") || (UnitGetType(EventUnitProgressUnit()) == "VoidRay") || (UnitGetType(EventUnitProgressUnit()) == "Carrier") || (UnitGetType(EventUnitProgressUnit()) == "Colossus"))) {
        UnitGroupAdd(gv_currentWaveUnits, EventUnitProgressUnit());
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:6089

        if (autoF2EED703_val == 1) {
            UnitBehaviorAdd(auto6D075084_var, "Run", auto6D075084_var, 1);
            UnitGroupAdd(lv_civvieGroup, auto6D075084_var);
            UnitIssueOrder(auto6D075084_var, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(2358)), c_orderQueueReplace);
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:499


        UnitGroupRemove(lv_overlordPool, lv_overlord);
        UnitGroupAdd(gv_infestationOverlords[lp_colonyIndex], lv_overlord);
        UnitSetOwner(lv_overlord, gv_p07_ZERG_INFESTED, true);
        UnitIssueOrder(lv_overlord, OrderTargetingPoint(AbilityCommand("move", 0), gv_infestationOverlordLocation[lp_colonyIndex][lv_overlordIndex]), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:532


        UnitGroupRemove(lv_overseerPool, lv_overseer);
        UnitGroupAdd(gv_infestationOverseers[lp_colonyIndex], lv_overseer);
        UnitSetOwner(lv_overseer, gv_p07_ZERG_INFESTED, true);
        UnitIssueOrder(lv_overseer, OrderTargetingPoint(AbilityCommand("move", 0), gv_infestationOverseerLocation[lp_colonyIndex][lv_overseerIndex]), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1040

        auto662D39EC_var = UnitGroupUnitFromEnd(auto662D39EC_g, auto662D39EC_u);
        if (auto662D39EC_var == null) { break; }
        UnitGroupAdd(gv_carrionBirds, auto662D39EC_var);
    }
    auto43ECEBF9_g = UnitGroup(null, c_playerAny, RegionFromId(28), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1054

        auto828DBE83_var = UnitGroupUnitFromEnd(auto828DBE83_g, auto828DBE83_u);
        if (auto828DBE83_var == null) { break; }
        UnitGroupAdd(gv_briefingGroup, auto828DBE83_var);
        libNtve_gf_ShowHideUnit(auto828DBE83_var, false);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4218

    for (auto10729A37_i = 1; auto10729A37_i <= auto10729A37_n; auto10729A37_i += 1) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "InfestedCivilian", 0, gv_p03_VIROPHAGE, RegionRandomPoint(RegionFromId(55)));
        UnitGroupAdd(lv_attackGroup, UnitLastCreated());
    }
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Zergling", 0, gv_p03_VIROPHAGE, RegionRandomPoint(RegionFromId(55)));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4221

    }
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Zergling", 0, gv_p03_VIROPHAGE, RegionRandomPoint(RegionFromId(55)));
    UnitGroupAdd(lv_attackGroup, UnitLastCreated());
    UnitGroupIssueOrder(lv_attackGroup, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(292)), c_orderQueueReplace);
    UnitGroupIssueOrder(UnitGroup("VikingFighter", c_playerAny, RegionFromId(18), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), Order(AbilityCommand("AssaultMode", 0)), c_orderQueueAddToEnd);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4451

    CreepSetSpeed(c_creepSpeedDecay, 0.0);
    UnitPauseAll(true);
    UnitGroupAdd(gv_introHiddenUnitGroup, UnitFromId(1048));
    libNtve_gf_ShowHideUnit(UnitFromId(1048), false);
    auto65ECC869_g = UnitGroup("BroodLord", c_playerAny, RegionFromId(9), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4458

        auto65ECC869_var = UnitGroupUnitFromEnd(auto65ECC869_g, auto65ECC869_u);
        if (auto65ECC869_var == null) { break; }
        UnitGroupAdd(gv_introHiddenUnitGroup, auto65ECC869_var);
        libNtve_gf_ShowHideUnit(auto65ECC869_var, false);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4466

        auto87C3CAEE_var = UnitGroupUnitFromEnd(auto87C3CAEE_g, auto87C3CAEE_u);
        if (auto87C3CAEE_var == null) { break; }
        UnitGroupAdd(gv_introHiddenUnitGroup, auto87C3CAEE_var);
        libNtve_gf_ShowHideUnit(auto87C3CAEE_var, false);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:4527

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "Virophage", c_unitCreateIgnorePlacement, gv_p07_ZERG_INFESTED, RegionGetCenter(RegionFromId(9)));
    lv_virophage = UnitLastCreated();
    UnitGroupAdd(gv_introSpawnedUnits, lv_virophage);
    for (auto69FF6029_i = 1; auto69FF6029_i <= auto69FF6029_n; auto69FF6029_i += 1) {
        UnitCreate(1, "Feederling", 0, gv_p07_ZERG_INFESTED, RegionRandomPoint(RegionFromId(9)), 270.0);

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

            lv_i = 1;
            for ( ; ( (auto099CB889_ai >= 0 && lv_i <= auto099CB889_ae) || (auto099CB889_ai < 0 && lv_i >= auto099CB889_ae) ) ; lv_i += auto099CB889_ai ) {
                UnitGroupAdd(lv_escortGroup, gv_trainList[lv_trainIndex].lv_trainCars[lv_i]);
            }
            AIAttackWaveSetTargetEscort(lv_escortPlayer, lv_escortGroup, 0);

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

        if (auto005D2B42_var == null) { break; }
        if (((UnitGetType(auto005D2B42_var) == "Caboose") || (UnitGetType(auto005D2B42_var) == "FreightCar") || (UnitGetType(auto005D2B42_var) == "TarsonisEngine") || (UnitGetType(auto005D2B42_var) == "TarsonisEngineFast"))) {
            UnitGroupAdd(lv_trainCars, auto005D2B42_var);
        }

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

    for ( ; ( (auto806C41E4_ai >= 0 && lv_i <= auto806C41E4_ae) || (auto806C41E4_ai < 0 && lv_i >= auto806C41E4_ae) ) ; lv_i += auto806C41E4_ai ) {
        if ((UnitIsAlive(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort) == true)) {
            UnitGroupAdd(lv_escortGroup, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort);
            if ((ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) >= 20.0) && (ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) <= 160.0)) {
                UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]), 4.0, (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]) + 90.0))), c_orderQueueReplace);

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


            UnitCreate(1, "DominionKillTeam", 0, gv_pLAYER_02_DOMINION, PointFromId(532), 90.0);
            UnitGroupAdd(gv_patrolTop, UnitLastCreated());
            AISetUnitScriptControlled(UnitLastCreated(), true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1788)), c_orderQueueReplace);

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

            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
            UnitBehaviorAdd(UnitLastCreated(), "KillSquad", UnitLastCreated(), 1);
            UnitGroupAdd(gv_patrolTop, UnitLastCreated());
            AISetUnitScriptControlled(UnitLastCreated(), true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1788)), c_orderQueueReplace);

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


            UnitCreate(1, "DominionKillTeam", 0, gv_pLAYER_02_DOMINION, PointFromId(1797), 45.0);
            UnitGroupAdd(gv_patrolBottom, UnitLastCreated());
            AISetUnitScriptControlled(UnitLastCreated(), true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1778)), c_orderQueueReplace);

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

            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
            UnitBehaviorAdd(UnitLastCreated(), "KillSquad", UnitLastCreated(), 1);
            UnitGroupAdd(gv_patrolBottom, UnitLastCreated());
            AISetUnitScriptControlled(UnitLastCreated(), true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1778)), c_orderQueueReplace);

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


            UnitCreate(1, "DominionKillTeam", 0, gv_pLAYER_02_DOMINION, PointFromId(532), 45.0);
            UnitGroupAdd(gv_patrolSingle, UnitLastCreated());
            AISetUnitScriptControlled(UnitLastCreated(), true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1788)), c_orderQueueReplace);

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

    for ( ; ( (auto92BAF6BC_ai >= 0 && lv_i <= auto92BAF6BC_ae) || (auto92BAF6BC_ai < 0 && lv_i >= auto92BAF6BC_ae) ) ; lv_i += auto92BAF6BC_ai ) {
        libNtve_gf_UnitCreateFacingPoint(1, "Marine", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(2.0, 4.0), ((90.0 * IntToFixed(lv_i)) + 45.0)), UnitGetPosition(lv_crate));
        UnitGroupAdd(lv_crateUnits, UnitLastCreated());
    }
    libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) + 90.0)), UnitGetPosition(lv_crate));

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

        auto020B1BA4_var = UnitGroupUnitFromEnd(auto020B1BA4_g, auto020B1BA4_u);
        if (auto020B1BA4_var == null) { break; }
        UnitGroupAdd(gv_minerals_In_Expansion_1, auto020B1BA4_var);
        libNtve_gf_ShowHideUnit(auto020B1BA4_var, false);
    }

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

        auto5A315116_var = UnitGroupUnitFromEnd(auto5A315116_g, auto5A315116_u);
        if (auto5A315116_var == null) { break; }
        UnitGroupAdd(gv_minerals_In_Expansion_2, auto5A315116_var);
        libNtve_gf_ShowHideUnit(auto5A315116_var, false);
    }

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

        auto4107826C_var = UnitGroupUnitFromEnd(auto4107826C_g, auto4107826C_u);
        if (auto4107826C_var == null) { break; }
        UnitGroupAdd(gv_minerals_In_Expansion_3, auto4107826C_var);
        libNtve_gf_ShowHideUnit(auto4107826C_var, false);
    }

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

        auto880A299C_var = UnitGroupUnitFromEnd(auto880A299C_g, auto880A299C_u);
        if (auto880A299C_var == null) { break; }
        UnitGroupAdd(gv_huge_Scrap_1, auto880A299C_var);
        libNtve_gf_ShowHideUnit(auto880A299C_var, false);
    }

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

        auto3F8B49C7_var = UnitGroupUnitFromEnd(auto3F8B49C7_g, auto3F8B49C7_u);
        if (auto3F8B49C7_var == null) { break; }
        UnitGroupAdd(gv_huge_Scrap_2, auto3F8B49C7_var);
        libNtve_gf_ShowHideUnit(auto3F8B49C7_var, false);
    }

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

        autoAC6F62B3_var = UnitGroupUnitFromEnd(autoAC6F62B3_g, autoAC6F62B3_u);
        if (autoAC6F62B3_var == null) { break; }
        UnitGroupAdd(gv_huge_Scrap_3, autoAC6F62B3_var);
        libNtve_gf_ShowHideUnit(autoAC6F62B3_var, false);
    }

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

        auto8AB4EA80_var = UnitGroupUnitFromEnd(auto8AB4EA80_g, auto8AB4EA80_u);
        if (auto8AB4EA80_var == null) { break; }
        UnitGroupAdd(gv_briefingHiddenUnits, auto8AB4EA80_var);
    }
    auto654E6C0B_g = UnitGroup(null, gv_p03_MIRA_HAN, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        auto654E6C0B_var = UnitGroupUnitFromEnd(auto654E6C0B_g, auto654E6C0B_u);
        if (auto654E6C0B_var == null) { break; }
        UnitGroupAdd(gv_briefingHiddenUnits, auto654E6C0B_var);
    }
    auto68DD87DF_g = gv_briefingHiddenUnits;

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

    for (auto8F0800B9_i = 1; auto8F0800B9_i <= auto8F0800B9_n; auto8F0800B9_i += 1) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Vulture", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(26)));
        UnitGroupAdd(gv_victoryRaynorsUnits, UnitLastCreated());
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(51)), c_orderQueueReplace);
    }

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

    for (autoFF454F62_i = 1; autoFF454F62_i <= autoFF454F62_n; autoFF454F62_i += 1) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(26)));
        UnitGroupAdd(gv_victoryRaynorsUnits, UnitLastCreated());
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(51)), c_orderQueueReplace);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5563

    libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner03Horner00042", 0), c_transmissionDurationAdd, 0.0, true);
    libNtve_gf_CreateUnitsAtPoint2(1, "CommandCenterFlying", 0, gv_p01_USER, PointFromId(961));
    UnitGroupAdd(gv_midGameActors, UnitLastCreated());
    UnitCargoCreate(UnitLastCreated(), "SCV", 5);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitCargoLastCreatedGroup(), gv_midGameActors);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5569

    UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("CommandCenterTransport", 1)), c_orderQueueAddToEnd);
    libNtve_gf_CreateUnitsAtPoint2(1, "BarracksFlying", 0, gv_p01_USER, PointFromId(990));
    UnitGroupAdd(gv_midGameActors, UnitLastCreated());
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("BarracksLand", 0), UnitGetPosition(UnitFromId(3))), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "FactoryFlying", 0, gv_p01_USER, PointFromId(989));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:5572

    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("BarracksLand", 0), UnitGetPosition(UnitFromId(3))), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "FactoryFlying", 0, gv_p01_USER, PointFromId(989));
    UnitGroupAdd(gv_midGameActors, UnitLastCreated());
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("FactoryLand", 0), UnitGetPosition(UnitFromId(148))), c_orderQueueReplace);
    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(959), 0.0, -1, 10, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:422


    AISetGroupScriptControlled(UnitCargoGroup(lv_dropship), true);
    UnitGroupAdd(gv_killTeamMedivacs, lv_dropship);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitCargoGroup(lv_dropship), gv_killTeamAttackers);
    libLbty_gf_OrderTransporttoUnloadAllthenDespawn(lv_dropship, lp_dropLoc, lp_spawnLoc);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:745

    // Implementation
    libNtve_gf_CreateUnitsAtPoint2(1, lp_unitType, 0, lp_player, PointWithOffsetPolar(gv_briefingParadePoints[1], lp_polarDistance, (PointGetFacing(gv_briefingParadePoints[1]) + lp_polarRadius)));
    UnitGroupAdd(gv_briefingParadeGroup, UnitLastCreated());
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.5);
    auto5E4EFB6A_ae = gv_briefingNumberOfParadePoints;

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

        auto7239A252_var = UnitGroupUnitFromEnd(auto7239A252_g, auto7239A252_u);
        if (auto7239A252_var == null) { break; }
        UnitGroupAdd(gv_enemyGroupTurretArea, auto7239A252_var);
    }
    auto4DD7B44B_g = UnitGroup("Marine", gv_p02_DOMINION, RegionFromId(157), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        auto4DD7B44B_var = UnitGroupUnitFromEnd(auto4DD7B44B_g, auto4DD7B44B_u);
        if (auto4DD7B44B_var == null) { break; }
        UnitGroupAdd(gv_enemyGroupTurretArea, auto4DD7B44B_var);
    }
    gv_turret07 = UnitFromId(530);

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

        auto8CE2489D_var = UnitGroupUnitFromEnd(auto8CE2489D_g, auto8CE2489D_u);
        if (auto8CE2489D_var == null) { break; }
        UnitGroupAdd(gv_tanks, auto8CE2489D_var);
    }
    auto52F81063_g = UnitGroup("SiegeTankSieged", c_playerAny, RegionFromId(95), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        auto52F81063_var = UnitGroupUnitFromEnd(auto52F81063_g, auto52F81063_u);
        if (auto52F81063_var == null) { break; }
        UnitGroupAdd(gv_tanks, auto52F81063_var);
    }
    autoDC6AB5E6_g = UnitGroup("VikingAssault", c_playerAny, RegionFromId(95), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        autoDC6AB5E6_var = UnitGroupUnitFromEnd(autoDC6AB5E6_g, autoDC6AB5E6_u);
        if (autoDC6AB5E6_var == null) { break; }
        UnitGroupAdd(gv_vikings, autoDC6AB5E6_var);
    }
    UnitSetPropertyFixed(UnitFromId(2898), c_unitPropLifeMax, 250.0);

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

        auto0B5DED9A_var = UnitGroupUnitFromEnd(auto0B5DED9A_g, auto0B5DED9A_u);
        if (auto0B5DED9A_var == null) { break; }
        UnitGroupAdd(gv_eggsGroup, auto0B5DED9A_var);
    }
    autoD18E9BE4_g = UnitGroup(null, gv_p10_SCIENTISTS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        autoD18E9BE4_var = UnitGroupUnitFromEnd(autoD18E9BE4_g, autoD18E9BE4_u);
        if (autoD18E9BE4_var == null) { break; }
        UnitGroupAdd(gv_scientistsGroup, autoD18E9BE4_var);
    }
    auto35FE4116_g = UnitGroup(null, gv_p02_DOMINION, RegionFromId(48), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        auto35FE4116_var = UnitGroupUnitFromEnd(auto35FE4116_g, auto35FE4116_u);
        if (auto35FE4116_var == null) { break; }
        UnitGroupAdd(gv_lab02DominionUnitGroup, auto35FE4116_var);
    }
    UnitGroupAdd(gv_lab02DominionUnitGroup, gv_turret07);

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

        UnitGroupAdd(gv_lab02DominionUnitGroup, auto35FE4116_var);
    }
    UnitGroupAdd(gv_lab02DominionUnitGroup, gv_turret07);
    UnitGroupAdd(gv_lab02DominionUnitGroup, gv_turret08);
    UnitGroupAdd(gv_lab02DominionUnitGroup, gv_turret09);

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

    }
    UnitGroupAdd(gv_lab02DominionUnitGroup, gv_turret07);
    UnitGroupAdd(gv_lab02DominionUnitGroup, gv_turret08);
    UnitGroupAdd(gv_lab02DominionUnitGroup, gv_turret09);
    ActorSend(ActorFromDoodad(DoodadFromId(235)), libNtve_gf_ModelSwap("HybridHoldingCellDeath", 0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:491

        autoC6ECD779_var = UnitGroupUnitFromEnd(autoC6ECD779_g, autoC6ECD779_u);
        if (autoC6ECD779_var == null) { break; }
        UnitGroupAdd(gv_riksvilleTownSquareDominion, autoC6ECD779_var);
    }
    autoCC9EB017_g = UnitGroup("Firebat", gv_p2_DOMINION_RED, RegionFromId(59), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:498

        autoCC9EB017_var = UnitGroupUnitFromEnd(autoCC9EB017_g, autoCC9EB017_u);
        if (autoCC9EB017_var == null) { break; }
        UnitGroupAdd(gv_riksvilleTownSquareDominion, autoCC9EB017_var);
    }
    auto901ABA0F_g = UnitGroup("Marine", gv_p2_DOMINION_RED, RegionFromId(28), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:505

        auto901ABA0F_var = UnitGroupUnitFromEnd(auto901ABA0F_g, auto901ABA0F_u);
        if (auto901ABA0F_var == null) { break; }
        UnitGroupAdd(gv_escapeJerks, auto901ABA0F_var);
    }
    UnitGroupAdd(gv_escapeJerks, UnitFromId(331));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:507

        UnitGroupAdd(gv_escapeJerks, auto901ABA0F_var);
    }
    UnitGroupAdd(gv_escapeJerks, UnitFromId(331));
    autoA9EAC333_g = UnitGroup("Civilian", gv_p3_RIKSVILLE_YELLOW, RegionFromId(28), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoA9EAC333_u = UnitGroupCount(autoA9EAC333_g, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:513

        autoA9EAC333_var = UnitGroupUnitFromEnd(autoA9EAC333_g, autoA9EAC333_u);
        if (autoA9EAC333_var == null) { break; }
        UnitGroupAdd(gv_escapeCivilians, autoA9EAC333_var);
    }
    autoC5983A9A_g = UnitGroup("CivilianFemale", gv_p3_RIKSVILLE_YELLOW, RegionFromId(28), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:520

        autoC5983A9A_var = UnitGroupUnitFromEnd(autoC5983A9A_g, autoC5983A9A_u);
        if (autoC5983A9A_var == null) { break; }
        UnitGroupAdd(gv_escapeCivilians, autoC5983A9A_var);
    }
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitFromId(331)), "Work", "Stand Work", c_animFlagPlayForever, c_animTimeDefault);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:529

        auto7CCC2070_var = UnitGroupUnitFromEnd(auto7CCC2070_g, auto7CCC2070_u);
        if (auto7CCC2070_var == null) { break; }
        UnitGroupAdd(gv_dominionCompoundCivilian, auto7CCC2070_var);
    }
    auto2F4CDA0F_g = UnitGroup("Marine", gv_p2_DOMINION_RED, RegionFromId(92), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:536

        auto2F4CDA0F_var = UnitGroupUnitFromEnd(auto2F4CDA0F_g, auto2F4CDA0F_u);
        if (auto2F4CDA0F_var == null) { break; }
        UnitGroupAdd(gv_dominionCompoundGuards, auto2F4CDA0F_var);
    }
    UnitGroupAdd(gv_dominionCompoundGuards, UnitFromId(2440));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:538

        UnitGroupAdd(gv_dominionCompoundGuards, auto2F4CDA0F_var);
    }
    UnitGroupAdd(gv_dominionCompoundGuards, UnitFromId(2440));
    autoEC35DFDD_g = UnitGroup("Marine", gv_p2_DOMINION_RED, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoEC35DFDD_u = UnitGroupCount(autoEC35DFDD_g, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2072

        autoC3475AE5_var = UnitGroupUnitFromEnd(autoC3475AE5_g, autoC3475AE5_u);
        if (autoC3475AE5_var == null) { break; }
        UnitGroupAdd(lv_mARINES, autoC3475AE5_var);
        UnitIssueOrder(autoC3475AE5_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(gv_southieTarget)), c_orderQueueReplace);
    }

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

        autoFACADB5B_var = UnitGroupUnitFromEnd(autoFACADB5B_g, autoFACADB5B_u);
        if (autoFACADB5B_var == null) { break; }
        UnitGroupAdd(gv_startingSCVs, autoFACADB5B_var);
    }
    gf_CreateInfoText(UnitFromId(606));

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

    TriggerExecute(gt_MinerTop, true, false);
    TriggerExecute(gt_MinerRight, true, false);
    UnitGroupAdd(gv_hellions, UnitFromId(430));
    UnitGroupAdd(gv_hellions, UnitFromId(87));
    UnitGroupAdd(gv_hellions, UnitFromId(367));

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

    TriggerExecute(gt_MinerRight, true, false);
    UnitGroupAdd(gv_hellions, UnitFromId(430));
    UnitGroupAdd(gv_hellions, UnitFromId(87));
    UnitGroupAdd(gv_hellions, UnitFromId(367));
    UnitGroupAdd(gv_hellions, UnitFromId(431));

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

    UnitGroupAdd(gv_hellions, UnitFromId(430));
    UnitGroupAdd(gv_hellions, UnitFromId(87));
    UnitGroupAdd(gv_hellions, UnitFromId(367));
    UnitGroupAdd(gv_hellions, UnitFromId(431));
    autoE63642CF_g = UnitGroup("Marine", gv_pLAYER_02_DOMINION, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    UnitGroupAdd(gv_hellions, UnitFromId(87));
    UnitGroupAdd(gv_hellions, UnitFromId(367));
    UnitGroupAdd(gv_hellions, UnitFromId(431));
    autoE63642CF_g = UnitGroup("Marine", gv_pLAYER_02_DOMINION, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoE63642CF_u = UnitGroupCount(autoE63642CF_g, c_unitCountAll);

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

            for (auto55B38AC9_i = 1; auto55B38AC9_i <= auto55B38AC9_n; auto55B38AC9_i += 1) {
                libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_05_PATROL, PointFromId(487));
                UnitGroupAdd(lv_dominionAttackSquad, UnitLastCreated());
                UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(493)), c_orderQueueReplace);
                Wait(1.0, c_timeAI);

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

        libNtve_gf_RescueUnit(autoCE1A535E_var, gv_pLAYER_01_USER, true);
        if ((UnitGetType(autoCE1A535E_var) == "Marine")) {
            UnitGroupAdd(gv_marinesRescued, autoCE1A535E_var);
        }

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

    }

    UnitGroupAdd(lv_minerGroup, UnitFromId(351));
    UnitGroupAdd(lv_minerGroup, UnitFromId(356));
    auto64492017_g = lv_minerGroup;

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


    UnitGroupAdd(lv_minerGroup, UnitFromId(351));
    UnitGroupAdd(lv_minerGroup, UnitFromId(356));
    auto64492017_g = lv_minerGroup;
    auto64492017_u = UnitGroupCount(auto64492017_g, c_unitCountAll);

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

        auto14712386_var = UnitGroupUnitFromEnd(auto14712386_g, auto14712386_u);
        if (auto14712386_var == null) { break; }
        UnitGroupAdd(lv_newAttackGroup, auto14712386_var);
    }
    AIAttackWaveCancel(AIUnitGetWave(EventUnit()));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:646

        auto36831936_var = UnitGroupUnitFromEnd(auto36831936_g, auto36831936_u);
        if (auto36831936_var == null) { break; }
        UnitGroupAdd(gv_bullhornLightsGroup, auto36831936_var);
    }
    auto9BEE0C26_g = UnitGroup("CruiserBike", c_playerAny, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);