# Rescue Unit

Grammar — Rescue unit for player player and changeColor|Change/Retain Color
FlagsAction

Causes a unit to be rescued, changing ownership and changing or retaining its color.

# Arguments

Returns — void

void libNtve_gf_RescueUnit(
	unit lp_unit,
	int lp_player,
	bool lp_changeColor,
);

Category: Unit / Basic

# Examples

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

    PingCreate(PlayerGroupSingle(gv_p1_USER), "PingSimple", UnitGetPosition(lp_unit), ColorWithAlpha(0.00, 100.00, 0.00, 0.00), 5.0);
    UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/EB027D65"), null, UnitGetPosition(lp_unit));
    libNtve_gf_RescueUnit(lp_unit, gv_p1_USER, true);
    TriggerExecute(gt_BunkerLineQ, true, false);
}

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

        if (autoEAEE2387_var == null) { break; }
        if (((UnitGetType(autoEAEE2387_var) == "SCV") || (UnitGetType(autoEAEE2387_var) == "CommandCenter") || (UnitGetType(autoEAEE2387_var) == "Refinery") || (UnitGetType(autoEAEE2387_var) == "SupplyDepot") || (UnitGetType(autoEAEE2387_var) == "SupplyDepotLowered") || (UnitGetType(autoEAEE2387_var) == "Barracks") || (UnitGetType(autoEAEE2387_var) == "BarracksTechLab") || (UnitGetType(autoEAEE2387_var) == "MercCompound"))) {
            libNtve_gf_RescueUnit(autoEAEE2387_var, gv_p1_USER, true);
        }

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

    UIAlertUnit("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/3DE51668"), null, EventUnit());
    MinimapPing(PlayerGroupAll(), UnitGetPosition(EventUnit()), 2.0, Color(100.00, 100.00, 0.00));
    libNtve_gf_RescueUnit(EventUnit(), gv_pLAYER_01_USER, true);
    UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("FactoryLand", 0), RegionGetCenter(EventUnitRegion())), c_orderQueueReplace);
    return true;

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

    Wait(1.5, c_timeGame);
    UIAlertUnit("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/8DAA5783"), null, lp_diamondback);
    libNtve_gf_RescueUnit(lp_diamondback, gv_pLAYER_01_USER, true);
    gv_diamondbacksFound += 1;
    gv_diamondbacksUsed += 1;

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

    }

    libNtve_gf_RescueUnit(EventUnit(), gv_p01_USER, true);
    if ((UnitGetType(EventUnit()) == "CommandCenter")) {
        UnitSetPropertyFixed(EventUnit(), c_unitPropEnergy, 50.0);

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

        if (autoBD279A32_var == null) { break; }
        libNtve_gf_PauseUnit(autoBD279A32_var, false);
        libNtve_gf_RescueUnit(autoBD279A32_var, gv_p01_USER, true);
    }
    return true;

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

    }

    libNtve_gf_RescueUnit(EventUnit(), gv_p01_USER, true);
    return true;
}

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

        autoE8678206_var = UnitGroupUnitFromEnd(autoE8678206_g, autoE8678206_u);
        if (autoE8678206_var == null) { break; }
        libNtve_gf_RescueUnit(autoE8678206_var, gv_p01_USER, true);
    }
    return true;

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

    }

    libNtve_gf_RescueUnit(EventUnit(), gv_p01_USER, true);
    return true;
}

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

        autoCCE1CD7E_var = UnitGroupUnitFromEnd(autoCCE1CD7E_g, autoCCE1CD7E_u);
        if (autoCCE1CD7E_var == null) { break; }
        libNtve_gf_RescueUnit(autoCCE1CD7E_var, gv_p01_USER, true);
    }
    // Transmission - SoundLink("THorner02Orlan00012", -1)

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

    libNtve_gf_MakeUnitInvulnerable(gv_odin, false);
    libNtve_gf_ShowHideUnit(gv_odin, true);
    libNtve_gf_RescueUnit(UnitFromId(2), gv_p02_TYCHUS, true);
    UnitSetPosition(gv_odin, PointFromId(650), true);
    UnitIssueOrder(UnitFromId(2), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(650)), c_orderQueueReplace);

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

    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_AttachModelToUnit(EventUnitCargo(), "BriefingUnitSelect", "Ref_Center");
    libNtve_gf_RescueUnit(EventUnitCargo(), gv_p01_USER, true);
    Wait(6.0, c_timeGame);
    libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());

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

        if (autoB784C752_var == null) { break; }
        if ((UnitGetType(autoB784C752_var) != "Odin") && (UnitGetType(autoB784C752_var) != "OdinWreckage")) {
            libNtve_gf_RescueUnit(autoB784C752_var, gv_p01_USER, true);
        }

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

    libNtve_gf_PauseUnit(gv_warbot, false);
    libNtve_gf_TurnAnimationPropertiesOn(libNtve_gf_MainActorofUnit(gv_warbot), "Fidget");
    libNtve_gf_RescueUnit(gv_warbot, gv_p01_USER, true);
    TriggerExecute(gt_DialogueWarbotLimitedLifeQ, true, false);
    return true;

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

        autoCE1A535E_var = UnitGroupUnitFromEnd(autoCE1A535E_g, autoCE1A535E_u);
        if (autoCE1A535E_var == null) { break; }
        libNtve_gf_RescueUnit(autoCE1A535E_var, gv_pLAYER_01_USER, true);
        if ((UnitGetType(autoCE1A535E_var) == "Marine")) {
            UnitGroupAdd(gv_marinesRescued, autoCE1A535E_var);

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

        auto14DC20EB_var = UnitGroupUnitFromEnd(auto14DC20EB_g, auto14DC20EB_u);
        if (auto14DC20EB_var == null) { break; }
        libNtve_gf_RescueUnit(auto14DC20EB_var, gv_pLAYER01_USER, true);
    }
    Wait(1.0, c_timeReal);

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

        auto2AB4C609_var = UnitGroupUnitFromEnd(auto2AB4C609_g, auto2AB4C609_u);
        if (auto2AB4C609_var == null) { break; }
        libNtve_gf_RescueUnit(auto2AB4C609_var, gv_pLAYER01_USER, true);
    }
    Wait(1.0, c_timeReal);

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

        auto419AAC42_var = UnitGroupUnitFromEnd(auto419AAC42_g, auto419AAC42_u);
        if (auto419AAC42_var == null) { break; }
        libNtve_gf_RescueUnit(auto419AAC42_var, gv_pLAYER01_USER, true);
    }
    Wait(1.0, c_timeReal);

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

            if (auto2AFE1C29_var == null) { break; }
            gv_unitsRescued += 1;
            libNtve_gf_RescueUnit(auto2AFE1C29_var, gv_p01_USER, true);
            UnitClearInfoText(auto2AFE1C29_var);
        }

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

            auto99D50804_var = UnitGroupUnitFromEnd(auto99D50804_g, auto99D50804_u);
            if (auto99D50804_var == null) { break; }
            libNtve_gf_RescueUnit(auto99D50804_var, gv_p01_USER, true);
        }
    }

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

            UIAlertUnit("Trigger", gv_p01_USER, StringExternal("Param/Value/19BDCD39"), null, lv_coCe);
            MinimapPing(PlayerGroupAll(), UnitGetPosition(lv_coCe), 5.0, Color(100.00, 100.00, 0.00));
            libNtve_gf_RescueUnit(lv_coCe, gv_p01_USER, true);
            TriggerExecute(gt_TransmissionCommandCenterReplacementQ, true, false);
        }

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

    Wait(0.5, c_timeGame);
    UnitGroupRemove(gv_toshReapers, EventUnit());
    libNtve_gf_RescueUnit(EventUnit(), gv_p01_USER, true);
    autoDFF77333_g = gv_toshReapers;
    autoDFF77333_u = UnitGroupCount(autoDFF77333_g, c_unitCountAll);

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

        UnitGroupRemove(gv_toshReapers, auto2D9551B0_var);
        UnitIssueOrder(auto2D9551B0_var, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(18))), c_orderQueueReplace);
        libNtve_gf_RescueUnit(auto2D9551B0_var, gv_p01_USER, true);
    }
    TriggerExecute(gt_AchievementAllReapersFound, true, false);

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

            autoDB292AD8_var = UnitGroupUnitFromEnd(autoDB292AD8_g, autoDB292AD8_u);
            if (autoDB292AD8_var == null) { break; }
            libNtve_gf_RescueUnit(autoDB292AD8_var, gv_p01_USER, true);
            gv_unitsRescued += 1;
        }

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

            auto1D10E944_var = UnitGroupUnitFromEnd(auto1D10E944_g, auto1D10E944_u);
            if (auto1D10E944_var == null) { break; }
            libNtve_gf_RescueUnit(auto1D10E944_var, gv_p01_USER, true);
            gv_unitsRescued += 1;
        }

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

            auto59045EC4_var = UnitGroupUnitFromEnd(auto59045EC4_g, auto59045EC4_u);
            if (auto59045EC4_var == null) { break; }
            libNtve_gf_RescueUnit(auto59045EC4_var, gv_p01_USER, true);
            gv_unitsRescued += 1;
        }

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

            autoFF38DCB0_var = UnitGroupUnitFromEnd(autoFF38DCB0_g, autoFF38DCB0_u);
            if (autoFF38DCB0_var == null) { break; }
            libNtve_gf_RescueUnit(autoFF38DCB0_var, gv_p01_USER, true);
            gv_unitsRescued += 1;
        }

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

            autoF7D09147_var = UnitGroupUnitFromEnd(autoF7D09147_g, autoF7D09147_u);
            if (autoF7D09147_var == null) { break; }
            libNtve_gf_RescueUnit(autoF7D09147_var, gv_p01_USER, true);
            gv_unitsRescued += 1;
        }

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

    }

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

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

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

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

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

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

        }

        libNtve_gf_RescueUnit(autoBAD08B60_var, gv_p1_USER, true);
        Wait(0.25, c_timeGame);
    }

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

        Wait(0.25, c_timeGame);
    }
    libNtve_gf_RescueUnit(UnitFromId(44), gv_p1_USER, true);
    Wait(2.0, c_timeGame);
    CameraApplyInfo(gv_p1_USER, CameraInfoFromId(566), 0.0, -1, 10, true);

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

        if (autoF6C0C4EE_var == null) { break; }
        libNtve_gf_ShowHideUnit(autoF6C0C4EE_var, true);
        libNtve_gf_RescueUnit(autoF6C0C4EE_var, gv_p1_USER, true);
    }
    auto8C8E2B83_g = UnitGroup(null, gv_p7_ABANDONED_BASE, RegionFromId(10), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterRawResource) | (1 << c_targetFilterHarvestableResource) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        auto8C8E2B83_var = UnitGroupUnitFromEnd(auto8C8E2B83_g, auto8C8E2B83_u);
        if (auto8C8E2B83_var == null) { break; }
        libNtve_gf_RescueUnit(auto8C8E2B83_var, gv_p1_USER, true);
    }
    libNtve_gf_RescueUnit(UnitFromId(44), gv_p1_USER, true);

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

        libNtve_gf_RescueUnit(auto8C8E2B83_var, gv_p1_USER, true);
    }
    libNtve_gf_RescueUnit(UnitFromId(44), gv_p1_USER, true);
    UnitSetPropertyFixed(UnitFromId(508), c_unitPropEnergy, 50.0);
    GameTimeOfDayPause(false);

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

        autoF6137478_var = UnitGroupUnitFromEnd(autoF6137478_g, autoF6137478_u);
        if (autoF6137478_var == null) { break; }
        libNtve_gf_RescueUnit(autoF6137478_var, gv_p01_USER, true);
        if ((UnitGetType(autoF6137478_var) == "Medivac")) {
            if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {

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

        autoF42710C8_var = UnitGroupUnitFromEnd(autoF42710C8_g, autoF42710C8_u);
        if (autoF42710C8_var == null) { break; }
        libNtve_gf_RescueUnit(autoF42710C8_var, gv_p01_USER, true);
        gv_statRescuablesFound += 1;
    }

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

        if (auto80C95A67_var == null) { break; }
        gv_statRescuablesFound += 1;
        libNtve_gf_RescueUnit(auto80C95A67_var, gv_p01_USER, true);
    }
    TriggerExecute(gt_AchievementAllUnitsRescued, true, false);

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

        if (auto2C4C9513_var == null) { break; }
        gv_statRescuablesFound += 1;
        libNtve_gf_RescueUnit(auto2C4C9513_var, gv_p01_USER, true);
    }
    TriggerExecute(gt_AchievementAllUnitsRescued, true, false);

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

        if (auto9EA41264_var == null) { break; }
        gv_statRescuablesFound += 1;
        libNtve_gf_RescueUnit(auto9EA41264_var, gv_p01_USER, true);
    }
    TriggerExecute(gt_AchievementAllUnitsRescued, true, false);

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

        if (auto84FA099F_var == null) { break; }
        gv_statRescuablesFound += 1;
        libNtve_gf_RescueUnit(auto84FA099F_var, gv_p01_USER, true);
    }
    TriggerExecute(gt_AchievementAllUnitsRescued, true, false);

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

        if (autoB2F67AC6_var == null) { break; }
        gv_statRescuablesFound += 1;
        libNtve_gf_RescueUnit(autoB2F67AC6_var, gv_p01_USER, true);
    }
    TriggerExecute(gt_TransmissionSite3MilitiaRescuedQ, true, false);

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

        UnitBehaviorRemove(auto3BC1DEE1_var, "SuppressCloak", 1);
        UnitSetState(auto3BC1DEE1_var, c_unitStateInvulnerable, false);
        libNtve_gf_RescueUnit(auto3BC1DEE1_var, gv_pLAYER_01_USER, true);
        UnitGroupAdd(gv_gROUPEscapees, auto3BC1DEE1_var);
    }

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

        UnitBehaviorRemove(autoC50B9DC9_var, "SuppressCloak", 1);
        UnitSetState(autoC50B9DC9_var, c_unitStateInvulnerable, false);
        libNtve_gf_RescueUnit(autoC50B9DC9_var, gv_pLAYER_01_USER, true);
        UnitGroupAdd(gv_gROUPEscapees, autoC50B9DC9_var);
    }

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

        UnitBehaviorRemove(autoBE5341A9_var, "SuppressCloak", 1);
        UnitSetState(autoBE5341A9_var, c_unitStateInvulnerable, false);
        libNtve_gf_RescueUnit(autoBE5341A9_var, gv_pLAYER_01_USER, true);
        UnitGroupAdd(gv_gROUPEscapees, autoBE5341A9_var);
    }

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

        UnitBehaviorRemove(autoE715E49F_var, "SuppressCloak", 1);
        UnitSetState(autoE715E49F_var, c_unitStateInvulnerable, false);
        libNtve_gf_RescueUnit(autoE715E49F_var, gv_pLAYER_01_USER, true);
        UnitGroupAdd(gv_gROUPEscapees, autoE715E49F_var);
    }

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


    // Implementation
    libNtve_gf_RescueUnit(lp_rescuedUnit, gv_p01_USER, true);
    if ((UnitTypeTestAttribute(UnitGetType(lp_rescuedUnit), c_unitAttributeStructure) == true)) {
        gv_statStructuresRescued += 1;

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

        if (autoC91771D7_var == null) { break; }
        if ((UnitGetOwner(autoC91771D7_var) == gv_p08_RESCUABLE)) {
            libNtve_gf_RescueUnit(autoC91771D7_var, gv_p01_USER, true);
            UnitGroupRemove(gv_factoryAllUnits, autoC91771D7_var);
            if ((UnitTypeTestAttribute(UnitGetType(autoC91771D7_var), c_unitAttributeStructure) == true)) {

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

        if (auto85840440_var == null) { break; }
        if ((UnitGetOwner(auto85840440_var) == gv_p08_RESCUABLE)) {
            libNtve_gf_RescueUnit(auto85840440_var, gv_p01_USER, true);
            UnitGroupRemove(gv_factoryAllUnits, auto85840440_var);
            if ((UnitTypeTestAttribute(UnitGetType(auto85840440_var), c_unitAttributeStructure) == true)) {

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

        if (auto6928B596_var == null) { break; }
        if ((UnitGetOwner(auto6928B596_var) == gv_p08_RESCUABLE)) {
            libNtve_gf_RescueUnit(auto6928B596_var, gv_p01_USER, true);
            UnitGroupRemove(gv_starportAllUnits, auto6928B596_var);
            if ((UnitTypeTestAttribute(UnitGetType(auto6928B596_var), c_unitAttributeStructure) == true)) {

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

        if (auto8C1E2B92_var == null) { break; }
        if ((UnitGetOwner(auto8C1E2B92_var) == gv_p08_RESCUABLE)) {
            libNtve_gf_RescueUnit(auto8C1E2B92_var, gv_p01_USER, true);
            UnitGroupRemove(gv_starportAllUnits, auto8C1E2B92_var);
            if ((UnitTypeTestAttribute(UnitGetType(auto8C1E2B92_var), c_unitAttributeStructure) == true)) {

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

        autoFEEFD5BB_var = UnitGroupUnitFromEnd(autoFEEFD5BB_g, autoFEEFD5BB_u);
        if (autoFEEFD5BB_var == null) { break; }
        libNtve_gf_RescueUnit(autoFEEFD5BB_var, gv_p1_USER, true);
        UnitGroupAdd(gv_nonHeroicDudes, autoFEEFD5BB_var);
        UnitGroupRemove(gv__1RescuableDominionGroup, autoFEEFD5BB_var);

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

        autoA409A568_var = UnitGroupUnitFromEnd(autoA409A568_g, autoA409A568_u);
        if (autoA409A568_var == null) { break; }
        libNtve_gf_RescueUnit(autoA409A568_var, gv_p1_USER, true);
        UnitGroupAdd(gv_nonHeroicDudes, autoA409A568_var);
        UnitGroupRemove(gv__2RescuableDominionGroup, autoA409A568_var);

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

        auto70C592E4_var = UnitGroupUnitFromEnd(auto70C592E4_g, auto70C592E4_u);
        if (auto70C592E4_var == null) { break; }
        libNtve_gf_RescueUnit(auto70C592E4_var, gv_p1_USER, true);
        UnitGroupAdd(gv_nonHeroicDudes, auto70C592E4_var);
        UnitGroupRemove(gv__3RescuableDominionGroup, auto70C592E4_var);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:7361

    SoundPlay(SoundLink("UI_TerranRescueUnit", 0), PlayerGroupAll(), 100.0, 0.0);
    UnitSetState(EventUnitProgressUnit(), c_unitStateTargetable, true);
    libNtve_gf_RescueUnit(EventUnitProgressUnit(), gv_p1_USER, true);
    UnitFlashSelection(EventUnitProgressUnit(), 1.5);
    UnitIssueOrder(EventUnitProgressUnit(), Order(AbilityCommand("move", 2)), c_orderQueueReplace);

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

        TriggerEnable(TriggerGetCurrent(), false);
        gv_buildingsMainPowered += 1;
        libNtve_gf_RescueUnit(UnitFromId(25), gv_p1_USER, true);
        TriggerExecute(gt_ObjectivePowerupBaseUpdate, true, false);
        TriggerExecute(gt_Checkifallsixarepowered, true, false);

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

        TriggerEnable(TriggerGetCurrent(), false);
        gv_buildingsMainPowered += 1;
        libNtve_gf_RescueUnit(UnitFromId(17), gv_p1_USER, true);
        TriggerExecute(gt_ObjectivePowerupBaseUpdate, true, false);
        TriggerExecute(gt_Checkifallsixarepowered, true, false);

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

        TriggerEnable(TriggerGetCurrent(), false);
        gv_buildingsMainPowered += 1;
        libNtve_gf_RescueUnit(UnitFromId(10), gv_p1_USER, true);
        TriggerExecute(gt_ObjectivePowerupBaseUpdate, true, false);
        TriggerExecute(gt_Checkifallsixarepowered, true, false);

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

        TriggerEnable(TriggerGetCurrent(), false);
        gv_buildingsMainPowered += 1;
        libNtve_gf_RescueUnit(UnitFromId(162), gv_p1_USER, true);
        TriggerExecute(gt_ObjectivePowerupBaseUpdate, true, false);
        TriggerExecute(gt_Checkifallsixarepowered, true, false);

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

        TriggerEnable(TriggerGetCurrent(), false);
        gv_buildingsMainPowered += 1;
        libNtve_gf_RescueUnit(UnitFromId(11), gv_p1_USER, true);
        TriggerExecute(gt_ObjectivePowerupBaseUpdate, true, false);
        TriggerExecute(gt_Checkifallsixarepowered, true, false);

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

        TriggerEnable(TriggerGetCurrent(), false);
        gv_buildingsMainPowered += 1;
        libNtve_gf_RescueUnit(UnitFromId(199), gv_p1_USER, true);
        TriggerExecute(gt_ObjectivePowerupBaseUpdate, true, false);
        TriggerExecute(gt_Checkifallsixarepowered, true, false);

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

        UnitSetState(UnitFromId(43), c_unitStateTargetable, true);
        gv_pylonPlayerCreatedHighTemplar = EventUnitProgressUnit();
        libNtve_gf_RescueUnit(UnitFromId(43), gv_p1_USER, true);
        PingDestroy(gv_pingTemplarArchives);
        libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectPowertheAbandonedStructure, UnitFromId(43), gv_p1_USER);

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

        gv_pylonPlayerCreatedRobotics = EventUnitProgressUnit();
        TechTreeAbilityAllow(gv_p1_USER, AbilityCommand("ProtossBuild", 13), true);
        libNtve_gf_RescueUnit(UnitFromId(563), gv_p1_USER, true);
        TechTreeUnitAllow(gv_p1_USER, "Immortal", true);
        PingDestroy(gv_pingTwilightCouncil);

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

        UnitSetState(UnitFromId(179), c_unitStateTargetable, true);
        gv_pylonPlayerCreatedDT = EventUnitProgressUnit();
        libNtve_gf_RescueUnit(UnitFromId(179), gv_p1_USER, true);
        PingDestroy(gv_pingDarkShrine);
        libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectPowertheAbandonedStructure, UnitFromId(179), gv_p1_USER);

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

    UnitIssueOrder(gv_darkTemplar02, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(163)), c_orderQueueReplace);
    Wait(3.0, c_timeAI);
    libNtve_gf_RescueUnit(gv_darkTemplar01, gv_p1_USER, true);
    libNtve_gf_RescueUnit(gv_darkTemplar02, gv_p1_USER, true);
    TriggerQueueEnter();

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1220

    if ((PowerLevel(gv_p01_USER, UnitGetPosition(UnitFromId(88)), "PowerSource") > 0)) {
        TriggerEnable(TriggerGetCurrent(), false);
        libNtve_gf_RescueUnit(UnitFromId(88), gv_p01_USER, true);
        libNtve_gf_KillModel(gv_northGatePingModel);
        if ((TriggerIsEnabled(gt_WarpInNorthUnits) == true)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1265

    if ((PowerLevel(gv_p01_USER, UnitGetPosition(UnitFromId(173)), "PowerSource") > 0)) {
        TriggerEnable(TriggerGetCurrent(), false);
        libNtve_gf_RescueUnit(UnitFromId(173), gv_p01_USER, true);
        libNtve_gf_KillModel(gv_southGatePingModel);
        if ((TriggerIsEnabled(gt_WarpInSouthUnits) == true)) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1317

        gv_obelisksPowered += 1;
        lv_obelisk = UnitFromId(287);
        libNtve_gf_RescueUnit(lv_obelisk, gv_p01_USER, true);
        libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectPowertheObelisks, lv_obelisk, gv_p01_USER);
        TriggerExecute(gt_ObjectivePowerTheObelisksUpdateQ, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1366

        gv_obelisksPowered += 1;
        lv_obelisk = UnitFromId(285);
        libNtve_gf_RescueUnit(lv_obelisk, gv_p01_USER, true);
        libCamp_gf_DisplayResearchPointsGiventoPlayer(libCamp_ge_StoryResearchObject_ResearchObjectPowertheObelisks, lv_obelisk, gv_p01_USER);
        TriggerExecute(gt_ObjectivePowerTheObelisksUpdateQ, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1408

    if ((PowerLevel(gv_p01_USER, UnitGetPosition(UnitFromId(29)), "PowerSource") > 0)) {
        TriggerEnable(TriggerGetCurrent(), false);
        libNtve_gf_RescueUnit(UnitFromId(29), gv_p01_USER, true);
        Wait(libCamp_gv_campaignObjectiveDelay, c_timeGame);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1448

    if ((PowerLevel(gv_p01_USER, UnitGetPosition(UnitFromId(170)), "PowerSource") > 0)) {
        TriggerEnable(TriggerGetCurrent(), false);
        libNtve_gf_RescueUnit(UnitFromId(170), gv_p01_USER, true);
        Wait(libCamp_gv_campaignObjectiveDelay, c_timeGame);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1488

    if ((PowerLevel(gv_p01_USER, UnitGetPosition(UnitFromId(174)), "PowerSource") > 0)) {
        TriggerEnable(TriggerGetCurrent(), false);
        libNtve_gf_RescueUnit(UnitFromId(174), gv_p01_USER, true);
        Wait(libCamp_gv_campaignObjectiveDelay, c_timeGame);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:1629


    UnitSetPropertyFixed(EventUnitProgressUnit(), c_unitPropEnergyPercent, 100.0);
    libNtve_gf_RescueUnit(EventUnitProgressUnit(), gv_p01_USER, true);
    TriggerExecute(gt_TransmissionHighTemplarWarpedInQ, true, false);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:4822

        autoEC5FE42D_var = UnitGroupUnitFromEnd(autoEC5FE42D_g, autoEC5FE42D_u);
        if (autoEC5FE42D_var == null) { break; }
        libNtve_gf_RescueUnit(autoEC5FE42D_var, gv_p01_USER, true);
        UnitSetState(autoEC5FE42D_var, c_unitStateTargetable, true);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:4951

        auto98891B06_var = UnitGroupUnitFromEnd(auto98891B06_g, auto98891B06_u);
        if (auto98891B06_var == null) { break; }
        libNtve_gf_RescueUnit(auto98891B06_var, gv_p01_USER, true);
        UnitSetState(auto98891B06_var, c_unitStateTargetable, true);
    }

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

    PingCreate(PlayerGroupSingle(gv_p1_USER), "PingSimple", UnitGetPosition(lp_unit), ColorWithAlpha(0.00, 100.00, 0.00, 0.00), 5.0);
    UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/EB027D65"), null, UnitGetPosition(lp_unit));
    libNtve_gf_RescueUnit(lp_unit, gv_p1_USER, true);
    TriggerExecute(gt_BunkerLineQ, true, false);
}

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

        if (autoEAEE2387_var == null) { break; }
        if (((UnitGetType(autoEAEE2387_var) == "SCV") || (UnitGetType(autoEAEE2387_var) == "CommandCenter") || (UnitGetType(autoEAEE2387_var) == "Refinery") || (UnitGetType(autoEAEE2387_var) == "SupplyDepot") || (UnitGetType(autoEAEE2387_var) == "SupplyDepotLowered") || (UnitGetType(autoEAEE2387_var) == "Barracks") || (UnitGetType(autoEAEE2387_var) == "BarracksTechLab") || (UnitGetType(autoEAEE2387_var) == "MercCompound"))) {
            libNtve_gf_RescueUnit(autoEAEE2387_var, gv_p1_USER, true);
        }

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

    UIAlertUnit("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/3DE51668"), null, EventUnit());
    MinimapPing(PlayerGroupAll(), UnitGetPosition(EventUnit()), 2.0, Color(100.00, 100.00, 0.00));
    libNtve_gf_RescueUnit(EventUnit(), gv_pLAYER_01_USER, true);
    UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("FactoryLand", 0), RegionGetCenter(EventUnitRegion())), c_orderQueueReplace);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2mapMapScript.galaxy:466

    Wait(1.5, c_timeGame);
    UIAlertUnit("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/8DAA5783"), null, lp_diamondback);
    libNtve_gf_RescueUnit(lp_diamondback, gv_pLAYER_01_USER, true);
    gv_diamondbacksFound += 1;
    gv_diamondbacksUsed += 1;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1073

    }

    libNtve_gf_RescueUnit(EventUnit(), gv_p01_USER, true);
    if ((UnitGetType(EventUnit()) == "CommandCenter")) {
        UnitSetPropertyFixed(EventUnit(), c_unitPropEnergy, 50.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1130

        if (autoBD279A32_var == null) { break; }
        libNtve_gf_PauseUnit(autoBD279A32_var, false);
        libNtve_gf_RescueUnit(autoBD279A32_var, gv_p01_USER, true);
    }
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1169

    }

    libNtve_gf_RescueUnit(EventUnit(), gv_p01_USER, true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1218

        autoE8678206_var = UnitGroupUnitFromEnd(autoE8678206_g, autoE8678206_u);
        if (autoE8678206_var == null) { break; }
        libNtve_gf_RescueUnit(autoE8678206_var, gv_p01_USER, true);
    }
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:1593

    }

    libNtve_gf_RescueUnit(EventUnit(), gv_p01_USER, true);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:5498

        autoCCE1CD7E_var = UnitGroupUnitFromEnd(autoCCE1CD7E_g, autoCCE1CD7E_u);
        if (autoCCE1CD7E_var == null) { break; }
        libNtve_gf_RescueUnit(autoCCE1CD7E_var, gv_p01_USER, true);
    }
    // Transmission - SoundLink("THorner02Orlan00012", -1)

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2mapMapScript.galaxy:5657

    libNtve_gf_MakeUnitInvulnerable(gv_odin, false);
    libNtve_gf_ShowHideUnit(gv_odin, true);
    libNtve_gf_RescueUnit(UnitFromId(2), gv_p02_TYCHUS, true);
    UnitSetPosition(gv_odin, PointFromId(650), true);
    UnitIssueOrder(UnitFromId(2), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(650)), c_orderQueueReplace);

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

    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_AttachModelToUnit(EventUnitCargo(), "BriefingUnitSelect", "Ref_Center");
    libNtve_gf_RescueUnit(EventUnitCargo(), gv_p01_USER, true);
    Wait(6.0, c_timeGame);
    libNtve_gf_KillModel(libNtve_gf_ActorLastCreated());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:6775

        if (autoB784C752_var == null) { break; }
        if ((UnitGetType(autoB784C752_var) != "Odin") && (UnitGetType(autoB784C752_var) != "OdinWreckage")) {
            libNtve_gf_RescueUnit(autoB784C752_var, gv_p01_USER, true);
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner05s.sc2mapMapScript.galaxy:5009

    libNtve_gf_PauseUnit(gv_warbot, false);
    libNtve_gf_TurnAnimationPropertiesOn(libNtve_gf_MainActorofUnit(gv_warbot), "Fidget");
    libNtve_gf_RescueUnit(gv_warbot, gv_p01_USER, true);
    TriggerExecute(gt_DialogueWarbotLimitedLifeQ, true, false);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:1961

        autoCE1A535E_var = UnitGroupUnitFromEnd(autoCE1A535E_g, autoCE1A535E_u);
        if (autoCE1A535E_var == null) { break; }
        libNtve_gf_RescueUnit(autoCE1A535E_var, gv_pLAYER_01_USER, true);
        if ((UnitGetType(autoCE1A535E_var) == "Marine")) {
            UnitGroupAdd(gv_marinesRescued, autoCE1A535E_var);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:3671

        auto14DC20EB_var = UnitGroupUnitFromEnd(auto14DC20EB_g, auto14DC20EB_u);
        if (auto14DC20EB_var == null) { break; }
        libNtve_gf_RescueUnit(auto14DC20EB_var, gv_pLAYER01_USER, true);
    }
    Wait(1.0, c_timeReal);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:3722

        auto2AB4C609_var = UnitGroupUnitFromEnd(auto2AB4C609_g, auto2AB4C609_u);
        if (auto2AB4C609_var == null) { break; }
        libNtve_gf_RescueUnit(auto2AB4C609_var, gv_pLAYER01_USER, true);
    }
    Wait(1.0, c_timeReal);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:3773

        auto419AAC42_var = UnitGroupUnitFromEnd(auto419AAC42_g, auto419AAC42_u);
        if (auto419AAC42_var == null) { break; }
        libNtve_gf_RescueUnit(auto419AAC42_var, gv_pLAYER01_USER, true);
    }
    Wait(1.0, c_timeReal);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2mapMapScript.galaxy:1835

            if (auto2AFE1C29_var == null) { break; }
            gv_unitsRescued += 1;
            libNtve_gf_RescueUnit(auto2AFE1C29_var, gv_p01_USER, true);
            UnitClearInfoText(auto2AFE1C29_var);
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2mapMapScript.galaxy:2050

            auto99D50804_var = UnitGroupUnitFromEnd(auto99D50804_g, auto99D50804_u);
            if (auto99D50804_var == null) { break; }
            libNtve_gf_RescueUnit(auto99D50804_var, gv_p01_USER, true);
        }
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2mapMapScript.galaxy:2165

            UIAlertUnit("Trigger", gv_p01_USER, StringExternal("Param/Value/19BDCD39"), null, lv_coCe);
            MinimapPing(PlayerGroupAll(), UnitGetPosition(lv_coCe), 5.0, Color(100.00, 100.00, 0.00));
            libNtve_gf_RescueUnit(lv_coCe, gv_p01_USER, true);
            TriggerExecute(gt_TransmissionCommandCenterReplacementQ, true, false);
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2mapMapScript.galaxy:2231

    Wait(0.5, c_timeGame);
    UnitGroupRemove(gv_toshReapers, EventUnit());
    libNtve_gf_RescueUnit(EventUnit(), gv_p01_USER, true);
    autoDFF77333_g = gv_toshReapers;
    autoDFF77333_u = UnitGroupCount(autoDFF77333_g, c_unitCountAll);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2mapMapScript.galaxy:2287

        UnitGroupRemove(gv_toshReapers, auto2D9551B0_var);
        UnitIssueOrder(auto2D9551B0_var, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(18))), c_orderQueueReplace);
        libNtve_gf_RescueUnit(auto2D9551B0_var, gv_p01_USER, true);
    }
    TriggerExecute(gt_AchievementAllReapersFound, true, false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2mapMapScript.galaxy:2362

            autoDB292AD8_var = UnitGroupUnitFromEnd(autoDB292AD8_g, autoDB292AD8_u);
            if (autoDB292AD8_var == null) { break; }
            libNtve_gf_RescueUnit(autoDB292AD8_var, gv_p01_USER, true);
            gv_unitsRescued += 1;
        }