# Make Unit Invulnerable

Grammar — Make unit option|Vulnerable/Invulnerable
FlagsAction

Makes a unit vulnerable or invulnerable.

# Arguments

Returns — void

void libNtve_gf_MakeUnitInvulnerable(
	unit lp_unit,
	bool lp_option,
);

Category: Unit / Properties

# Examples

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

    TimerPause(gv_powerupPickupTimer, true);
    gv_powerupReady = null;
    libNtve_gf_MakeUnitInvulnerable(gv_viking, true);
    gf_Level1ClearUp();
    gf_Level2ClearUp();

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

    libNtve_gf_CreateUnitsAtPoint2(1, "SS_Fighter", 0, gv_p1_USER, RegionGetCenter(RegionEntireMap()));
    gv_viking = UnitLastCreated();
    libNtve_gf_MakeUnitInvulnerable(gv_viking, true);
    libNtve_gf_ShowHideUnit(gv_viking, false);
    UnitSetState(gv_viking, c_unitStateHighlightable, false);

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

    TriggerEnable(TriggerGetCurrent(), false);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "LostViking_MusicBossKilled", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    libNtve_gf_MakeUnitInvulnerable(gv_viking, true);
    TriggerStop(gt_Level1BossCarrierBehavior);
    TriggerStop(gt_Level1BossRoundTimer);

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

    UnitSetTeamColorIndex(gv_boss, 1);
    SoundPlayOnUnit(SoundLink("Ultralisk_Roar", 0), PlayerGroupAll(), gv_boss, 0.0, 100.0, 0.0);
    libNtve_gf_MakeUnitInvulnerable(gv_boss, true);
    gf_PrepareUnitForShooterGame(gv_boss);
    Wait(7.0, c_timeGame);

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

    Wait(7.0, c_timeGame);
    gf_DisplayBossHPBar(StringExternal("Param/Value/EFB6AA84"));
    libNtve_gf_MakeUnitInvulnerable(gv_boss, false);
    UnitSetOwner(gv_boss, gv_p2_ENEMY, true);
    TriggerExecute(gt_Level2BossLeviathanBehavior, true, false);

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

    TriggerEnable(TriggerGetCurrent(), false);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "LostViking_MusicBossKilled", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    libNtve_gf_MakeUnitInvulnerable(gv_viking, true);
    TriggerStop(gt_Level2BossLeviathanBehavior);
    TriggerStop(gt_Level2BossLeviathanCharge);

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

    UnitSetTeamColorIndex(gv_boss, 1);
    SoundPlayOnUnit(SoundLink("LostViking_TerraTronBirth", 0), PlayerGroupAll(), gv_boss, 0.0, 100.0, 0.0);
    libNtve_gf_MakeUnitInvulnerable(gv_boss, true);
    gf_PrepareUnitForShooterGame(gv_boss);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_boss), c_animNameDefault, "Birth", c_animFlagFullMatch | c_animFlagNonLooping, 0.0);

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

    Wait(7.0, c_timeGame);
    gf_DisplayBossHPBar(StringExternal("Param/Value/C742B90D"));
    libNtve_gf_MakeUnitInvulnerable(gv_boss, false);
    UnitSetOwner(gv_boss, gv_p2_ENEMY, true);
    TriggerExecute(gt_Level3BossTerraTronBehavior, true, false);

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

    TriggerEnable(TriggerGetCurrent(), false);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "LostViking_MusicBossKilled", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    libNtve_gf_MakeUnitInvulnerable(gv_viking, true);
    TriggerStop(gt_TerraTronSawSpawned);
    TriggerStop(gt_TerraTronSawBehavior);

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

    Wait(4.0, c_timeGame);
    UnitBehaviorRemovePlayer(gv_viking, "SS_Invulnerable", gv_p1_USER, 1);
    libNtve_gf_MakeUnitInvulnerable(gv_viking, false);
    return true;
}

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

    }

    libNtve_gf_MakeUnitInvulnerable(lv_unit, true);
    UnitSetState(lv_unit, c_unitStateSelectable, false);
    UnitSetState(lv_unit, c_unitStateTargetable, false);

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

    TriggerEnable(gt_DefeatColonistHutsDie, false);
    TriggerEnable(gt_DefeatBaseDead, false);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(1403), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(698), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(693), true);

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

    TriggerEnable(gt_DefeatBaseDead, false);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(1403), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(698), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(693), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(1483), true);

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

    libNtve_gf_MakeUnitInvulnerable(UnitFromId(1403), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(698), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(693), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(1483), true);
    while (!(((UnitGroupCount(gv_colonistsOnTheMove, c_unitCountAlive) == 0) || (TimerGetRemaining(lv_Timer) == 0.0)))) {

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

    libNtve_gf_MakeUnitInvulnerable(UnitFromId(698), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(693), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(1483), true);
    while (!(((UnitGroupCount(gv_colonistsOnTheMove, c_unitCountAlive) == 0) || (TimerGetRemaining(lv_Timer) == 0.0)))) {
        Wait(0.1, c_timeGame);

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


    libNtve_gf_CreateUnitsAtPoint2(1, "ColonistTransport", 0, gv_p4_COLONISTS, PointFromId(2571));
    libNtve_gf_MakeUnitInvulnerable(UnitLastCreated(), true);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p4_COLONISTS, PointFromId(2572));
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p4_COLONISTS, PointFromId(2589));

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

            libNtve_gf_PauseUnit(autoD4CD02CB_var, false);
            UnitSetOwner(autoD4CD02CB_var, gv_p4_COLONISTS, true);
            libNtve_gf_MakeUnitInvulnerable(autoD4CD02CB_var, false);
        }

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

    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "THanson01MusicOutro", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    gf_ColonyShipBlastoff(UnitFromId(693));
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(693), true);
    Wait(1.0, c_timeReal);
    autoA93CFD62_g = UnitGroup("PathingBlocker1x1", c_playerAny, RegionFromId(50), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);

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

    }
    libCamp_gf_CreateNewStructureTips();
    libNtve_gf_MakeUnitInvulnerable(lv_factory, false);
    libNtve_gf_MakeUnitUncommandable(lv_factory, false);
    TriggerExecute(gt_TransmissionHellionIntroQ, true, true);

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

    UnitGroupAdd(gv_purifierGroup, UnitFromId(765));
    UnitSetInfoText(gv_purifier, StringToText(""), StringExternal("Param/Value/708C93EB"), StringToText(""));
    libNtve_gf_MakeUnitInvulnerable(gv_purifier, true);
    UnitSetPropertyFixed(gv_purifier, c_unitPropEnergyPercent, 100.0);
    UnitSetPropertyFixed(gv_purifier, c_unitPropMovementSpeed, 0.35);

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

        libNtve_gf_ShowHideBossBar(true, gv_purifierBossBar);
        UnitBehaviorRemove(gv_purifier, "InvulnerabilityShield", 1);
        libNtve_gf_MakeUnitInvulnerable(gv_purifier, false);
        UnitSetPropertyFixed(gv_purifier, c_unitPropShields, 1000.0);
        UnitSetPropertyFixed(gv_purifier, c_unitPropShieldsPercent, 0.0);

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

    }
    UnitSelect(lv_colonistShip, gv_pLAYER01_USER, false);
    libNtve_gf_MakeUnitInvulnerable(lv_colonistShip, true);
    UnitSetState(lv_colonistShip, c_unitStateCursorable, false);
    UnitSetState(lv_colonistShip, c_unitStateHighlightable, false);

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

    }
    UnitSelect(lv_colonistShip, gv_pLAYER01_USER, false);
    libNtve_gf_MakeUnitInvulnerable(lv_colonistShip, true);
    UnitSetState(lv_colonistShip, c_unitStateCursorable, false);
    UnitSetState(lv_colonistShip, c_unitStateHighlightable, false);

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

    }
    UnitSelect(lv_colonistShip, gv_pLAYER01_USER, false);
    libNtve_gf_MakeUnitInvulnerable(lv_colonistShip, true);
    UnitSetState(lv_colonistShip, c_unitStateCursorable, false);
    UnitSetState(lv_colonistShip, c_unitStateHighlightable, false);

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

    gv_purifier = UnitLastCreated();
    UnitSetPropertyFixed(gv_purifier, c_unitPropMovementSpeed, 1.0);
    libNtve_gf_MakeUnitInvulnerable(gv_purifier, false);
    UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(194)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "Biodome", 0, gv_pLAYER03_COLONIST, PointFromId(2367));

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

    TriggerExecute(gt_VictoryScene, true, false);
    libNtve_gf_PauseUnit(UnitFromId(90), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(90), true);
    SoundPlay(SoundLink("Medivac_Unload", 0), PlayerGroupAll(), 100.0, 0.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p08_RAYNOR_COMP, PointFromId(625));

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

        UnitSetInfoText(autoD9E2A2C7_var, StringExternal("Param/Value/61DADD36"), StringToText(""), StringToText(""));
        gv_devourerSamplesTotal += 1;
        libNtve_gf_MakeUnitInvulnerable(autoD9E2A2C7_var, true);
    }
    UnitRemove(UnitFromId(1034));

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

    gv_odin = UnitFromId(2);
    UnitIssueOrder(gv_odin, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    libNtve_gf_MakeUnitInvulnerable(gv_odin, true);
    libNtve_gf_PauseUnit(gv_odin, true);
    libNtve_gf_ShowHideUnit(gv_odin, false);

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

    libNtve_gf_ShowHideUnit(UnitFromId(935), false);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitFromId(109)), c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(109), true);
    libNtve_gf_MakeUnitUncommandable(UnitFromId(109), true);
    UnitSetState(UnitFromId(109), c_unitStateCursorable, false);

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

    UnitCargoCreate(UnitFromId(694), "Marine", 4);
    UnitCargoCreate(UnitFromId(1007), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(341), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(935), true);
    autoA9B56296_g = UnitGroup("Medic", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    UnitCargoCreate(UnitFromId(1007), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(341), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(935), true);
    autoA9B56296_g = UnitGroup("Medic", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoA9B56296_u = UnitGroupCount(autoA9B56296_g, c_unitCountAll);

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

    UnitSetPropertyFixed(UnitFromId(2219), c_unitPropEnergyPercent, 100.0);
    UnitSetPropertyFixed(UnitFromId(835), c_unitPropEnergyPercent, 100.0);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(835), true);
    UnitSetPropertyFixed(UnitFromId(739), c_unitPropEnergyPercent, 100.0);
    UnitSetPropertyFixed(UnitFromId(8), c_unitPropEnergyPercent, 100.0);

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

    UnitKill(UnitFromId(1132));
    UnitSetPropertyFixed(UnitFromId(4), c_unitPropLifePercent, 100.0);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(4), true);
    TriggerExecute(gt_ObjectiveStealtheOdinComplete, true, true);
    TriggerExecute(gt_MidQ, true, false);

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

    Wait(2.0, c_timeGame);
    UnitIssueOrder(lv_starport, OrderTargetingPoint(AbilityCommand("StarportLand", 0), PointFromId(75)), c_orderQueueReplace);
    libNtve_gf_MakeUnitInvulnerable(lv_starport, false);
    libNtve_gf_MakeUnitUncommandable(lv_starport, false);
    Wait(65.0, c_timeGame);

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

    UnitIssueOrder(UnitFromId(835), Order(AbilityCommand("LokiUndock", 0)), c_orderQueueReplace);
    Wait(2.0, c_timeGame);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(835), false);
    AISetUnitScriptControlled(UnitFromId(835), false);
    return true;

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

    TriggerEnable(TriggerGetCurrent(), false);
    gv_gameOver = true;
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(2), true);
    Wait(5.0, c_timeGame);
    libNtve_gf_ShowHideBossBar(false, gv_odinBossBar);

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

        autoF69A218C_var = UnitGroupUnitFromEnd(autoF69A218C_g, autoF69A218C_u);
        if (autoF69A218C_var == null) { break; }
        libNtve_gf_MakeUnitInvulnerable(autoF69A218C_var, true);
        libNtve_gf_ShowHideUnit(autoF69A218C_var, false);
        UnitSetInfoText(autoF69A218C_var, StringExternal("Param/Value/BAA72864"), StringToText(""), StringToText(""));

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

        auto604BE6FC_var = UnitGroupUnitFromEnd(auto604BE6FC_g, auto604BE6FC_u);
        if (auto604BE6FC_var == null) { break; }
        libNtve_gf_MakeUnitInvulnerable(auto604BE6FC_var, true);
        UnitSetState(auto604BE6FC_var, c_unitStateHighlightable, false);
        UnitSetState(auto604BE6FC_var, c_unitStateHighlighted, false);

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

    gv_odinKillCount = libNtve_gf_UnitGetPropertyKills(gv_odin, c_unitPropCurrent);
    SoundPlay(SoundLink("Thor_Build", 0), PlayerGroupAll(), 100.0, 0.0);
    libNtve_gf_MakeUnitInvulnerable(gv_odin, true);
    UnitSetOwner(gv_odin, gv_p07_HORNERBASE, true);
    UnitFlashSelection(gv_odin, 6.0);

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

    lv_dropship = UnitLastCreated();
    UnitSetState(lv_dropship, c_unitStateSelectable, true);
    libNtve_gf_MakeUnitInvulnerable(lv_dropship, true);
    libNtve_gf_CreateUnitsAtPoint2(1, "Thor", c_unitCreateIgnorePlacement, gv_p07_HORNERBASE, PointFromId(1412));
    lv_thor = UnitLastCreated();

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

    gv_gameOver = true;
    if ((UnitIsAlive(gv_odin) == true)) {
        libNtve_gf_MakeUnitInvulnerable(gv_odin, true);
    }

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

    gf_SetUnitMaxStats(gv_warbot, 0.0, 1500.0);
    UnitSetState(gv_warbot, c_unitStateTargetable, false);
    libNtve_gf_MakeUnitInvulnerable(gv_warbot, true);
    libNtve_gf_PauseUnit(gv_warbot, true);
    UnitBehaviorRemove(gv_warbot, "WarbotFate", 1);

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

    UnitSetState(UnitFromId(1488), c_unitStateStatusBar, false);
    UnitSetState(UnitFromId(1488), c_unitStateTargetable, false);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(162), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(202), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(298), true);

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

    UnitSetState(UnitFromId(1488), c_unitStateTargetable, false);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(162), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(202), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(298), true);
    UnitSetPropertyFixed(UnitFromId(2600), c_unitPropLifePercent, 40.0);

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

    libNtve_gf_MakeUnitInvulnerable(UnitFromId(162), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(202), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(298), true);
    UnitSetPropertyFixed(UnitFromId(2600), c_unitPropLifePercent, 40.0);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(2658), true);

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

    libNtve_gf_MakeUnitInvulnerable(UnitFromId(298), true);
    UnitSetPropertyFixed(UnitFromId(2600), c_unitPropLifePercent, 40.0);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(2658), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(282), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(421), true);

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

    UnitSetPropertyFixed(UnitFromId(2600), c_unitPropLifePercent, 40.0);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(2658), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(282), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(421), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(427), true);

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

    libNtve_gf_MakeUnitInvulnerable(UnitFromId(2658), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(282), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(421), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(427), true);
    UnitSetState(UnitFromId(2658), c_unitStateSelectable, false);

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

    libNtve_gf_MakeUnitInvulnerable(UnitFromId(282), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(421), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(427), true);
    UnitSetState(UnitFromId(2658), c_unitStateSelectable, false);
    UnitSetState(UnitFromId(2658), c_unitStateTargetable, false);

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

    UnitSetState(UnitFromId(202), c_unitStateTargetable, true);
    Wait(4.0, c_timeGame);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(202), true);
    return true;
}

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

    UnitSetState(UnitFromId(421), c_unitStateTargetable, true);
    Wait(4.0, c_timeGame);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(421), true);
    return true;
}

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

        auto7C99916A_var = UnitGroupUnitFromEnd(auto7C99916A_g, auto7C99916A_u);
        if (auto7C99916A_var == null) { break; }
        libNtve_gf_MakeUnitInvulnerable(auto7C99916A_var, false);
    }
    if ((gv_escapeCivillansFinalOrderIssued == false)) {

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

    libNtve_gf_SendActorMessageToUnit(UnitFromId(258), "Signal ArtifactLoaded");
    UnitSetState(UnitFromId(258), c_unitStateTargetable, false);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(258), true);
    UnitSetPropertyFixed(UnitFromId(795), c_unitPropLifePercent, 85.0);
    UnitSetPropertyFixed(UnitFromId(796), c_unitPropLifePercent, 89.0);

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "NydusCanal", 0, gv_pLAYER02_ZERG, PointFromId(1114));
    lv_nydusWorm = UnitLastCreated();
    libNtve_gf_MakeUnitInvulnerable(lv_nydusWorm, true);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitLastCreated()), c_animNameDefault, "Birth 02", 0, c_animTimeDefault);
    SoundPlayOnUnit(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), lv_nydusWorm, 0.0, 100.0, 0.0);

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "NydusCanal", 0, gv_pLAYER02_ZERG, PointFromId(1115));
    lv_nydusWorm = UnitLastCreated();
    libNtve_gf_MakeUnitInvulnerable(lv_nydusWorm, true);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitLastCreated()), c_animNameDefault, "Birth 02", 0, c_animTimeDefault);
    SoundPlayOnUnit(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), lv_nydusWorm, 0.0, 100.0, 0.0);

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "NydusCanal", 0, gv_pLAYER02_ZERG, PointFromId(1116));
    lv_nydusWorm = UnitLastCreated();
    libNtve_gf_MakeUnitInvulnerable(lv_nydusWorm, true);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitLastCreated()), c_animNameDefault, "Birth 02", 0, c_animTimeDefault);
    SoundPlayOnUnit(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), lv_nydusWorm, 0.0, 100.0, 0.0);

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "NydusCanal", 0, gv_pLAYER02_ZERG, PointFromId(666));
    lv_nydusWorm = UnitLastCreated();
    libNtve_gf_MakeUnitInvulnerable(lv_nydusWorm, true);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitLastCreated()), c_animNameDefault, "Birth 02", 0, c_animTimeDefault);
    SoundPlayOnUnit(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), lv_nydusWorm, 0.0, 100.0, 0.0);

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "NydusCanal", 0, gv_pLAYER02_ZERG, PointFromId(757));
    lv_nydusWorm = UnitLastCreated();
    libNtve_gf_MakeUnitInvulnerable(lv_nydusWorm, true);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitLastCreated()), c_animNameDefault, "Birth 02", 0, c_animTimeDefault);
    SoundPlayOnUnit(SoundLink("NydusWorm_Birth", -1), PlayerGroupAll(), lv_nydusWorm, 0.0, 100.0, 0.0);

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

    UnitGroupAdd(gv_toshReapers, UnitFromId(1155));
    UnitGroupAdd(gv_toshReapers, UnitFromId(1154));
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(660), true);
    UnitSetState(UnitFromId(660), c_unitStateSelectable, false);
    UnitSetState(UnitFromId(660), c_unitStateTargetable, false);

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

        libNtve_gf_CreateUnitsAtPoint2(1, "SpecialOpsDropship", 0, gv_p06_SWANN, PointFromId(862));
        lv_dropship = UnitLastCreated();
        libNtve_gf_MakeUnitInvulnerable(lv_dropship, true);
        UnitSetState(lv_dropship, c_unitStateTargetable, false);
        UnitCargoCreate(lv_dropship, "SCV", 6);

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

    gv_terrazineRegions[5] = RegionFromId(22);
    gv_terrazineRegions[6] = RegionFromId(24);
    libNtve_gf_MakeUnitInvulnerable(gv_victoryTerrazine, true);
    return true;
}

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

    TriggerExecute(gt_InitWaypoints, true, false);
    libNtve_gf_ShowHideUnit(UnitFromId(485), false);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(922), true);
    UnitSetState(UnitFromId(922), c_unitStateTargetable, false);
    UnitSetState(UnitFromId(922), c_unitStateStatusBar, false);

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

    UnitBehaviorAdd(UnitFromId(108), "FastBuild", UnitFromId(108), 1);
    UnitBehaviorAdd(UnitFromId(85), "FastBuild", UnitFromId(85), 1);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(120), true);
    UnitSetState(UnitFromId(120), c_unitStateSelectable, false);
    UnitSetState(UnitFromId(120), c_unitStateTargetable, false);

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

    UnitSetState(UnitFromId(120), c_unitStateTargetable, false);
    UnitSetState(UnitFromId(120), c_unitStateStatusBar, false);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(126), true);
    UnitSetState(UnitFromId(126), c_unitStateSelectable, false);
    UnitSetState(UnitFromId(126), c_unitStateTargetable, false);

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

    TechTreeUpgradeAddLevel(gv_p6_DOMINION_ORANGE, "PersonalCloaking", 1);
    TriggerExecute(gt_GhostCloak, true, false);
    libNtve_gf_MakeUnitInvulnerable(gv_ghostEMP, true);
    TriggerExecute(gt_InitialMarines, true, false);
    TriggerExecute(gt_AOEMarines, true, false);

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

    TriggerEnable(gt_GhostCloak, false);
    TriggerEnable(gt_GhostEMPSafety, true);
    libNtve_gf_MakeUnitInvulnerable(gv_ghostEMP, false);
    UnitSetPropertyFixed(gv_ghostEMP, c_unitPropEnergyPercent, 100.0);
    UnitIssueOrder(gv_ghostEMP, Order(AbilityCommand("GhostCloak", 1)), c_orderQueueReplace);

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

    TriggerEnable(gt_GhostCloak, false);
    libNtve_gf_PauseUnit(gv_ghostEMP, false);
    libNtve_gf_MakeUnitInvulnerable(gv_ghostEMP, false);
    UnitSetPropertyFixed(gv_ghostEMP, c_unitPropEnergyPercent, 100.0);
    UnitIssueOrder(gv_ghostEMP, Order(AbilityCommand("GhostCloak", 1)), c_orderQueueReplace);

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

    libNtve_gf_MakeUnitUncommandable(gv_p1DropshipA, true);
    libNtve_gf_MakeUnitUncommandable(gv_p1DropshipB, true);
    libNtve_gf_MakeUnitInvulnerable(gv_p1DropshipA, true);
    libNtve_gf_MakeUnitInvulnerable(gv_p1DropshipB, true);
    gv_p1MineralDepot = UnitFromId(235);

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

    libNtve_gf_MakeUnitUncommandable(gv_p1DropshipB, true);
    libNtve_gf_MakeUnitInvulnerable(gv_p1DropshipA, true);
    libNtve_gf_MakeUnitInvulnerable(gv_p1DropshipB, true);
    gv_p1MineralDepot = UnitFromId(235);
    gv_p1SnipeTarget = UnitFromId(46);

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

    gv_p1GateControl = UnitFromId(456);
    gv_p1Gate = UnitFromId(343);
    libNtve_gf_MakeUnitInvulnerable(gv_p1Gate, true);
    gv_p1Nighthawk = UnitFromId(61);
    if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {

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

    gv_p2GateControl = UnitFromId(455);
    gv_p2Gate = UnitFromId(448);
    libNtve_gf_MakeUnitInvulnerable(gv_p2Gate, true);
    gv_p2Silo = UnitFromId(239);
    UnitSetState(gv_p2Silo, c_unitStateTargetable, false);

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

    UnitSetPropertyFixed(gv_nova, c_unitPropEnergyPercent, 100.0);
    libNtve_gf_ShowHideUnit(gv_nova, true);
    libNtve_gf_MakeUnitInvulnerable(gv_nova, false);
    UnitAbilityReset(gv_nova, AbilityCommand("NovaSnipe", 0), c_spendLocationAll);
    UnitIssueOrder(gv_nova, Order(AbilityCommand("ReleaseMinion", 0)), c_orderQueueAddToEnd);

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


    ActorSend(ActorFromDoodad(DoodadFromId(584)), "Signal DoodadDeath");
    libNtve_gf_MakeUnitInvulnerable(gv_nova, true);
    Wait(2.0, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(38.0, 86.0), 10.0), "Signal Nuked");

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

    libNtve_gf_UnitCreateFacingPoint(1, "SpecialOpsDropship", 0, gv_pLAYER03_DROPSHIPS, PointFromId(398), PointFromId(397));
    lv_dropshipA = UnitLastCreated();
    libNtve_gf_MakeUnitInvulnerable(UnitLastCreated(), true);
    UnitCargoCreate(UnitLastCreated(), "Reaper", 4);
    UnitCargoCreate(UnitLastCreated(), "SiegeTank", 1);

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

    libNtve_gf_UnitCreateFacingPoint(1, "SpecialOpsDropship", 0, gv_pLAYER03_DROPSHIPS, PointFromId(400), PointFromId(395));
    lv_dropshipB = UnitLastCreated();
    libNtve_gf_MakeUnitInvulnerable(UnitLastCreated(), true);
    UnitCargoCreate(UnitLastCreated(), "Reaper", 4);
    UnitCargoCreate(UnitLastCreated(), "SiegeTank", 1);

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

    libNtve_gf_UnitCreateFacingPoint(1, "SpecialOpsDropship", 0, gv_pLAYER03_DROPSHIPS, PointFromId(398), PointFromId(397));
    lv_dropship = UnitLastCreated();
    libNtve_gf_MakeUnitInvulnerable(UnitLastCreated(), true);
    UnitCargoCreate(UnitLastCreated(), "Reaper", 6);
    UnitIssueOrder(lv_dropship, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(397)), c_orderQueueReplace);

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


    ActorSend(ActorFromDoodad(DoodadFromId(415)), "Signal DoodadDeath");
    libNtve_gf_MakeUnitInvulnerable(gv_nova, true);
    TriggerEnable(gt_P2BackupNighthawkQ, false);
    TriggerEnable(gt_P2BackupReapersQ, false);

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

    UnitSetState(UnitFromId(18), c_unitStateTargetable, false);
    UnitSetState(UnitFromId(18), c_unitStateSelectable, false);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(18), true);
    UnitGroupLoopBegin(UnitGroup("PathingBlocker1x1", 0, RegionFromId(60), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));
    while (!UnitGroupLoopDone()) {

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

    }
    UnitSetPropertyFixed(UnitFromId(27), c_unitPropEnergy, 50.0);
    libNtve_gf_MakeUnitInvulnerable(gv_artifact, true);
    VisRevealerCreate(gv_p1_USER, RegionCircle(UnitGetPosition(gv_artifact), 24.0));
    gv_artifactRevealer = VisRevealerLastCreated();

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

    gv_siegeTankDropship = UnitLastCreated();
    libNtve_gf_MakeUnitUncommandable(gv_siegeTankDropship, true);
    libNtve_gf_MakeUnitInvulnerable(gv_siegeTankDropship, true);
    UnitSetState(gv_siegeTankDropship, c_unitStateTargetable, false);
    UnitSetState(gv_siegeTankDropship, c_unitStateUsingSupply, false);

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

    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_tHEONEDRILL), c_animNameDefault, "Stand Work End", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
    libNtve_gf_PauseUnit(gv_tHEONEDRILL, true);
    libNtve_gf_MakeUnitInvulnerable(gv_tHEONEDRILL, true);
    TriggerExecute(gt_PrimaryObjectiveOpenShrineCompleted, true, true);
    libCamp_gf_RunMissionVictorySequence(gt_VictoryQ);

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

    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_tHEONEDRILL), c_animNameDefault, "Stand Work End", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
    libNtve_gf_PauseUnit(gv_tHEONEDRILL, true);
    libNtve_gf_MakeUnitInvulnerable(gv_tHEONEDRILL, true);
    TriggerExecute(gt_VictoryDestroyProtossDialogueQ, true, true);
    TriggerExecute(gt_PrimaryObjectiveOpenShrineCompleted, true, true);

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

    libNtve_gf_ShareVisionofUnit(gv_tHEONEDOOR, true, gv_p1_USER);
    libNtve_gf_ShareVisionofUnit(gv_tHEONEDOOR, true, UnitGetOwner(gv_tHEONEDRILL));
    libNtve_gf_MakeUnitInvulnerable(gv_tHEONEDOOR, false);
    UnitIssueOrder(gv_tHEONEDRILL, OrderTargetingUnit(AbilityCommand("AttackAllowsInvulnerable", 0), gv_tHEONEDOOR), c_orderQueueReplace);
    UnitSetPropertyFixed(gv_tHEONEDOOR, c_unitPropLifePercent, 100.0);

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

        UnitIssueOrder(lv_droppedBuilding, OrderTargetingPoint(AbilityCommand("FactoryLand", 0), lv_landingPoint), c_orderQueueReplace);
        Wait(0.2, c_timeGame);
        libNtve_gf_MakeUnitInvulnerable(lv_droppedBuilding, false);
        libNtve_gf_MakeUnitUncommandable(lv_droppedBuilding, false);
    }

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

        libNtve_gf_ShowHideUnit(autoAFDCFCA0_var, false);
        libNtve_gf_PauseUnit(autoAFDCFCA0_var, true);
        libNtve_gf_MakeUnitInvulnerable(autoAFDCFCA0_var, true);
        UnitGroupAdd(gv__1SEZergBulliesWest, autoAFDCFCA0_var);
    }

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

        libNtve_gf_ShowHideUnit(autoB75E5DB3_var, false);
        libNtve_gf_PauseUnit(autoB75E5DB3_var, true);
        libNtve_gf_MakeUnitInvulnerable(autoB75E5DB3_var, true);
        UnitGroupAdd(gv__1SEZergBulliesEast, autoB75E5DB3_var);
    }

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

        libNtve_gf_ShowHideUnit(auto2DAE3571_var, false);
        libNtve_gf_PauseUnit(auto2DAE3571_var, true);
        libNtve_gf_MakeUnitInvulnerable(auto2DAE3571_var, true);
        UnitGroupAdd(gv__2AmbushUnits, auto2DAE3571_var);
        UnitGroupRemove(gv__2BroodchamberAllUnits, auto2DAE3571_var);

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

        libNtve_gf_ShowHideUnit(autoE74E054F_var, false);
        libNtve_gf_PauseUnit(autoE74E054F_var, true);
        libNtve_gf_MakeUnitInvulnerable(autoE74E054F_var, true);
        UnitGroupRemove(gv__2BroodchamberAllUnits, autoE74E054F_var);
    }

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

        libNtve_gf_ShowHideUnit(auto9F604E0D_var, false);
        libNtve_gf_PauseUnit(auto9F604E0D_var, true);
        libNtve_gf_MakeUnitInvulnerable(auto9F604E0D_var, true);
    }
    auto784E091D_g = gv__3BroodchamberAllUnits;

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

        libNtve_gf_ShowHideUnit(auto784E091D_var, false);
        libNtve_gf_PauseUnit(auto784E091D_var, true);
        libNtve_gf_MakeUnitInvulnerable(auto784E091D_var, true);
    }
    autoC8A10612_g = gv__4BroodchamberAllUnits;

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

        libNtve_gf_ShowHideUnit(autoC8A10612_var, false);
        libNtve_gf_PauseUnit(autoC8A10612_var, true);
        libNtve_gf_MakeUnitInvulnerable(autoC8A10612_var, true);
    }
    return true;

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

        libNtve_gf_ShowHideUnit(auto94BC3365_var, true);
        libNtve_gf_PauseUnit(auto94BC3365_var, false);
        libNtve_gf_MakeUnitInvulnerable(auto94BC3365_var, false);
        gf_ActivateAI(auto94BC3365_var);
    }

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

        libNtve_gf_ShowHideUnit(autoB621D0A9_var, true);
        libNtve_gf_PauseUnit(autoB621D0A9_var, false);
        libNtve_gf_MakeUnitInvulnerable(autoB621D0A9_var, false);
        gf_ActivateAI(autoB621D0A9_var);
    }

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

        libNtve_gf_ShowHideUnit(auto68468496_var, true);
        libNtve_gf_PauseUnit(auto68468496_var, false);
        libNtve_gf_MakeUnitInvulnerable(auto68468496_var, false);
    }
    UnitBehaviorAdd(UnitFromId(1313), "ZergBuildingNotOnCreep", UnitFromId(1313), 1);

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

    UnitSetState(gv_kerrigan, c_unitStateSelectable, false);
    UnitSetState(gv_kerrigan, c_unitStateStatusBar, false);
    libNtve_gf_MakeUnitInvulnerable(gv_kerrigan, true);
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionCircle(PointFromId(132), 16.0), "QueenChamber", c_animNameDefault, "Stand Work Start", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
    Wait(1.0, c_timeGame);

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

            UnitSetState(gv_kerrigan, c_unitStateSelectable, false);
            UnitSetState(gv_kerrigan, c_unitStateStatusBar, false);
            libNtve_gf_MakeUnitInvulnerable(gv_kerrigan, true);
            UnitIssueOrder(gv_kerrigan, Order(AbilityCommand("Val03QueenOfBladesBurrow", 0)), c_orderQueueReplace);
            TriggerExecute(gt_KerriganDeepTunnelQ, true, false);

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

    UnitSetState(gv_kerrigan, c_unitStateSelectable, true);
    UnitSetState(gv_kerrigan, c_unitStateStatusBar, true);
    libNtve_gf_MakeUnitInvulnerable(gv_kerrigan, false);
    UnitSetPropertyFixed(gv_kerrigan, c_unitPropLifeMax, gv_kerriganMaxHP);
    UnitSetPropertyFixed(gv_kerrigan, c_unitPropEnergyMax, gv_kerriganMaxEnergy);

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

        UnitSetPropertyFixed(auto3BBB31A1_var, c_unitPropEnergyPercent, 100.0);
    }
    libNtve_gf_MakeUnitInvulnerable(gv_tHEONEVOIDSEEKER, true);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_tHEONEVOIDSEEKER), c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(326), true);

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

    libNtve_gf_MakeUnitInvulnerable(gv_tHEONEVOIDSEEKER, true);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_tHEONEVOIDSEEKER), c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(326), true);
    libNtve_gf_ShowHideUnit(UnitFromId(36), false);
    auto9B7FCD67_g = UnitGroup(null, c_playerAny, RegionFromId(60), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    UIAlertPoint("Trigger", gv_p1_USER, StringExternal("Param/Value/B3A926F4"), null, UnitGetPosition(UnitFromId(73)));
    libNtve_gf_MakeUnitUncommandable(gv_tHEONEZERATUL, true);
    libNtve_gf_MakeUnitInvulnerable(gv_tHEONEZERATUL, true);
    gv_statZeratulLifeRemaining += (UnitGetPropertyFixed(gv_tHEONEZERATUL, c_unitPropLife, c_unitPropNormal) - UnitGetPropertyFixed(gv_tHEONEZERATUL, c_unitPropLife, c_unitPropCurrent));
    UnitSetState(gv_tHEONEZERATUL, c_unitStateSelectable, false);