# Create Units Facing Angle

Grammar — Create count|Number type|Unit for player player at pos facing angle degrees (flags)
FlagsNative | Action

Creates units facing a specified angle. Use the “Last Created Unit” and “Last Created Units” functions to refer to the created units.

# Arguments

  • int — Count
  • string<gamelink::Unit> — Type
  • int<preset::Unit_Create_Style2> — Flags
  • int — Player
  • point — Point
  • fixed — Angle

Returns — unitgroup

native unitgroup UnitCreate(
	int inCount,
	string inUnitType,
	int inCreateStyle,
	int inPlayer,
	point inPos,
	fixed inFacing,
);

Category: Unit / Basic

# Examples

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

    lv_scaledDistance = (lv_distanceBetweenPoints * gv_terraTronScale);
    lv_finalOffsetPoint = PointWithOffsetPolar(gv_terraTronPosition, lv_scaledDistance, lv_angleBetweenPoints);
    UnitCreate(1, "SS_TerraTronMissileLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), lv_finalOffsetPoint, (lp_facing - 90.0));
    libNtve_gf_AttachActorToUnit(gv_boss, "SS_TerraTronMissileLaunch", lp_launchAttachPoint);
}

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

void gf_CreateBackground (int lp_iD) {
    // Implementation
    UnitCreate(1, gf_BackgroundUnitType(lp_iD), 0, gv_p0_NEUTRAL, gv_bGStart, 180.0);
    gf_PrepareUnitForShooterGame(UnitLastCreated());
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, -2.0);

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

    // Implementation
    lv_center = RegionGetCenter(gf_GetCameraBoundary());
    UnitCreate(1, "SS_BlackEdgeBorder", 0, gv_p0_NEUTRAL, PointWithOffset(lv_center, -36.0, 0.0), 180.0);
    gf_PrepareUnitForShooterGame(UnitLastCreated());
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, 0.0);

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

    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());
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, 0.0);

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

