# Remove Behavior

Grammar — Remove inCount inBehavior from inUnit
FlagsNative | Action

Removes a behavior from a unit.

# Arguments

  • unit — Unit
  • string<gamelink::Behavior> — Behavior
  • int — Count

Returns — void

native void UnitBehaviorRemove(
	unit inUnit,
	string inBehavior,
	int inCount,
);

Category: Behavior / 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:735

        gv_bombCount = 2;
        gv_powerupScoreEnabled = true;
        UnitBehaviorRemove(gv_viking, "SS_PowerUpDiagonal1", 1);
        UnitBehaviorRemove(gv_viking, "SS_PowerUpDiagonal2", 1);
        UnitBehaviorRemove(gv_viking, "SS_PowerUpHealth1", 1);

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

        gv_powerupScoreEnabled = true;
        UnitBehaviorRemove(gv_viking, "SS_PowerUpDiagonal1", 1);
        UnitBehaviorRemove(gv_viking, "SS_PowerUpDiagonal2", 1);
        UnitBehaviorRemove(gv_viking, "SS_PowerUpHealth1", 1);
        UnitBehaviorRemove(gv_viking, "SS_PowerUpHealth2", 1);

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

        autoBB9F27D7_var = UnitGroupUnitFromEnd(autoBB9F27D7_g, autoBB9F27D7_u);
        if (autoBB9F27D7_var == null) { break; }
        UnitBehaviorRemove(autoBB9F27D7_var, "AutoTurretTimedLife", 1);
    }
    gv_noTruckColonistRallyPoint[1] = PointFromId(1463);

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

        auto256BA00D_var = UnitGroupUnitFromEnd(auto256BA00D_g, auto256BA00D_u);
        if (auto256BA00D_var == null) { break; }
        UnitBehaviorRemove(auto256BA00D_var, "ColonyInfestation", 1);
    }
    UnitPauseAll(true);

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

    }

    UnitBehaviorRemove(gv_purifier, "InvulnerabilityShield", 1);
    libNtve_gf_ShowHideUnit(gv_purifier, false);
    libNtve_gf_PauseUnit(UnitFromId(765), true);

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

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

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

        autoE3E72505_var = UnitGroupUnitFromEnd(autoE3E72505_g, autoE3E72505_u);
        if (autoE3E72505_var == null) { break; }
        UnitBehaviorRemove(autoE3E72505_var, "ColonistWander", 1);
        UnitBehaviorAdd(autoE3E72505_var, "Run", autoE3E72505_var, 1);
        UnitIssueOrder(autoE3E72505_var, OrderTargetingUnit(null, UnitGroupRandomUnit(UnitGroup("ColonistShip", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)), c_orderQueueReplace);

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

        auto3A20565F_var = UnitGroupUnitFromEnd(auto3A20565F_g, auto3A20565F_u);
        if (auto3A20565F_var == null) { break; }
        UnitBehaviorRemove(auto3A20565F_var, "ColonistWander", 1);
        UnitBehaviorAdd(auto3A20565F_var, "Run", auto3A20565F_var, 1);
        UnitIssueOrder(auto3A20565F_var, OrderTargetingUnit(null, UnitGroupRandomUnit(UnitGroup("ColonistShip", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)), c_orderQueueReplace);

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

        UnitSetState(auto0B898AD1_var, c_unitStateTargetable, true);
    }
    UnitBehaviorRemove(UnitFromId(1070), "SpawnLarva", 1);
    UnitBehaviorRemove(UnitFromId(1043), "SpawnLarva", 1);
    return true;

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

    }
    UnitBehaviorRemove(UnitFromId(1070), "SpawnLarva", 1);
    UnitBehaviorRemove(UnitFromId(1043), "SpawnLarva", 1);
    return true;
}

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

    }

    UnitBehaviorRemove(EventUnitCargo(), "Run", c_unitBehaviorCountAll);
    return true;
}

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

        if (autoC6F8DF42_var == null) { break; }
        if ((DistanceBetweenPoints(UnitGetPosition(autoC6F8DF42_var), UnitGetPosition(UnitFromId(491))) <= 5.0)) {
            UnitBehaviorRemove(autoC6F8DF42_var, "Run", 1);
            UnitIssueOrder(autoC6F8DF42_var, Order(AbilityCommand("MorphToInfestedCivilian", 0)), c_orderQueueReplace);
            UnitSetOwner(autoC6F8DF42_var, gv_p03_VIROPHAGE, true);

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

        if (autoE9C294DC_var == null) { break; }
        if ((DistanceBetweenPoints(UnitGetPosition(autoE9C294DC_var), UnitGetPosition(UnitFromId(491))) <= 5.0)) {
            UnitBehaviorRemove(autoE9C294DC_var, "Run", 1);
            UnitIssueOrder(autoE9C294DC_var, Order(AbilityCommand("MorphToInfestedCivilian", 0)), c_orderQueueReplace);
            UnitSetOwner(autoE9C294DC_var, gv_p03_VIROPHAGE, true);

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

        autoC99230F0_var = UnitGroupUnitFromEnd(autoC99230F0_g, autoC99230F0_u);
        if (autoC99230F0_var == null) { break; }
        UnitBehaviorRemove(autoC99230F0_var, "AutoTurretTimedLife", 1);
    }
    auto79C99746_g = UnitGroup("DefilerBoneSample", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    UnitBehaviorRemove(EventUnit(), "ConjoinedTrainCar", 1);
    UnitRemove(EventUnit());
    if ((lv_trainIndex > 0)) {

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

        auto721FDF2B_var = UnitGroupUnitFromEnd(auto721FDF2B_g, auto721FDF2B_u);
        if (auto721FDF2B_var == null) { break; }
        UnitBehaviorRemove(auto721FDF2B_var, "AutoTurretTimedLife", 1);
    }
    auto2A22AC2E_g = UnitGroup("ProtossRelic", gv_p09_PROTOSS_RELICS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        autoCA6DCF8D_var = UnitGroupUnitFromEnd(autoCA6DCF8D_g, autoCA6DCF8D_u);
        if (autoCA6DCF8D_var == null) { break; }
        UnitBehaviorRemove(autoCA6DCF8D_var, "AutoTurretTimedLife", 1);
    }
    return true;

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

        UnitSetCustomValue(autoF784DCF0_var, 0, 99.0);
        gf_ShowUnitAggro(autoF784DCF0_var);
        UnitBehaviorRemove(autoF784DCF0_var, "Passive", 1);
        UnitIssueOrder(autoF784DCF0_var, OrderTargetingUnit(AbilityCommand("attack", 0), gv_odin), c_orderQueueReplace);
    }

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

            UnitSetCustomValue(autoD8BCE623_var, 0, 99.0);
            gf_ShowUnitAggro(autoD8BCE623_var);
            UnitBehaviorRemove(autoD8BCE623_var, "Passive", 1);
            UnitBehaviorAdd(autoD8BCE623_var, "ScanRangeBonus", autoD8BCE623_var, 1);
            if ((UnitGetType(autoD8BCE623_var) != "SCV")) {

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

            UnitSetCustomValue(autoF124A860_var, 0, 99.0);
            gf_ShowUnitAggro(autoF124A860_var);
            UnitBehaviorRemove(autoF124A860_var, "Passive", 1);
            UnitBehaviorAdd(autoF124A860_var, "ScanRangeBonus", autoF124A860_var, 1);
            if ((UnitGetType(autoF124A860_var) != "SCV")) {

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

        autoF3942310_var = UnitGroupUnitFromEnd(autoF3942310_g, autoF3942310_u);
        if (autoF3942310_var == null) { break; }
        UnitBehaviorRemove(autoF3942310_var, "Passive", 1);
        UnitBehaviorRemove(autoF3942310_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(autoF3942310_var, false);

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

        if (autoF3942310_var == null) { break; }
        UnitBehaviorRemove(autoF3942310_var, "Passive", 1);
        UnitBehaviorRemove(autoF3942310_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(autoF3942310_var, false);
        libNtve_gf_AICast(autoF3942310_var, Order(AbilityCommand("stop", 0)));

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

        auto664148D3_var = UnitGroupUnitFromEnd(auto664148D3_g, auto664148D3_u);
        if (auto664148D3_var == null) { break; }
        UnitBehaviorRemove(auto664148D3_var, "Passive", 1);
        UnitBehaviorRemove(auto664148D3_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(auto664148D3_var, false);

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

        if (auto664148D3_var == null) { break; }
        UnitBehaviorRemove(auto664148D3_var, "Passive", 1);
        UnitBehaviorRemove(auto664148D3_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(auto664148D3_var, false);
        libNtve_gf_AICast(auto664148D3_var, Order(AbilityCommand("stop", 0)));

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

        autoFA9D59B5_var = UnitGroupUnitFromEnd(autoFA9D59B5_g, autoFA9D59B5_u);
        if (autoFA9D59B5_var == null) { break; }
        UnitBehaviorRemove(autoFA9D59B5_var, "Passive", 1);
        UnitBehaviorRemove(autoFA9D59B5_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(autoFA9D59B5_var, false);

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

        if (autoFA9D59B5_var == null) { break; }
        UnitBehaviorRemove(autoFA9D59B5_var, "Passive", 1);
        UnitBehaviorRemove(autoFA9D59B5_var, "ScanRangeBonus", 1);
        AISetUnitScriptControlled(autoFA9D59B5_var, false);
        libNtve_gf_AICast(autoFA9D59B5_var, Order(AbilityCommand("stop", 0)));

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

    libNtve_gf_MakeUnitInvulnerable(gv_warbot, true);
    libNtve_gf_PauseUnit(gv_warbot, true);
    UnitBehaviorRemove(gv_warbot, "WarbotFate", 1);
    UnitSetPropertyFixed(UnitFromId(68), c_unitPropEnergyPercent, 100.0);
    UnitSetState(UnitFromId(1488), c_unitStateSelectable, false);

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

    gv_escapeWarbot = UnitLastCreated();
    UnitSetPropertyFixed(gv_escapeWarbot, c_unitPropLife, 298.0);
    UnitBehaviorRemove(gv_escapeWarbot, "WarbotFate", 1);
    UnitSetState(gv_escapeWarbot, c_unitStateTargetable, false);
    UnitSetState(gv_escapeWarbot, c_unitStateStatusBar, false);

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

        if (auto5F9AFFD9_var == null) { break; }
        libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(auto5F9AFFD9_var), c_animNameDefault);
        UnitBehaviorRemove(auto5F9AFFD9_var, "Run", 1);
    }
    UnitGroupIssueOrder(gv_escapeCivilians, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(94))), c_orderQueueReplace);

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

        auto78DDF86E_var = UnitGroupUnitFromEnd(auto78DDF86E_g, auto78DDF86E_u);
        if (auto78DDF86E_var == null) { break; }
        UnitBehaviorRemove(auto78DDF86E_var, "TerranBuildingBurnDown", 1);
        libNtve_gf_ChangeUnitDamage(auto78DDF86E_var, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_No);
    }

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

    }

    UnitBehaviorRemove(EventUnit(), "HarvestingTerrazine", 1);
    gv_gasControlCount -= 1;
    gv_gasHarvestingCount -= 1;

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


    libNtve_gf_SendActorMessageToUnit(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "Signal TerranInterrupt");
    UnitBehaviorRemove(EventUnit(), "ProgressBar", 1);
    UnitBehaviorRemove(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "TerrazineCountdownDummyBar", 1);
    UnitBehaviorRemove(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "TerrazineCountdownDummyBarFaster", 1);

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

    libNtve_gf_SendActorMessageToUnit(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "Signal TerranInterrupt");
    UnitBehaviorRemove(EventUnit(), "ProgressBar", 1);
    UnitBehaviorRemove(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "TerrazineCountdownDummyBar", 1);
    UnitBehaviorRemove(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "TerrazineCountdownDummyBarFaster", 1);
    UnitForceStatusBar(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), false);

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

    UnitBehaviorRemove(EventUnit(), "ProgressBar", 1);
    UnitBehaviorRemove(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "TerrazineCountdownDummyBar", 1);
    UnitBehaviorRemove(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "TerrazineCountdownDummyBarFaster", 1);
    UnitForceStatusBar(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), false);
    AIAttackWaveCancel(gv_terrazineAttackWaves[FixedToInt(UnitGetCustomValue(EventUnit(), 0))][1]);

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


    gv_gasHarvestingCount -= 1;
    UnitBehaviorRemove(EventUnit(), "HarvestingTerrazine", 1);
    auto1DDD3DFF_g = UnitGroup("TerrazineNode", c_playerAny, RegionCircle(UnitGetPosition(EventUnit()), 2.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto1DDD3DFF_u = UnitGroupCount(auto1DDD3DFF_g, c_unitCountAll);

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


    libNtve_gf_SendActorMessageToUnit(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "Signal ProtossInterrupt");
    UnitBehaviorRemove(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "TerrazineCountdownDummyBar", 1);
    UnitBehaviorRemove(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "TerrazineCountdownDummyBarFaster", 1);
    UnitForceStatusBar(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), false);

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

    libNtve_gf_SendActorMessageToUnit(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "Signal ProtossInterrupt");
    UnitBehaviorRemove(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "TerrazineCountdownDummyBar", 1);
    UnitBehaviorRemove(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), "TerrazineCountdownDummyBarFaster", 1);
    UnitForceStatusBar(gf_NodeMatchingCustomValue(FixedToInt(UnitGetCustomValue(EventUnit(), 0))), false);
    PingDestroy(gv_protossHarvesterPings[FixedToInt(UnitGetCustomValue(EventUnit(), 0))]);

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

    }
    SoundPlay(SoundLink("Alert_UniObjectiveFailed", 0), PlayerGroupAll(), 100.0, 0.0);
    UnitBehaviorRemove(EventUnit(), "CarryTerrazineNode", 1);
    PingDestroy(gv_protossHarvesterPings[FixedToInt(UnitGetCustomValue(EventUnit(), 0))]);
    UnitSetCustomValue(EventUnit(), 0, 0.0);

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

        autoDD8E5CD7_var = UnitGroupUnitFromEnd(autoDD8E5CD7_g, autoDD8E5CD7_u);
        if (autoDD8E5CD7_var == null) { break; }
        UnitBehaviorRemove(autoDD8E5CD7_var, "FastBuild", 1);
    }
    auto3FA74D1B_g = UnitGroup("Factory", gv_p3_DOMINION_RED, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        auto3FA74D1B_var = UnitGroupUnitFromEnd(auto3FA74D1B_g, auto3FA74D1B_u);
        if (auto3FA74D1B_var == null) { break; }
        UnitBehaviorRemove(auto3FA74D1B_var, "FastBuild", 1);
    }
    autoCC5C4443_g = UnitGroup("Starport", gv_p3_DOMINION_RED, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        autoCC5C4443_var = UnitGroupUnitFromEnd(autoCC5C4443_g, autoCC5C4443_u);
        if (autoCC5C4443_var == null) { break; }
        UnitBehaviorRemove(autoCC5C4443_var, "FastBuild", 1);
    }
    return true;

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

        auto7E124DC2_var = UnitGroupUnitFromEnd(auto7E124DC2_g, auto7E124DC2_u);
        if (auto7E124DC2_var == null) { break; }
        UnitBehaviorRemove(auto7E124DC2_var, "AutoTurretTimedLife", 1);
    }
    UnitSetInfoText(UnitFromId(17), StringExternal("Param/Value/4279DD74"), StringToText(""), StringToText(""));

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

    CameraApplyInfo(gv_pLAYER01_USER, CameraInfoDefault(), 0.0, -1, 10, false);
    VisExploreArea(gv_pLAYER01_USER, RegionEntireMap(), false, false);
    UnitBehaviorRemove(gv_nova, "SuppressCloak", 1);
    if ((gv_p1DoneCompleted == true)) {
        lv_fadeDuration = 1.5;

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

    CameraApplyInfo(gv_pLAYER01_USER, CameraInfoDefault(), 0.0, -1, 10, false);
    TriggerExecute(gt_P3Activate, true, false);
    UnitBehaviorRemove(gv_nova, "SuppressCloak", 1);
    if ((gv_p2DoneCompleted == true)) {
        lv_fadeDuration = 1.5;

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

    if ((gv_fLAGKerrigansearching == true) && (libNtve_gf_UnitInRegion(EventUnit(), gv_kerrigansTarget) == true)) {
        TriggerDebugOutput(1, StringExternal("Param/Value/9F0B2A76"), false);
        UnitBehaviorRemove(gv_uNIT_KERRIGAN, "ProgressBar", 1);
        gv_fLAGKerrigansearching = false;
        TimerStart(gv_kerriganSearchTimer, gv_kerriganSearchTime, false, c_timeGame);

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

        auto3BC1DEE1_var = UnitGroupUnitFromEnd(auto3BC1DEE1_g, auto3BC1DEE1_u);
        if (auto3BC1DEE1_var == null) { break; }
        UnitBehaviorRemove(auto3BC1DEE1_var, "SuppressCloak", 1);
        UnitSetState(auto3BC1DEE1_var, c_unitStateInvulnerable, false);
        libNtve_gf_RescueUnit(auto3BC1DEE1_var, gv_pLAYER_01_USER, true);

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

        autoC50B9DC9_var = UnitGroupUnitFromEnd(autoC50B9DC9_g, autoC50B9DC9_u);
        if (autoC50B9DC9_var == null) { break; }
        UnitBehaviorRemove(autoC50B9DC9_var, "SuppressCloak", 1);
        UnitSetState(autoC50B9DC9_var, c_unitStateInvulnerable, false);
        libNtve_gf_RescueUnit(autoC50B9DC9_var, gv_pLAYER_01_USER, true);

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

        autoBE5341A9_var = UnitGroupUnitFromEnd(autoBE5341A9_g, autoBE5341A9_u);
        if (autoBE5341A9_var == null) { break; }
        UnitBehaviorRemove(autoBE5341A9_var, "SuppressCloak", 1);
        UnitSetState(autoBE5341A9_var, c_unitStateInvulnerable, false);
        libNtve_gf_RescueUnit(autoBE5341A9_var, gv_pLAYER_01_USER, true);

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

        autoE715E49F_var = UnitGroupUnitFromEnd(autoE715E49F_g, autoE715E49F_u);
        if (autoE715E49F_var == null) { break; }
        UnitBehaviorRemove(autoE715E49F_var, "SuppressCloak", 1);
        UnitSetState(autoE715E49F_var, c_unitStateInvulnerable, false);
        libNtve_gf_RescueUnit(autoE715E49F_var, gv_pLAYER_01_USER, true);

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

        autoC4315E27_var = UnitGroupUnitFromEnd(autoC4315E27_g, autoC4315E27_u);
        if (autoC4315E27_var == null) { break; }
        UnitBehaviorRemove(autoC4315E27_var, "TTychus05ObjectiveShield", 1);
    }
    autoC698C0E8_g = UnitGroup("RipFieldGeneratorSmall", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);

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

        autoC698C0E8_var = UnitGroupUnitFromEnd(autoC698C0E8_g, autoC698C0E8_u);
        if (autoC698C0E8_var == null) { break; }
        UnitBehaviorRemove(autoC698C0E8_var, "TTychus05ObjectiveSmallShield", 1);
    }
    UnitRemove(UnitGroupUnit(UnitGroup("RipFieldGenerator", gv_pLAYER_05_WORLDSHIP, RegionCircle(PointFromId(169), 4.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1));

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

        auto0933AB20_var = UnitGroupUnitFromEnd(auto0933AB20_g, auto0933AB20_u);
        if (auto0933AB20_var == null) { break; }
        UnitBehaviorRemove(auto0933AB20_var, "TTychus05ObjectiveShield", 1);
    }
    auto8C6A23F7_g = UnitGroup("RipFieldGeneratorSmall", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);

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

        auto8C6A23F7_var = UnitGroupUnitFromEnd(auto8C6A23F7_g, auto8C6A23F7_u);
        if (auto8C6A23F7_var == null) { break; }
        UnitBehaviorRemove(auto8C6A23F7_var, "TTychus05ObjectiveSmallShield", 1);
    }
    UnitRemove(UnitGroupUnit(UnitGroup("RipFieldGenerator", gv_pLAYER_05_WORLDSHIP, RegionCircle(PointFromId(169), 4.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1));

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

        if (auto793D219F_var == null) { break; }
        UnitGroupAdd(gv_mothershipMidRipFieldGroup, auto793D219F_var);
        UnitBehaviorRemove(auto793D219F_var, "TTychus05ObjectiveShield", 1);
    }
    autoE1FFC82C_g = UnitGroup(null, gv_pLAYER_01_USER, RegionFromId(24), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    lv_mOTHERSHIP = UnitLastCreated();
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
    UnitBehaviorRemove(lv_mOTHERSHIP, "CloakField", 1);
    UnitGroupAdd(gv_mothershipMidSpawnedUnitGroup, UnitLastCreated());
    UnitIssueOrder(lv_mOTHERSHIP, OrderTargetingPoint(AbilityCommand("WormholeTransit", 0), RegionGetCenter(RegionFromId(20))), c_orderQueueReplace);

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

    }

    UnitBehaviorRemove(gv_sCV01, "CarrySandbags", 1);
    libNtve_gf_ShowHideUnit(gv_sandbag01, true);
    gv_sandbagGet01 = true;

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

    }

    UnitBehaviorRemove(gv_sCV01, "CarrySandbags", 1);
    libNtve_gf_ShowHideUnit(gv_sandbag02, true);
    gv_sandbagGet01 = true;

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

    }

    UnitBehaviorRemove(gv_sCV01, "CarrySandbags", 1);
    libNtve_gf_ShowHideUnit(gv_sandbag03, true);
    gv_sandbagGet01 = true;

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

    }

    UnitBehaviorRemove(gv_sCV01, "CarrySandbags", 1);
    libNtve_gf_ShowHideUnit(gv_sandbag04, true);
    gv_sandbagGet01 = true;

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

    }

    UnitBehaviorRemove(gv_sCV01, "CarrySandbags", 1);
    libNtve_gf_ShowHideUnit(gv_sandbag05, true);
    TriggerEnable(gt_SandbagsGetSandbagLeft, false);

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

    }

    UnitBehaviorRemove(gv_sCV02, "CarrySandbags", 1);
    libNtve_gf_ShowHideUnit(gv_sandbag06, true);
    gv_sandbagGet02 = true;

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

    }

    UnitBehaviorRemove(gv_sCV02, "CarrySandbags", 1);
    libNtve_gf_ShowHideUnit(gv_sandbag07, true);
    gv_sandbagGet02 = true;

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

    }

    UnitBehaviorRemove(gv_sCV02, "CarrySandbags", 1);
    libNtve_gf_ShowHideUnit(gv_sandbag08, true);
    gv_sandbagGet02 = true;

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

    }

    UnitBehaviorRemove(gv_sCV02, "CarrySandbags", 1);
    libNtve_gf_ShowHideUnit(gv_sandbag09, true);
    gv_sandbagGet02 = true;

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

    }

    UnitBehaviorRemove(gv_sCV02, "CarrySandbags", 1);
    libNtve_gf_ShowHideUnit(gv_sandbag10, true);
    TriggerEnable(gt_SandbagsGetSandbagRight, false);

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

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

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

    UnitControlGroupAddUnit(gv_p1_USER, 4, gv_tHEONESTETMAN);
    UnitGroupSelect(UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_p1_USER, true);
    UnitBehaviorRemove(UnitFromId(354), "RaynorRadar", 1);
    UnitBehaviorRemove(UnitFromId(358), "RaynorRadar", 1);
    UnitBehaviorRemove(UnitFromId(45), "RaynorRadar", 1);

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

    UnitGroupSelect(UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_p1_USER, true);
    UnitBehaviorRemove(UnitFromId(354), "RaynorRadar", 1);
    UnitBehaviorRemove(UnitFromId(358), "RaynorRadar", 1);
    UnitBehaviorRemove(UnitFromId(45), "RaynorRadar", 1);
    auto52DF8E5A_g = UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    UnitBehaviorRemove(UnitFromId(354), "RaynorRadar", 1);
    UnitBehaviorRemove(UnitFromId(358), "RaynorRadar", 1);
    UnitBehaviorRemove(UnitFromId(45), "RaynorRadar", 1);
    auto52DF8E5A_g = UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto52DF8E5A_u = UnitGroupCount(auto52DF8E5A_g, c_unitCountAll);

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

        libNtve_gf_ShowHideUnit(autoD8627A24_var, false);
    }
    UnitBehaviorRemove(UnitFromId(463), "ZergBuildingNotOnCreep", 1);
    UnitBehaviorRemove(UnitFromId(1188), "ZergBuildingNotOnCreep", 1);
    UnitBehaviorRemove(UnitFromId(1313), "ZergBuildingNotOnCreep", 1);

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

    }
    UnitBehaviorRemove(UnitFromId(463), "ZergBuildingNotOnCreep", 1);
    UnitBehaviorRemove(UnitFromId(1188), "ZergBuildingNotOnCreep", 1);
    UnitBehaviorRemove(UnitFromId(1313), "ZergBuildingNotOnCreep", 1);
    UnitSetInfoText(UnitFromId(2405), StringExternal("Param/Value/E4A096C8"), StringToText(""), StringToText(""));

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

    UnitBehaviorRemove(UnitFromId(463), "ZergBuildingNotOnCreep", 1);
    UnitBehaviorRemove(UnitFromId(1188), "ZergBuildingNotOnCreep", 1);
    UnitBehaviorRemove(UnitFromId(1313), "ZergBuildingNotOnCreep", 1);
    UnitSetInfoText(UnitFromId(2405), StringExternal("Param/Value/E4A096C8"), StringToText(""), StringToText(""));
    gv_tHEONEOMEGALISK = UnitFromId(520);

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

        UnitGroupRemove(gv__3BroodchamberAllUnits, autoDD922476_var);
    }
    UnitBehaviorRemove(UnitFromId(117), "ZergBuildingNotOnCreep", 1);
    UnitBehaviorRemove(UnitFromId(1283), "ZergBuildingNotOnCreep", 1);
    UnitSetInfoText(UnitFromId(2406), StringExternal("Param/Value/EB679040"), StringToText(""), StringToText(""));

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

    }
    UnitBehaviorRemove(UnitFromId(117), "ZergBuildingNotOnCreep", 1);
    UnitBehaviorRemove(UnitFromId(1283), "ZergBuildingNotOnCreep", 1);
    UnitSetInfoText(UnitFromId(2406), StringExternal("Param/Value/EB679040"), StringToText(""), StringToText(""));
    auto87D3316D_g = UnitGroup(null, c_playerAny, RegionFromId(34), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        UnitGroupAdd(gv__4BroodchamberAllUnits, auto87D3316D_var);
    }
    UnitBehaviorRemove(UnitFromId(1004), "ZergBuildingNotOnCreep", 1);
    UnitBehaviorRemove(UnitFromId(396), "ZergBuildingNotOnCreep", 1);
    auto9F604E0D_g = gv__2BroodchamberAllUnits;

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


    if ((PlayerRace(UnitGetOwner(lp_victim)) == "Zerg")) {
        UnitBehaviorRemove(lp_victim, "ZergBuildingDies6", 1);
        UnitBehaviorRemove(lp_victim, "ZergBuildingDies9", 1);
        UnitBehaviorAdd(lp_victim, "ZergGenericDeath", lp_victim, 1);

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

    if ((PlayerRace(UnitGetOwner(lp_victim)) == "Zerg")) {
        UnitBehaviorRemove(lp_victim, "ZergBuildingDies6", 1);
        UnitBehaviorRemove(lp_victim, "ZergBuildingDies9", 1);
        UnitBehaviorAdd(lp_victim, "ZergGenericDeath", lp_victim, 1);
        gv_stat_ZergKilledByPlatform += 1;

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


    if ((PlayerRace(UnitGetOwner(lp_victim)) == "Zerg")) {
        UnitBehaviorRemove(lp_victim, "ZergBuildingDies6", 1);
        UnitBehaviorRemove(lp_victim, "ZergBuildingDies9", 1);
        UnitBehaviorAdd(lp_victim, "ZergGenericDeath", lp_victim, 1);

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

    if ((PlayerRace(UnitGetOwner(lp_victim)) == "Zerg")) {
        UnitBehaviorRemove(lp_victim, "ZergBuildingDies6", 1);
        UnitBehaviorRemove(lp_victim, "ZergBuildingDies9", 1);
        UnitBehaviorAdd(lp_victim, "ZergGenericDeath", lp_victim, 1);
        gv_stat_ZergKilledByPlatform += 1;

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

            AIRemoveUnitFromAnyWaves(gv_kerrigan);
            AISetUnitScriptControlled(gv_kerrigan, true);
            UnitBehaviorRemove(gv_kerrigan, "Stunned", 1);
            UnitBehaviorRemove(gv_kerrigan, "UltrasonicPulseStun", 1);
            UnitSetState(gv_kerrigan, c_unitStateTargetable, false);

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

            AISetUnitScriptControlled(gv_kerrigan, true);
            UnitBehaviorRemove(gv_kerrigan, "Stunned", 1);
            UnitBehaviorRemove(gv_kerrigan, "UltrasonicPulseStun", 1);
            UnitSetState(gv_kerrigan, c_unitStateTargetable, false);
            UnitSetState(gv_kerrigan, c_unitStateSelectable, false);

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

    else {
        lv_fadeDuration = 0.5;
        UnitBehaviorRemove(gv_artifact, "ArtifactRecharging", 1);
        libNtve_gf_SendActorMessageToUnit(gv_artifact, "AnimBracketStop Work");
        UnitBehaviorAdd(gv_artifact, "ArtifactRecharging", gv_artifact, 1);

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

    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
    TriggerQueueExit();
    UnitBehaviorRemove(gv_tHEONEZERATUL, "Read", 1);
    libCamp_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/212417DA"));
    CameraPan(gv_p1_USER, PointWithOffset(PointFromId(1748), 0.0, 0.0), 1.5, -1, 10, false);

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

    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
    TriggerQueueExit();
    UnitBehaviorRemove(gv_tHEONEZERATUL, "Read", 1);
    libCamp_gf_CreateMissionAutosavePoint(StringExternal("Param/Value/E11087AB"));
    Wait(0.75, c_timeGame);

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


    lv_unit = gv_panickedUnit;
    UnitBehaviorRemove(lv_unit, "InstallationZergWander", 1);
    UnitIssueOrder(lv_unit, Order(AbilityCommand("SpineCrawlerUproot", 0)), c_orderQueueReplace);
    UnitIssueOrder(lv_unit, Order(AbilityCommand("SporeCrawlerUproot", 0)), c_orderQueueReplace);

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

    gv_cinematicKerriganIntroCinematicCompleted = false;
    CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
    UnitBehaviorRemove(gv_cinematicKerriganIntroZeratul, "Read", 1);
    SoundPlay(SoundLink("HighTemplar_PlasmaSurge", -1), PlayerGroupAll(), 100.0, 0.0);
    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "TZeratul01MusicEventC", c_soundtrackCueAny, c_soundtrackIndexAny, false);

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

    Wait(3.25, c_timeGame);
    UnitIssueOrder(gv_tHEONEKERRIGAN, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    UnitBehaviorRemove(gv_tHEONEKERRIGAN, "KerriganWalk", 1);
    Wait(0.25, c_timeGame);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_tHEONEKERRIGAN), c_animNameDefault, "Stand Work", 0, c_animTimeDefault);

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

    libNtve_gf_ShareVisionofUnit(gv_tHEONEKARASS, true, 1);
    UnitGroupIssueOrder(UnitGroup("Zealot", gv_p2_ALLIED, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(867)), c_orderQueueReplace);
    UnitBehaviorRemove(gv_tHEONEKERRIGAN, "KerriganWalk", 1);
    UnitSetPosition(gv_tHEONEKERRIGAN, PointFromId(1389), false);
    UnitSetFacing(gv_tHEONEKERRIGAN, 135.0, 0.0);

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

        libNtve_gf_KillModel(gv_actorArchonEffect);
        TimerPause(gv_attackTimer, true);
        UnitBehaviorRemove(gv_hybridPhysical, "HybridDontDie", 1);
        gf_SetMaxLife(UnitLastCreated(), gv_hybridMaxLife);
        gf_SetMaxShields(UnitLastCreated(), gv_hybridMaxShields);

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

    libNtve_gf_PauseUnit(gv_zeratul, false);
    gf_RefreshPlayersHPandShields();
    UnitBehaviorRemove(gv_zeratul, "Read", 1);
    UnitBehaviorRemove(gv_zeratul, "SuppressCloak", 1);
    libNtve_gf_MakeUnitUncommandable(gv_zeratul, false);

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

    gf_RefreshPlayersHPandShields();
    UnitBehaviorRemove(gv_zeratul, "Read", 1);
    UnitBehaviorRemove(gv_zeratul, "SuppressCloak", 1);
    libNtve_gf_MakeUnitUncommandable(gv_zeratul, false);
    libNtve_gf_MakeUnitInvulnerable(gv_zeratul, false);

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

    UnitAbilityReset(gv_zeratul, AbilityCommand("ZeratulStun", 0), c_spendLocationAll);
    UnitAbilityReset(gv_zeratul, AbilityCommand("ZeratulBlink", 0), c_spendLocationAll);
    UnitBehaviorRemove(gv_zeratul, "Read", 1);
    UnitBehaviorRemove(gv_zeratul, "SuppressCloak", 1);
    CreepSetSpeed(c_creepSpeedDecay, 100.0);