# Last Created Unit

Grammar — Last created unit
FlagsNative | Function

Returns the last unit created via a “Create Units” action. This function ignores units created by other triggers.

Returns — unit

native unit UnitLastCreated();

Category: Unit / Basic

# Examples

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

    // Implementation
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(1.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(3.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);

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

    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(3.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(6.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);

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

    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(6.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(8.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);

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

    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(8.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(11.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);

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

    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(11.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(13.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);

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

    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(13.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(16.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToSideMissiles", 1);

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

    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(16.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToSideMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(18.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToSideMissiles", 1);

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

    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToSideMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(18.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToSideMissiles", 1);
}

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

    lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_TerraTronBeamTarget", 0, UnitGetOwner(gv_boss), PointWithOffset(UnitGetPosition(gv_boss), -20.0, -20.0));
    lv_beamTarget = UnitLastCreated();
    UnitIssueOrder(gv_boss, OrderTargetingUnit(AbilityCommand("attack", 0), lv_beamTarget), c_orderQueueReplace);
    libNtve_gf_SendActorMessageToUnit(gv_boss, "AnimBracketStart BeamAttack Stand,Work,Start,C Stand,Work,C Stand,Work,End,C");

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

    lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed * -1.0);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_TerraTronBeamTarget", 0, UnitGetOwner(gv_boss), PointWithOffset(UnitGetPosition(gv_boss), 20.0, -20.0));
    lv_beamTarget = UnitLastCreated();
    UnitIssueOrder(gv_boss, OrderTargetingUnit(AbilityCommand("attack", 0), lv_beamTarget), c_orderQueueReplace);
    libNtve_gf_SendActorMessageToUnit(gv_boss, "AnimBracketStart BeamAttack Stand,Work,Start,C Stand,Work,C Stand,Work,End,C");

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

        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);
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);

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

            UnitCreate(1, "ColonistTransport", 0, gv_p4_COLONISTS, PointFromId(2906), 180.0);
            AISetUnitForceMover(UnitLastCreated(),true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(3242)), c_orderQueueReplace);
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, gv_convoyMovementSpeed);

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

            AISetUnitForceMover(UnitLastCreated(),true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(3242)), c_orderQueueReplace);
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, gv_convoyMovementSpeed);
            gv_vehicleCount += 1;

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

            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(3242)), c_orderQueueReplace);
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, gv_convoyMovementSpeed);
            gv_vehicleCount += 1;
            gv_tHEONETRUCK = UnitLastCreated();

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

            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, gv_convoyMovementSpeed);
            gv_vehicleCount += 1;
            gv_tHEONETRUCK = UnitLastCreated();
            Wait(14.0, c_timeGame);
            libNtve_gf_SendActorMessageToUnit(gv_tHEONETRUCK, "AnimBracketStart Work Stand,Work,Start Stand,Work Stand,Work,End");

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

    if ((UnitGroupCount(UnitGroup("Overlord", c_playerAny, RegionCircle(lp_param_SpoogeTarget, 3.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Overlord", 0, gv_p5_ZERG_TACTICALPHASE, lp_param_Spawn);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), lp_param_SpoogeTarget), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("GenerateCreep", 0)), c_orderQueueAddToEnd);
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {

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

        libNtve_gf_CreateUnitsAtPoint2(1, "Overlord", 0, gv_p5_ZERG_TACTICALPHASE, lp_param_Spawn);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), lp_param_SpoogeTarget), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("GenerateCreep", 0)), c_orderQueueAddToEnd);
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("GenerateCreep", 0)), c_orderQueueAddToEnd);
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
        }

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

    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_CreateUnitsAtPoint2(1, "CivilianFemale", 0, 0, PointFromId(86));
    gv_crazyRidley = UnitLastCreated();
    UnitSetTeamColorIndex(UnitLastCreated(), 10);
    UnitSetState(UnitLastCreated(), c_unitStateTargetable, true);

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

    libNtve_gf_CreateUnitsAtPoint2(1, "CivilianFemale", 0, 0, PointFromId(86));
    gv_crazyRidley = UnitLastCreated();
    UnitSetTeamColorIndex(UnitLastCreated(), 10);
    UnitSetState(UnitLastCreated(), c_unitStateTargetable, true);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(161)), c_orderQueueReplace);

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

                lv_pickedSpawner = UnitGroupRandomUnit(lv_spawners, c_unitCountAlive);
                libNtve_gf_CreateUnitsAtPoint2(1, "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lv_pickedSpawner));
                AISetUnitSuicide(UnitLastCreated(), true);
                UnitGroupRemove(lv_spawners, lv_pickedSpawner);
            }

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

            if ((gv_timeOfDay == ge_PRESET_TimeOfDay_Night) && (UnitGroupCount(lv_spawners, c_unitCountAlive) > 0)) {
                libNtve_gf_CreateUnitsAtPoint2(1, "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lv_pickedSpawner));
                AISetUnitSuicide(UnitLastCreated(), true);
            }

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

    if ((lv_pickedRegion == null)) {
        libNtve_gf_CreateUnitsAtPoint2(1, "FactoryFlying", 0, gv_pLAYER_08_SWANN, RegionGetCenter(RegionFromId(41)));
        lv_factory = UnitLastCreated();
        UnitSetPropertyFixed(lv_factory, c_unitPropHeight, 10.0);
        SoundPlay(SoundLink("Ghost_DropPodImpact", -1), PlayerGroupAll(), 100.0, 0.0);

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

    else {
        libNtve_gf_CreateUnitsAtPoint2(1, "FactoryFlying", 0, gv_pLAYER_08_SWANN, RegionGetCenter(lv_pickedRegion));
        lv_factory = UnitLastCreated();
        UnitSetPropertyFixed(lv_factory, c_unitPropHeight, 10.0);
        SoundPlay(SoundLink("Ghost_DropPodImpact", -1), PlayerGroupAll(), 100.0, 0.0);

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

    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());
    }
    CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(61), 0.0, -1, 10, true);

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

    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());
    }
    autoC97EAC7D_g = UnitGroup("InfestedCivilian", gv_pLAYER_04_INFESTEDREFUGEES, RegionCircle(RegionGetCenter(RegionFromId(45)), 16.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    UnitSetOwner(UnitFromId(7), gv_pLAYER_02_REFUGEES, true);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(653));
    libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(376));
    libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);

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

    libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(376));
    libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(484));
    libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);

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

    libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(484));
    libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(498));
    libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);

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

    libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_02_REFUGEES, PointFromId(498));
    libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);
    libNtve_gf_CreateUnitsAtPoint2(1, "Firebat", 0, gv_pLAYER_02_REFUGEES, PointFromId(863));
    libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);

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

    if (autoE0C65E9D_val == 1) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Colonist", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1991)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(null, lv_colonistShip), c_orderQueueAddToEnd);

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

    if (autoE0C65E9D_val == 1) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Colonist", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1991)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(null, lv_colonistShip), c_orderQueueAddToEnd);

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

        libNtve_gf_CreateUnitsAtPoint2(1, "Colonist", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1991)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(null, lv_colonistShip), c_orderQueueAddToEnd);
    }

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

        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1991)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(null, lv_colonistShip), c_orderQueueAddToEnd);
    }
    else if (autoE0C65E9D_val == 2) {

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

    else if (autoE0C65E9D_val == 2) {
        libNtve_gf_CreateUnitsAtPoint2(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1991)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(null, lv_colonistShip), c_orderQueueAddToEnd);

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

    else if (autoE0C65E9D_val == 2) {
        libNtve_gf_CreateUnitsAtPoint2(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1991)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(null, lv_colonistShip), c_orderQueueAddToEnd);

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

        libNtve_gf_CreateUnitsAtPoint2(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1991)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(null, lv_colonistShip), c_orderQueueAddToEnd);
    }

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

        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1991)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(null, lv_colonistShip), c_orderQueueAddToEnd);
    }
    else {

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

    if (auto811AB252_val == 1) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Colonist", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1990)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(null, lv_colonistShip), c_orderQueueAddToEnd);

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

    if (auto811AB252_val == 1) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Colonist", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1990)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingUnit(null, lv_colonistShip), c_orderQueueAddToEnd);

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

    for (auto844ECF0C_i = 1; auto844ECF0C_i <= auto844ECF0C_n; auto844ECF0C_i += 1) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "InfestedCivilianBurrowed", 0, gv_p03_VIROPHAGE, RegionRandomPoint(gv_infestationRegion[lp_colony]));
        libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedCivilianUp", 0)), c_orderQueueReplace);
        AISetUnitScriptControlled(UnitLastCreated(), false);

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

        libNtve_gf_CreateUnitsWithDefaultFacing(1, "InfestedCivilianBurrowed", 0, gv_p03_VIROPHAGE, RegionRandomPoint(gv_infestationRegion[lp_colony]));
        libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedCivilianUp", 0)), c_orderQueueReplace);
        AISetUnitScriptControlled(UnitLastCreated(), false);
        AISetUnitSuicide(UnitLastCreated(), true);

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

        libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedCivilianUp", 0)), c_orderQueueReplace);
        AISetUnitScriptControlled(UnitLastCreated(), false);
        AISetUnitSuicide(UnitLastCreated(), true);
    }

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

        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedCivilianUp", 0)), c_orderQueueReplace);
        AISetUnitScriptControlled(UnitLastCreated(), false);
        AISetUnitSuicide(UnitLastCreated(), true);
    }
    auto4F8FA54E_n = lp_marine;

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

    for (auto4F8FA54E_i = 1; auto4F8FA54E_i <= auto4F8FA54E_n; auto4F8FA54E_i += 1) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "InfestedTerranCampaignBurrowed", 0, gv_p03_VIROPHAGE, RegionRandomPoint(gv_infestationRegion[lp_colony]));
        libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
        AISetUnitScriptControlled(UnitLastCreated(), false);

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

        libNtve_gf_CreateUnitsWithDefaultFacing(1, "InfestedTerranCampaignBurrowed", 0, gv_p03_VIROPHAGE, RegionRandomPoint(gv_infestationRegion[lp_colony]));
        libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
        AISetUnitScriptControlled(UnitLastCreated(), false);
        AISetUnitSuicide(UnitLastCreated(), true);

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

        libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
        AISetUnitScriptControlled(UnitLastCreated(), false);
        AISetUnitSuicide(UnitLastCreated(), true);
    }

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

        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
        AISetUnitScriptControlled(UnitLastCreated(), false);
        AISetUnitSuicide(UnitLastCreated(), true);
    }
}

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

    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:594

    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/thorner01.sc2map/MapScript.galaxy:571

    lv_currentTarget = (lp_pathIndex + 1);
    libNtve_gf_CreateUnitsAtPoint2(1, "TarsonisEngine", 0, gv_pLAYER_06_TRAIN, lv_currentPoint);
    UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_currentTarget));
    auto46B67D1A_ae = lp_numberOfCars;
    lv_i = 2;

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

            libNtve_gf_CreateUnitsAtPoint2(1, "FreightCar", 0, gv_pLAYER_06_TRAIN, lv_currentPoint);
        }
        UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_currentTarget));
    }
}

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

                }
                libNtve_gf_CreateUnitsAtPoint2(1, lv_trainCarType, 0, gv_pLAYER_06_TRAIN, lv_spawnLocation);
                gv_trainList[lv_trainsToSpawn[lv_i]].lv_trainCars[lv_currentCar] = UnitLastCreated();
                UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_initialCustomValue));
                UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, (UnitTypeGetProperty("TarsonisEngine", c_unitPropMovementSpeed) * gv_trainList[lv_trainsToSpawn[lv_i]].lv_speedMultiplier));

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

                libNtve_gf_CreateUnitsAtPoint2(1, lv_trainCarType, 0, gv_pLAYER_06_TRAIN, lv_spawnLocation);
                gv_trainList[lv_trainsToSpawn[lv_i]].lv_trainCars[lv_currentCar] = UnitLastCreated();
                UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_initialCustomValue));
                UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, (UnitTypeGetProperty("TarsonisEngine", c_unitPropMovementSpeed) * gv_trainList[lv_trainsToSpawn[lv_i]].lv_speedMultiplier));
                UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifeMax, gv_trainList[lv_trainsToSpawn[lv_i]].lv_maxLife);

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

                gv_trainList[lv_trainsToSpawn[lv_i]].lv_trainCars[lv_currentCar] = UnitLastCreated();
                UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_initialCustomValue));
                UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, (UnitTypeGetProperty("TarsonisEngine", c_unitPropMovementSpeed) * gv_trainList[lv_trainsToSpawn[lv_i]].lv_speedMultiplier));
                UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifeMax, gv_trainList[lv_trainsToSpawn[lv_i]].lv_maxLife);
                if ((UnitGetType(gv_trainList[lv_trainsToSpawn[lv_i]].lv_trainCars[lv_currentCar]) != "TarsonisEngineFast") && (UnitGetType(gv_trainList[lv_trainsToSpawn[lv_i]].lv_trainCars[lv_currentCar]) != "TarsonisEngine")) {

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

                UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_initialCustomValue));
                UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, (UnitTypeGetProperty("TarsonisEngine", c_unitPropMovementSpeed) * gv_trainList[lv_trainsToSpawn[lv_i]].lv_speedMultiplier));
                UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifeMax, gv_trainList[lv_trainsToSpawn[lv_i]].lv_maxLife);
                if ((UnitGetType(gv_trainList[lv_trainsToSpawn[lv_i]].lv_trainCars[lv_currentCar]) != "TarsonisEngineFast") && (UnitGetType(gv_trainList[lv_trainsToSpawn[lv_i]].lv_trainCars[lv_currentCar]) != "TarsonisEngine")) {
                    ActorLookAtStart(libNtve_gf_MainActorofUnit(gv_trainList[lv_trainsToSpawn[lv_i]].lv_trainCars[lv_currentCar]), "Chest", 100, 0.0, libNtve_gf_MainActorofUnit(gv_trainList[lv_trainsToSpawn[lv_i]].lv_trainCars[(lv_currentCar - 1)]));

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

                }

                libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_01_USER);
                UnitSetInfoText(UnitLastCreated(), StringExternal("Param/Value/A0649087"), StringToText(""), StringToText(""));
                gf_PlayDamagedAnimationsforTrainCar(UnitLastCreated(), ((100.0 / (IntToFixed(gv_trainList[lv_trainsToSpawn[lv_i]].lv_numberOfCars) + 1.0)) * IntToFixed(lv_currentCar)));

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


                libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_01_USER);
                UnitSetInfoText(UnitLastCreated(), StringExternal("Param/Value/A0649087"), StringToText(""), StringToText(""));
                gf_PlayDamagedAnimationsforTrainCar(UnitLastCreated(), ((100.0 / (IntToFixed(gv_trainList[lv_trainsToSpawn[lv_i]].lv_numberOfCars) + 1.0)) * IntToFixed(lv_currentCar)));
                if (((lv_trainCarType == "TarsonisEngine") || (lv_trainCarType == "TarsonisEngineFast"))) {

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

                libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_01_USER);
                UnitSetInfoText(UnitLastCreated(), StringExternal("Param/Value/A0649087"), StringToText(""), StringToText(""));
                gf_PlayDamagedAnimationsforTrainCar(UnitLastCreated(), ((100.0 / (IntToFixed(gv_trainList[lv_trainsToSpawn[lv_i]].lv_numberOfCars) + 1.0)) * IntToFixed(lv_currentCar)));
                if (((lv_trainCarType == "TarsonisEngine") || (lv_trainCarType == "TarsonisEngineFast"))) {
                    gf_ActivatePingforTrainCar(UnitLastCreated());

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

                gf_PlayDamagedAnimationsforTrainCar(UnitLastCreated(), ((100.0 / (IntToFixed(gv_trainList[lv_trainsToSpawn[lv_i]].lv_numberOfCars) + 1.0)) * IntToFixed(lv_currentCar)));
                if (((lv_trainCarType == "TarsonisEngine") || (lv_trainCarType == "TarsonisEngineFast"))) {
                    gf_ActivatePingforTrainCar(UnitLastCreated());
                    gv_trainBossBarIndex = lv_trainsToSpawn[lv_i];
                    libNtve_gf_SetBossBarBoss(1, gv_trainList[gv_trainBossBarIndex].lv_trainCars[1], true);

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

    if ((UnitGroupCount(UnitGroup(lp_salvageType, gv_p05_SCRAP, lp_salvageRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(lp_salvageRegion));
        lv_elevatorBlocker = UnitLastCreated();
        ActorRegionCreate(null, "TriggerRegion", lp_salvageRegion);
        lv_actorRegion = libNtve_gf_ActorLastCreated();

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

        Wait(1.75, c_timeGame);
        libNtve_gf_CreateUnitsWithDefaultFacing(1, lp_salvageType, c_unitCreateIgnorePlacement, gv_p05_SCRAP, RegionGetCenter(lp_salvageRegion));
        UnitSetInfoText(UnitLastCreated(), StringExternal("Param/Value/332D48ED"), StringToText(""), StringToText(""));
        ActorRegionSend(lv_actorRegion, c_actorIntersectAgainstRadiusContact, "Signal Up", "Doodad", "ScopeContains PortZionScrapElevatorLeft");
        Wait(1.75, c_timeGame);

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

    }
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(20)));
    gv_initialElevatorBlockers[1] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(21)));
    gv_initialElevatorBlockers[2] = UnitLastCreated();

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

    gv_initialElevatorBlockers[1] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(21)));
    gv_initialElevatorBlockers[2] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(12)));
    gv_initialElevatorBlockers[3] = UnitLastCreated();

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

    gv_initialElevatorBlockers[2] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(12)));
    gv_initialElevatorBlockers[3] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(8)));
    gv_initialElevatorBlockers[4] = UnitLastCreated();

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

    gv_initialElevatorBlockers[3] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(8)));
    gv_initialElevatorBlockers[4] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(13)));
    gv_initialElevatorBlockers[5] = UnitLastCreated();

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

    gv_initialElevatorBlockers[4] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(13)));
    gv_initialElevatorBlockers[5] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(14)));
    gv_initialElevatorBlockers[6] = UnitLastCreated();

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

    gv_initialElevatorBlockers[5] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(14)));
    gv_initialElevatorBlockers[6] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(18)));
    gv_initialElevatorBlockers[7] = UnitLastCreated();

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

    gv_initialElevatorBlockers[6] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(18)));
    gv_initialElevatorBlockers[7] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(19)));
    gv_initialElevatorBlockers[8] = UnitLastCreated();

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

    gv_initialElevatorBlockers[7] = UnitLastCreated();
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(19)));
    gv_initialElevatorBlockers[8] = UnitLastCreated();
    autoD10EC4F1_g = UnitGroup("Raven", gv_p02_ORLAN_ENEMY, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoD10EC4F1_u = UnitGroupCount(autoD10EC4F1_g, c_unitCountAll);

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

    libNtve_gf_ShareVisionofUnit(UnitFromId(2), true, gv_p07_DOMINION_STARPORT_B);
    libNtve_gf_CreateUnitsAtPoint2(1, "Battlecruiser", 0, gv_p07_DOMINION_STARPORT_B, PointFromId(712));
    gv_battlecruiser1 = UnitLastCreated();
    UnitIssueOrder(gv_battlecruiser1, OrderTargetingUnit(AbilityCommand("attack", 0), UnitFromId(2)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "Battlecruiser", 0, gv_p07_DOMINION_STARPORT_B, PointFromId(302));

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

    UnitIssueOrder(gv_battlecruiser1, OrderTargetingUnit(AbilityCommand("attack", 0), UnitFromId(2)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "Battlecruiser", 0, gv_p07_DOMINION_STARPORT_B, PointFromId(302));
    gv_battlecruiser2 = UnitLastCreated();
    UnitIssueOrder(gv_battlecruiser2, OrderTargetingUnit(AbilityCommand("attack", 0), UnitFromId(2)), c_orderQueueReplace);
    Wait(0.1, c_timeGame);

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

    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);
    SoundPlay(SoundLink("Ghost_DropPodImpact", -1), PlayerGroupAll(), 100.0, 0.0);

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


    libNtve_gf_CreateUnitsWithDefaultFacing(1, "BreachingCharge", 0, gv_p01_USER, PointFromId(923));
    libNtve_gf_PauseUnit(UnitLastCreated(), true);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "BreachingCharge", 0, gv_p01_USER, PointFromId(926));
    libNtve_gf_PauseUnit(UnitLastCreated(), true);

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

    libNtve_gf_PauseUnit(UnitLastCreated(), true);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "BreachingCharge", 0, gv_p01_USER, PointFromId(926));
    libNtve_gf_PauseUnit(UnitLastCreated(), true);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "BreachingCharge", 0, gv_p01_USER, PointFromId(927));
    libNtve_gf_PauseUnit(UnitLastCreated(), true);

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

    libNtve_gf_PauseUnit(UnitLastCreated(), true);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "BreachingCharge", 0, gv_p01_USER, PointFromId(927));
    libNtve_gf_PauseUnit(UnitLastCreated(), true);
    libNtve_gf_CreateUnitsAtPoint2(1, "TychusChaingun", 0, gv_p01_USER, PointFromId(967));
    gv_briefingTychus = UnitLastCreated();

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

    libNtve_gf_PauseUnit(UnitLastCreated(), true);
    libNtve_gf_CreateUnitsAtPoint2(1, "TychusChaingun", 0, gv_p01_USER, PointFromId(967));
    gv_briefingTychus = UnitLastCreated();
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(1348));
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(1353));

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

    SoundPlay(SoundLink("Barracks_Explode", 1), PlayerGroupAll(), 100.0, 0.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(74));
    UnitKill(UnitLastCreated());
    Wait(0.15, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(968));

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

    Wait(0.15, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(968));
    UnitKill(UnitLastCreated());
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(975));
    UnitKill(UnitLastCreated());

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

    UnitKill(UnitLastCreated());
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(975));
    UnitKill(UnitLastCreated());
    Wait(0.15, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(976));

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


    libNtve_gf_UnitCreateFacingPoint(1, "Medivac", 0, gv_p08_DOMINION, lp_spawnLoc, lp_dropLoc);
    lv_dropship = UnitLastCreated();
    if ((lp_type1 != null)) {
        UnitCargoCreate(lv_dropship, lp_type1, lp_qty1);

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/thorner04.sc2map/MapScript.galaxy:746

    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;
    lv_i = 2;

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

    lv_i = 2;
    for ( ; ( (auto5E4EFB6A_ai >= 0 && lv_i <= auto5E4EFB6A_ae) || (auto5E4EFB6A_ai < 0 && lv_i >= auto5E4EFB6A_ae) ) ; lv_i += auto5E4EFB6A_ai ) {
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(gv_briefingParadePoints[lv_i], lp_polarDistance, (PointGetFacing(gv_briefingParadePoints[lv_i]) + lp_polarRadius))), c_orderQueueAddToEnd);
    }
}

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

    if (auto257BD5B4_val == 1) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "CruiserBike", 0, gv_p06_CIVILIANS, PointFromId(245));
        UnitSetCustomValue(UnitLastCreated(), 1, 99.0);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(308)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(469)), c_orderQueueAddToEnd);

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

        libNtve_gf_CreateUnitsWithDefaultFacing(1, "CruiserBike", 0, gv_p06_CIVILIANS, PointFromId(245));
        UnitSetCustomValue(UnitLastCreated(), 1, 99.0);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(308)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(469)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(574)), c_orderQueueAddToEnd);

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

        UnitSetCustomValue(UnitLastCreated(), 1, 99.0);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(308)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(469)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(574)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(866)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(308)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(469)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(574)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(866)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1408)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(469)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(574)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(866)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1408)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1458)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(574)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(866)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1408)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1458)), c_orderQueueAddToEnd);
    }

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

    UnitSetPropertyFixed(UnitFromId(2898), c_unitPropLifeMax, 250.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Warbot", 0, gv_p07_NEUTRAL, PointFromId(165));
    gv_warbot = UnitLastCreated();
    UnitSetState(gv_warbot, c_unitStateFidget, false);
    gf_SetUnitMaxStats(gv_warbot, 0.0, 1500.0);

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

    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupGrenades", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(959));
    gv_grenades01 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;
    UnitSetState(gv_grenades01, c_unitStateTooltipable, true);

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

    UnitSetInfoText(gv_grenades01, StringExternal("Param/Value/69893BF3"), StringExternal("Param/Value/FC3BF07C"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupGrenades", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(981));
    gv_grenades02 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;
    UnitSetState(gv_grenades02, c_unitStateTooltipable, true);

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

    UnitSetInfoText(gv_grenades02, StringExternal("Param/Value/9303EA1D"), StringExternal("Param/Value/055EC923"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupGrenades", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(875));
    gv_grenades03 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;
    UnitSetState(gv_grenades03, c_unitStateTooltipable, true);

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

    UnitSetInfoText(gv_grenades03, StringExternal("Param/Value/29B20723"), StringExternal("Param/Value/FC067EC6"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupGrenades", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(618));
    gv_grenades04 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;
    UnitSetState(gv_grenades04, c_unitStateTooltipable, true);

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

    UnitSetInfoText(gv_grenades04, StringExternal("Param/Value/C6DE4E0F"), StringExternal("Param/Value/61B19EDA"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupGrenades", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(239));
    gv_grenades05 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;
    UnitSetState(gv_grenades05, c_unitStateTooltipable, true);

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

    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupPlasmaGun", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(16));
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, 1.0);
    gv_plasmaGun01 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;

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

    libNtve_gf_CreateUnitsAtPoint2(1, "PickupPlasmaGun", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(16));
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, 1.0);
    gv_plasmaGun01 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;
    UnitSetState(gv_plasmaGun01, c_unitStateTooltipable, true);

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

    UnitSetInfoText(gv_plasmaGun01, StringExternal("Param/Value/12F822AB"), StringExternal("Param/Value/F7EEB73B"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupPlasmaGun", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(1213));
    gv_plasmaGun02 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;
    UnitSetState(gv_plasmaGun02, c_unitStateTooltipable, true);

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

    UnitSetInfoText(gv_plasmaGun02, StringExternal("Param/Value/4600DB3D"), StringExternal("Param/Value/EAB4BA13"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupPlasmaGun", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(670));
    gv_plasmaGun03 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;
    UnitSetState(gv_plasmaGun03, c_unitStateTooltipable, true);