void gf_SpawnMob (int lp_count, string lp_type, point lp_pos, fixed lp_angle) {
    // Implementation
    UnitCreate(lp_count, lp_type, 0, gv_p2_ENEMY, lp_pos, lp_angle);
    if (((UnitGetType(UnitLastCreated()) == "SS_LightningProjectorFaceLeft") || (UnitGetType(UnitLastCreated()) == "SS_LightningProjectorFaceRight"))) {
        gv_spawnedLightningProjector = UnitLastCreated();

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

    // Implementation
    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);

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

        for ( ; ( (auto724CBDA6_ai >= 0 && lv_i <= auto724CBDA6_ae) || (auto724CBDA6_ai <= 0 && lv_i >= auto724CBDA6_ae) ) ; lv_i += auto724CBDA6_ai ) {
            if ((UnitIsAlive(gv_missileSpinnerL) == true) && (lv_spinnerLHasDied == false)) {
                UnitCreate(1, "SS_TerraTronMissileSpinnerLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), UnitGetPosition(gv_missileSpinnerL), lv_facingL);
            }
            else {

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

            }
            if ((UnitIsAlive(gv_missileSpinnerR) == true) && (lv_spinnerRHasDied == false)) {
                UnitCreate(1, "SS_TerraTronMissileSpinnerLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), UnitGetPosition(gv_missileSpinnerR), lv_facingR);
            }
            else {

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

            for ( ; ( (autoF929C3E5_ai >= 0 && lv_k <= autoF929C3E5_ae) || (autoF929C3E5_ai <= 0 && lv_k >= autoF929C3E5_ae) ) ; lv_k += autoF929C3E5_ai ) {
                if ((UnitIsAlive(gv_missileSpinnerL) == true) && (lv_spinnerLHasDied == false)) {
                    UnitCreate(1, "SS_TerraTronMissileSpinnerLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), UnitGetPosition(gv_missileSpinnerL), lv_facingL);
                }
                else {

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

                }
                if ((UnitIsAlive(gv_missileSpinnerR) == true) && (lv_spinnerRHasDied == false)) {
                    UnitCreate(1, "SS_TerraTronMissileSpinnerLauncher", c_unitCreateIgnorePlacement, UnitGetOwner(gv_boss), UnitGetPosition(gv_missileSpinnerR), lv_facingR);
                }
                else {

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

    if ((UnitGroupCount(gv_civilianSpawners, c_unitCountAlive) >= 1)) {
        if ((gv_vehicleCount < gv_vehicleLimit)) {
            UnitCreate(1, "ColonistTransport", 0, gv_p4_COLONISTS, PointFromId(2906), 180.0);
            AISetUnitForceMover(UnitLastCreated(),true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(3242)), c_orderQueueReplace);

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


    // Implementation
    UnitCreate(lp_number, lp_unitType, 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(lp_spawnRegion), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_lastGroup);
    UnitGroupIssueOrder(lv_lastGroup, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);

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

    lv_i = 1;
    for ( ; ( (auto9980B5B2_ai >= 0 && lv_i <= auto9980B5B2_ae) || (auto9980B5B2_ai < 0 && lv_i >= auto9980B5B2_ae) ) ; lv_i += auto9980B5B2_ai ) {
        UnitCreate(1, "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(RegionFromId(44)), libNtve_gf_RandomAngle());
        UnitGroupAdd(lv_tempUnitGroup, UnitLastCreated());
    }

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

    lv_i = 1;
    for ( ; ( (auto5F96F25C_ai >= 0 && lv_i <= auto5F96F25C_ae) || (auto5F96F25C_ai < 0 && lv_i >= auto5F96F25C_ae) ) ; lv_i += auto5F96F25C_ai ) {
        UnitCreate(1, "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(RegionFromId(45)), libNtve_gf_RandomAngle());
        UnitGroupAdd(lv_tempUnitGroup, UnitLastCreated());
    }

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

    libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3537));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 2, "");
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());

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

    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 2, "");
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());

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

    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());

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

    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());

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

    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());

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

    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());

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

    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());

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

    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());

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

    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());
    UnitCreate(2, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());

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

    UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());
    UnitCreate(2, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());
    libNtve_gf_CreateUnitsAtPoint2(2, "Marine", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2364));

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

    auto017A7127_n = lp_qty;
    for (auto017A7127_i = 1; auto017A7127_i <= auto017A7127_n; auto017A7127_i += 1) {
        UnitCreate(1, lp_type, 0, gv_p03_VIROPHAGE, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_infestationVirophageUnit[lp_colonyIndex]), 5.0)), libNtve_gf_RandomAngle());
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowDroneUp", 0)), c_orderQueueReplace);
    }

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


    if ((lv_defenderType == "InfestedVentMutaliskEgg")) {
        UnitCreate(1, lv_defenderType, 0, gv_p07_ZERG_INFESTED, gv_infestationDefenderLocation[lp_colonyIndex][lp_defenderIndex], libNtve_gf_RandomAngle());
        gv_infestationDefenderUnit[lp_colonyIndex][lp_defenderIndex] = UnitLastCreated();
        return ;

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


    if ((lv_defenderType == "InfestedVentBroodLordEgg")) {
        UnitCreate(1, lv_defenderType, 0, gv_p07_ZERG_INFESTED, gv_infestationDefenderLocation[lp_colonyIndex][lp_defenderIndex], libNtve_gf_RandomAngle());
        gv_infestationDefenderUnit[lp_colonyIndex][lp_defenderIndex] = UnitLastCreated();
        return ;

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

        lv_virophage = gv_infestationVirophageUnit[lv_colonyIndex];
        if ((lv_virophage != null) && (UnitIsAlive(lv_virophage) == true) && (UnitGetType(lv_virophage) == "Virophage") && (UnitGroupCount(UnitGroup("Feederling", gv_p07_ZERG_INFESTED, gv_infestationRegion[lv_colonyIndex], UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), lv_fEEDERLINGS), c_unitCountAlive) < lv_fEEDERLINGS) && (UnitGroupCount(UnitGroup(null, gv_p01_USER, gv_infestationRegion[lv_colonyIndex], UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
            UnitCreate(1, "Feederling", 0, gv_p07_ZERG_INFESTED, UnitGetPosition(lv_virophage), 270.0);
        }

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

    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);
    }
    TriggerExecute(gt_IntroFeederlingMover, true, false);

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

        auto9BF3A280_n = gv_trainMinerals[libNtve_gf_DifficultyValueInt(1, 2, 3, 4)][MinI(gv_trainsDestroyed, 7)];
        for (auto9BF3A280_i = 1; auto9BF3A280_i <= auto9BF3A280_n; auto9BF3A280_i += 1) {
            UnitCreate(1, "PalletMinerals", 0, 0, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[RandomInt(1, gv_trainList[lv_trainIndex].lv_lastCar)]), 2.0)), RandomFixed(0.0, 360.0));
            libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_01_USER);
        }

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

        auto475F7BBB_n = gv_trainGas;
        for (auto475F7BBB_i = 1; auto475F7BBB_i <= auto475F7BBB_n; auto475F7BBB_i += 1) {
            UnitCreate(1, "PalletGas", 0, 0, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[RandomInt(1, gv_trainList[lv_trainIndex].lv_lastCar)]), 2.0)), RandomFixed(0.0, 360.0));
            libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_01_USER);
        }

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

        lv_trainMidPoint = (gv_trainList[lv_trainIndex].lv_lastCar / 2);
        lv_trainMidPoint += 1;
        UnitCreate(1, "AdjutantCapsule", 0, 0, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[lv_trainMidPoint]), 2.0)), (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[lv_trainMidPoint]) - 90.0));
        libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimClear Birth");
        libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimClear Morph");

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

            }

            UnitCreate(1, "DominionKillTeam", 0, gv_pLAYER_02_DOMINION, PointFromId(532), 90.0);
            UnitGroupAdd(gv_patrolTop, UnitLastCreated());
            AISetUnitScriptControlled(UnitLastCreated(), true);

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

            }

            UnitCreate(1, "Medic", 0, gv_pLAYER_02_DOMINION, PointFromId(532), 90.0);
            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
            UnitBehaviorAdd(UnitLastCreated(), "KillSquad", UnitLastCreated(), 1);

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

            }

            UnitCreate(1, "DominionKillTeam", 0, gv_pLAYER_02_DOMINION, PointFromId(1797), 45.0);
            UnitGroupAdd(gv_patrolBottom, UnitLastCreated());
            AISetUnitScriptControlled(UnitLastCreated(), true);

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

            }

            UnitCreate(1, "Medic", 0, gv_pLAYER_02_DOMINION, PointFromId(1797), 45.0);
            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
            UnitBehaviorAdd(UnitLastCreated(), "KillSquad", UnitLastCreated(), 1);

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

            }

            UnitCreate(1, "DominionKillTeam", 0, gv_pLAYER_02_DOMINION, PointFromId(532), 45.0);
            UnitGroupAdd(gv_patrolSingle, UnitLastCreated());
            AISetUnitScriptControlled(UnitLastCreated(), true);

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

    Wait(1.0, c_timeGame);
    CameraLockInput(gv_p01_USER, false);
    UnitCreate(1, "StarportFlying", 0, gv_p01_USER, PointFromId(75), 315.0);
    lv_starport = UnitLastCreated();
    UnitSetPropertyFixed(lv_starport, c_unitPropHeight, 10.0);

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

    }

    UnitCreate(1, "TychusEjectMissile", 0, gv_p07_HORNERBASE, UnitGetPosition(gv_odin), UnitGetFacing(gv_odin));
    lv_tychusMissile = UnitLastCreated();
    UnitSetHeight(lv_tychusMissile, 16.0, 2.5);

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

    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1)) {
        if ((RandomInt(0, 1) == 0)) {
            UnitCreate(1, "Raven", 0, gv_p08_DOMINION, PointFromId(1076), 270.0);
        }
        else {

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

        }
        else {
            UnitCreate(1, "Raven", 0, gv_p08_DOMINION, PointFromId(1369), 270.0);
        }
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);

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

    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(806))), c_orderQueueAddToEnd);
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1)) {
        UnitCreate(1, "Raven", 0, gv_p08_DOMINION, libNtve_gf_RandomPointBetweenPoints(PointFromId(876), PointFromId(964)), 270.0);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(806)));

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

    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(UnitFromId(807))), c_orderQueueAddToEnd);
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1)) {
        UnitCreate(1, "Raven", 0, gv_p08_DOMINION, libNtve_gf_RandomPointBetweenPoints(PointFromId(572), PointFromId(591)), 270.0);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(807)));

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

    libNtve_gf_CreateUnitsAtPoint2(1, "VikingAssault", 0, gv_p2_DOMINION_RED, PointFromId(2088));
    gv_introVik01 = UnitLastCreated();
    UnitCreate(1, "TransportTruck", 0, gv_p2_DOMINION_RED, PointFromId(2676), 45.0);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(2679)), c_orderQueueReplace);
    UnitCreate(1, "TransportTruck", 0, gv_p2_DOMINION_RED, PointFromId(2678), 45.0);

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

    UnitCreate(1, "TransportTruck", 0, gv_p2_DOMINION_RED, PointFromId(2676), 45.0);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(2679)), c_orderQueueReplace);
    UnitCreate(1, "TransportTruck", 0, gv_p2_DOMINION_RED, PointFromId(2678), 45.0);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(2680)), c_orderQueueReplace);
    CameraApplyInfo(gv_p1_USER, CameraInfoFromId(63), 0.0, -1, 10, true);

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

    }

    UnitCreate(1, "Raven", 0, gv_p2_DOMINION_RED, PointFromId(2439), 225.0);
    lv_crosshairUnit = UnitLastCreated();
    UnitSetState(lv_crosshairUnit, c_unitStateHidden, true);

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

        lv_marinePoints1[lv_i] = PointWithOffsetPolar(PointFromId(1306), 1.0, (IntToFixed(lv_i) * 90.0));
        lv_marinePoints2[lv_i] = PointWithOffsetPolar(PointFromId(1307), 1.0, (IntToFixed(lv_i) * 90.0));
        UnitCreate(1, "Marine", 0, gv_pLAYER_01_USER, lv_marinePoints1[1], 225.0);
        lv_marineUnits[lv_i] = UnitLastCreated();
    }

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

        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lp_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
        SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
        UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
        AISetGroupSuicide(UnitLastCreatedGroup(), true);
        Wait(lp_delay, c_timeAI);

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

        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lp_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
        SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
        UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
        AISetGroupSuicide(UnitLastCreatedGroup(), true);
        Wait(lp_delay, c_timeAI);

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

        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lp_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
        SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
        UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
        UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(363)), c_orderQueueReplace);
        Wait(lp_delay, c_timeGame);

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

    for ( ; auto71FC91DE_u <= UnitGroupCount(auto71FC91DE_g, c_unitCountAll) ; auto71FC91DE_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto71FC91DE_g, auto71FC91DE_u)) ) {
        lv_indexUnit = UnitGroupUnit(auto71FC91DE_g, auto71FC91DE_u);
        UnitCreate(1, UnitGetType(lv_indexUnit), 0, 0, lv_loc, lp_facing);
        UnitGroupAdd(gv_sceneCantinaTrophies, UnitLastCreated());
        if ((lv_indexUnit == gv_labCrystal)) {

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

    for ( ; auto3846077A_u <= UnitGroupCount(auto3846077A_g, c_unitCountAll) ; auto3846077A_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto3846077A_g, auto3846077A_u)) ) {
        lv_indexUnit = UnitGroupUnit(auto3846077A_g, auto3846077A_u);
        UnitCreate(1, UnitGetType(lv_indexUnit), 0, 0, lv_loc, lp_facing);
        UnitGroupAdd(gv_sceneLabTrophies, UnitLastCreated());
        if (((lv_indexUnit == gv_labArtifact1) || (lv_indexUnit == gv_labArtifact2) || (lv_indexUnit == gv_labArtifact3) || (lv_indexUnit == gv_labArtifact4))) {

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

    if (autoB2A9180B_val == "DebriefsValerian00010") {
        SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "TTychus04MusicDebriefB", c_soundtrackCueAny, c_soundtrackIndexAny, false);
        UnitCreate(1, "SMKerriganPhoto", 0, 0, UnitGetPosition(gf_ActorUnit(ge_ActorID_ActorRaynor)), UnitGetFacing(gf_ActorUnit(ge_ActorID_ActorRaynor)));
        gv_debriefingTTychus04_1_KerriganPhoto = UnitLastCreated();
        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_debriefingTTychus04_1_KerriganPhoto), c_animNameDefault, "Custom Talk 02", c_animFlagFullMatch | c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);

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

    gf_RoomScenePrepare(ge_RoomID_RoomArmory, ge_SceneType_Scene);
    gf_HideAllActors(false);
    UnitCreate(1, "SMHyperionArmoryStage1Set02", 0, 0, UnitGetPosition(gf_RoomUnit(ge_RoomID_RoomArmory)), UnitGetFacing(gf_RoomUnit(ge_RoomID_RoomArmory)));
    lv_armoryStage02 = UnitLastCreated();
    libNtve_gf_PreloadUnit(UnitGetType(gf_ActorUnit(ge_ActorID_ActorKachinsky)), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5111

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "CommandCenter", 0, gv_p01_USER, PointFromId(216));
    gv_victoryCoCe = UnitLastCreated();
    UnitCreate(1, "SpecialOpsDropship", 0, gv_p01_USER, PointFromId(792), 45.0);
    gv_victoryDropship = UnitLastCreated();
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(291), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5113

    UnitCreate(1, "SpecialOpsDropship", 0, gv_p01_USER, PointFromId(792), 45.0);
    gv_victoryDropship = UnitLastCreated();
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(291), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(787), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5115

    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(291), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(787), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(788), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5117

    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(787), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(788), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(789), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5119

    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(788), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(789), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(790), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5121

    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(789), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(790), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    for (auto3F5C4282_i = 1; auto3F5C4282_i <= auto3F5C4282_n; auto3F5C4282_i += 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5124

    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    for (auto3F5C4282_i = 1; auto3F5C4282_i <= auto3F5C4282_n; auto3F5C4282_i += 1) {
        UnitCreate(1, "Marine", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(64)), libNtve_gf_RandomAngle());
        UnitGroupAdd(gv_victoryMarines, UnitLastCreated());
        libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:5129

    }
    for (auto407E93C5_i = 1; auto407E93C5_i <= auto407E93C5_n; auto407E93C5_i += 1) {
        UnitCreate(1, "Medic", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(66)), libNtve_gf_RandomAngle());
        UnitGroupAdd(gv_victoryMarines, UnitLastCreated());
        libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:2213

    gv_gasControlCount -= 1;
    lv_customValueOfDeadSCV = UnitGetCustomValue(EventUnit(), 1);
    UnitCreate(1, "TerrazineCanister", 0, gv_p5_TERRAZINE, UnitGetPosition(EventUnit()), 0.0);
    UnitSetCustomValue(UnitLastCreated(), 0, lv_customValueOfDeadSCV);
    libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p1_USER);

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

    if ((gv_bonusClear01 == true)) {
        if ((UnitGroupCount(UnitGroup("Diamondback", gv_p0_NEUTRAL, RegionFromId(18), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < 1)) {
            UnitCreate(1, "Diamondback", 0, gv_p0_NEUTRAL, RegionGetCenter(RegionFromId(18)), 43.0);
            UnitSetState(UnitLastCreated(), c_unitStateTargetable, false);
            UnitSetState(UnitLastCreated(), c_unitStateStatusBar, false);

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

    if ((gv_bonusClear02 == true)) {
        if ((UnitGroupCount(UnitGroup("SiegeTank", gv_p0_NEUTRAL, RegionFromId(20), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < 1)) {
            UnitCreate(1, "SiegeTank", 0, gv_p0_NEUTRAL, RegionGetCenter(RegionFromId(20)), 135.0);
            UnitSetState(UnitLastCreated(), c_unitStateTargetable, false);
            UnitSetState(UnitLastCreated(), c_unitStateStatusBar, false);

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


        if ((UnitGroupCount(UnitGroup("SiegeTank", gv_p0_NEUTRAL, RegionFromId(19), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < 1)) {
            UnitCreate(1, "SiegeTank", 0, gv_p0_NEUTRAL, RegionGetCenter(RegionFromId(19)), 45.0);
            UnitSetState(UnitLastCreated(), c_unitStateTargetable, false);
            UnitSetState(UnitLastCreated(), c_unitStateStatusBar, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:785

    lv_mineralField = UnitGroupRandomUnit(UnitGroup("MineralField", 0, lp_mineralFieldArea, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive);
    if ((lv_mineralField == null)) {
        UnitCreate(1, "MineralField", 0, 0, RegionGetCenter(lp_mineralFieldArea), 270.0);
    }
    else {

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

        AISetUnitScriptControlled(UnitLastCreated(), true);
    }
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(355), 270.0);
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(412), 270.0);
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1918), 270.0);

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

    }
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(355), 270.0);
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(412), 270.0);
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1918), 270.0);
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1919), 270.0);

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

    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(355), 270.0);
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(412), 270.0);
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1918), 270.0);
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1919), 270.0);
    CameraApplyInfo(gv_p1_USER, CameraInfoFromId(1989), 0.0, -1, 10, true);

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

    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(412), 270.0);
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1918), 270.0);
    UnitCreate(1, "CreepTumorBurrowed", 0, gv_p2_ZERG, PointFromId(1919), 270.0);
    CameraApplyInfo(gv_p1_USER, CameraInfoFromId(1989), 0.0, -1, 10, true);
    Wait(0.1, c_timeReal);

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


    Wait(3.0, c_timeReal);
    UnitCreate(12, "Zergling", 0, gv_p2_ZERG, RegionGetCenter(RegionFromId(49)), 270.0);
    auto17019353_g = UnitGroup("Zergling", gv_p2_ZERG, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto17019353_u = UnitGroupCount(auto17019353_g, c_unitCountAll);

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

    lv_facing = UnitGetFacing(EventUnit());
    UnitRemove(EventUnit());
    UnitCreate(1, "XelNagaTemple", 0, gv_p8_ANCIENT_TEMPLE, lv_location, lv_facing);
    lv_temple = UnitLastCreated();
    UnitSetPosition(lv_temple, lv_location, false);

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

    lv_player = UnitGetOwner(gv_tHEONEDRILL);
    UnitRemove(gv_tHEONEDRILL);
    UnitCreate(1, "DrakkenLaserDrill", c_unitCreateIgnorePlacement, lv_player, lv_location, lv_facing);
    gv_tHEONEDRILL = UnitLastCreated();
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_tHEONEDRILL), c_animNameDefault, "Stand Work End", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);

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

    lv_player = UnitGetOwner(gv_tHEONEDRILL);
    UnitRemove(gv_tHEONEDRILL);
    UnitCreate(1, "DrakkenLaserDrill", c_unitCreateIgnorePlacement, lv_player, lv_location, lv_facing);
    gv_tHEONEDRILL = UnitLastCreated();
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_tHEONEDRILL), c_animNameDefault, "Stand Work End", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);

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

    }

    UnitCreate(1, "RipFieldGenerator", c_unitCreateIgnorePlacement, gv_pLAYER_05_WORLDSHIP, PointFromId(169), 270.0);
    auto0933AB20_g = UnitGroup("RipFieldGenerator", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
    auto0933AB20_u = UnitGroupCount(auto0933AB20_g, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:557

        autoAC8E8DC3_n = lp_num;
        for (autoAC8E8DC3_i = 1; autoAC8E8DC3_i <= autoAC8E8DC3_n; autoAC8E8DC3_i += 1) {
            UnitCreate(1, lp_gankUnitType, 0, gv_p07_ZERG_PINK, RegionRandomPoint(gf_GetClosestRegionToSpawn(lp_spawnRegion)), libNtve_gf_RandomAngle());
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(lp_spawnRegion)), c_orderQueueReplace);
            UnitGroupAdd(lp_unitGroup, UnitLastCreated());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:565

        auto0931D563_n = lp_num;
        for (auto0931D563_i = 1; auto0931D563_i <= auto0931D563_n; auto0931D563_i += 1) {
            UnitCreate(1, lp_gankUnitType, 0, gv_p07_ZERG_PINK, RegionRandomPoint(lp_spawnRegion), libNtve_gf_RandomAngle());
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);
            UnitBehaviorAdd(UnitLastCreated(), "LarvaWander", UnitLastCreated(), 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:695

    gv_bDPCurrentFlyingHeight = lv_initialHeight;
    gv_bDPDeltaFlyingHeight = (lv_totalDeltaHeight / IntToFixed(gv_bDPSpeed));
    UnitCreate(1, lp_buildingType, 0, gv_p08_RESCUABLE, gv_bDPLandingPoint, 225.0);
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLife, lp_buildingHP);
    libNtve_gf_MakeUnitUncommandable(UnitLastCreated(), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1744

    gf_PrepareGankTeam(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "Roach", RegionFromId(31), gv_gankGroupDrop03);
    gf_PrepareGankTeam(libNtve_gf_DifficultyValueInt(0, 0, 0, 3), "Baneling", RegionFromId(31), gv_gankGroupDrop03);
    UnitCreate(1, "SpineCrawlerUprooted", 0, gv_p07_ZERG_PINK, PointFromId(36), libNtve_gf_RandomAngle());
    lv_gankSunken01 = UnitLastCreated();
    UnitGroupAdd(gv_gankGroupDrop03, lv_gankSunken01);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1748

    UnitGroupAdd(gv_gankGroupDrop03, lv_gankSunken01);
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1)) {
        UnitCreate(1, "SpineCrawlerUprooted", 0, gv_p07_ZERG_PINK, PointFromId(29), libNtve_gf_RandomAngle());
        lv_gankSunken02 = UnitLastCreated();
        UnitGroupAdd(gv_gankGroupDrop03, lv_gankSunken02);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1754


    if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
        UnitCreate(1, "SpineCrawlerUprooted", 0, gv_p07_ZERG_PINK, PointFromId(108), libNtve_gf_RandomAngle());
        lv_gankSunken03 = UnitLastCreated();
        UnitGroupAdd(gv_gankGroupDrop03, lv_gankSunken03);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1860

    gf_PrepareGankTeam(libNtve_gf_DifficultyValueInt(1, 1, 1, 1), "Corruptor", RegionFromId(37), gv_gankGroupDrop05);
    gf_PrepareGankTeam(libNtve_gf_DifficultyValueInt(2, 2, 3, 2), "Hydralisk", RegionFromId(37), gv_gankGroupDrop05);
    UnitCreate(1, "Ultralisk", 0, gv_p07_ZERG_PINK, PointFromId(29), 270.0);
    gv_gankStarportUltra = UnitLastCreated();
    UnitGroupAdd(gv_gankGroupDrop05, gv_gankStarportUltra);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:6613

        UnitRemove(auto7A6ECA02_var);
    }
    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(109), 270.0);
    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(546), 270.0);
    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(1041), 270.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:6614

    }
    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(109), 270.0);
    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(546), 270.0);
    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(1041), 270.0);
    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(1042), 270.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:6615

    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(109), 270.0);
    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(546), 270.0);
    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(1041), 270.0);
    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(1042), 270.0);
    UnitCreate(1, "SporeCrawler", 0, gv_p07_ZERG_PINK, PointFromId(1043), 270.0);

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

    UnitKill(lp_poppedEgg);
    Wait(0.1, c_timeGame);
    UnitCreate(1, "Baneling", 0, 0, lv_poppedEggPoint, libNtve_gf_RandomAngle());
    UnitBehaviorRemove(UnitLastCreated(), "BanelingExplode", 1);
    UnitKill(UnitLastCreated());

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

    auto84E2776E_val = RandomInt(1, 5);
    if (auto84E2776E_val == 1) {
        UnitCreate(3, "InfestedCivilian", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        auto9098CFC6_g = UnitLastCreatedGroup();
        auto9098CFC6_u = UnitGroupCount(auto9098CFC6_g, c_unitCountAll);

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

    }
    else if (auto84E2776E_val == 2) {
        UnitCreate(1, "InfestedTerranCampaign", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
        UnitCreate(1, "InfestedCivilian", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());

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

        UnitCreate(1, "InfestedTerranCampaign", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
        UnitCreate(1, "InfestedCivilian", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
    }

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

    }
    else if (auto84E2776E_val == 3) {
        UnitCreate(1, "InfestedCivilian", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
        UnitCreate(1, "Zergling", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());

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

        UnitCreate(1, "InfestedCivilian", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
        UnitCreate(1, "Zergling", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
    }

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

    }
    else if (auto84E2776E_val == 4) {
        UnitCreate(3, "Zergling", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        auto49098124_g = UnitLastCreatedGroup();
        auto49098124_u = UnitGroupCount(auto49098124_g, c_unitCountAll);

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

    }
    else if (auto84E2776E_val == 5) {
        UnitCreate(2, "InfestedTerranCampaign", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        auto0040CB7A_g = UnitLastCreatedGroup();
        auto0040CB7A_u = UnitGroupCount(auto0040CB7A_g, c_unitCountAll);

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

        auto7F6C0283_var = 1;
        for ( ; auto7F6C0283_var <= auto7F6C0283_ae; auto7F6C0283_var += 1 ) {
            UnitCreate(1, lp_type, 0, gv_p2_ZERG, lp_loc, libNtve_gf_RandomAngle());
            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
            UnitGroupAdd(lv_unitGroup, UnitLastCreated());

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

    for ( ; autoEA18677F_var <= autoEA18677F_ae; autoEA18677F_var += 1 ) {
        if ((WorldHeight(c_heightMapGround, gv__4LavaFireNydusPositions[autoEA18677F_var]) <= (gv__4HeightOfLava + 0.25)) && (gv__4LavaFireNydusHaveSpawned[autoEA18677F_var] == false)) {
            UnitCreate(1, "NydusWormLavaDeath", 0, gv_p2_ZERG, gv__4LavaFireNydusPositions[autoEA18677F_var], libNtve_gf_RandomAngle());
            gv__4LavaFireNydusHaveSpawned[autoEA18677F_var] = true;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:2587

    lv_i = 1;
    for ( ; ( (autoE55EFECC_ai >= 0 && lv_i <= autoE55EFECC_ae) || (autoE55EFECC_ai < 0 && lv_i >= autoE55EFECC_ae) ) ; lv_i += autoE55EFECC_ai ) {
        UnitCreate(1, gv_unitsArea01[lv_i].lv_unitType, 0, gv_unitsArea01[lv_i].lv_player, gv_unitsArea01[lv_i].lv_position, gv_unitsArea01[lv_i].lv_facing);
        UnitSetPosition(UnitLastCreated(), gv_unitsArea01[lv_i].lv_position, false);
        UnitGroupAdd(gv_pATHINGBLOCKERAREA01, UnitLastCreated());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:2627

    lv_i = 1;
    for ( ; ( (auto6DAF0FAC_ai >= 0 && lv_i <= auto6DAF0FAC_ae) || (auto6DAF0FAC_ai < 0 && lv_i >= auto6DAF0FAC_ae) ) ; lv_i += auto6DAF0FAC_ai ) {
        UnitCreate(1, gv_unitsArea02[lv_i].lv_unitType, 0, gv_unitsArea02[lv_i].lv_player, gv_unitsArea02[lv_i].lv_position, gv_unitsArea02[lv_i].lv_facing);
        UnitSetPosition(UnitLastCreated(), gv_unitsArea02[lv_i].lv_position, false);
        UnitGroupAdd(gv_pATHINGBLOCKERAREA02, UnitLastCreated());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:2667

    lv_i = 1;
    for ( ; ( (autoAA7BDA45_ai >= 0 && lv_i <= autoAA7BDA45_ae) || (autoAA7BDA45_ai < 0 && lv_i >= autoAA7BDA45_ae) ) ; lv_i += autoAA7BDA45_ai ) {
        UnitCreate(1, gv_unitsArea03[lv_i].lv_unitType, 0, gv_unitsArea03[lv_i].lv_player, gv_unitsArea03[lv_i].lv_position, gv_unitsArea03[lv_i].lv_facing);
        UnitSetPosition(UnitLastCreated(), gv_unitsArea03[lv_i].lv_position, false);
        UnitGroupAdd(gv_pATHINGBLOCKERAREA03, UnitLastCreated());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:2707

    lv_i = 1;
    for ( ; ( (auto38E900CA_ai >= 0 && lv_i <= auto38E900CA_ae) || (auto38E900CA_ai < 0 && lv_i >= auto38E900CA_ae) ) ; lv_i += auto38E900CA_ai ) {
        UnitCreate(1, gv_unitsArea04[lv_i].lv_unitType, 0, gv_unitsArea04[lv_i].lv_player, gv_unitsArea04[lv_i].lv_position, gv_unitsArea04[lv_i].lv_facing);
        UnitSetPosition(UnitLastCreated(), gv_unitsArea04[lv_i].lv_position, false);
        UnitGroupAdd(gv_pATHINGBLOCKERAREA04, UnitLastCreated());