# Remove Behavior (Player)

Grammar — Remove inCount inBehavior from inUnit from player inPlayer
FlagsNative | Action

Removes a behavior from the specified unit, setting the casting player to the specified player.

# Arguments

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

Returns — void

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

Category: Behavior / Basic

# Examples

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

    gf_FighterEnableDisableControl(true);
    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/challenges/advancedcommand.sc2map/MapScript.galaxy:911

    UnitGroupLoopBegin(gv_enemiesUnits);
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/advancedcommand.sc2map/MapScript.galaxy:912

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
    UnitGroupLoopEnd();

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:336

    UnitGroupLoopBegin(UnitGroupFilterRegion(gv_attackers, RegionEntireMap(), 0));
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:337

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:1745

    }

    UnitBehaviorRemovePlayer(gv_pylon01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "DamageTakenNone", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:1746


    UnitBehaviorRemovePlayer(gv_pylon01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon01, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:1747

    UnitBehaviorRemovePlayer(gv_pylon01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:1748

    UnitBehaviorRemovePlayer(gv_pylon02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:1749

    UnitBehaviorRemovePlayer(gv_pylon03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "Untargetable", gv_pLAYER_USER, 1);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:1750

    UnitBehaviorRemovePlayer(gv_pylon01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "Untargetable", gv_pLAYER_USER, 1);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:305

    UnitGroupLoopBegin(UnitGroupFilterRegion(gv_attackers, RegionEntireMap(), 0));
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:306

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:1564

    }

    UnitBehaviorRemovePlayer(gv_supplyDepot01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "DamageTakenNone", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:1565


    UnitBehaviorRemovePlayer(gv_supplyDepot01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot01, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:1566

    UnitBehaviorRemovePlayer(gv_supplyDepot01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:1567

    UnitBehaviorRemovePlayer(gv_supplyDepot02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:1568

    UnitBehaviorRemovePlayer(gv_supplyDepot03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "Untargetable", gv_pLAYER_USER, 1);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:1569

    UnitBehaviorRemovePlayer(gv_supplyDepot01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "Untargetable", gv_pLAYER_USER, 1);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:896

    UnitGroupLoopBegin(gv_terranBase);
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:897

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
    UnitGroupLoopEnd();

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:334

    UnitGroupLoopBegin(UnitGroupFilterRegion(gv_attackers, RegionEntireMap(), 0));
    while (!UnitGroupLoopDone()) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:335

    while (!UnitGroupLoopDone()) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
        UnitGroupLoopStep();

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:1651

    }

    UnitBehaviorRemovePlayer(gv_spire01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "DamageTakenNone", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:1652


    UnitBehaviorRemovePlayer(gv_spire01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire01, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:1653

    UnitBehaviorRemovePlayer(gv_spire01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:1654

    UnitBehaviorRemovePlayer(gv_spire02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:1655

    UnitBehaviorRemovePlayer(gv_spire03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "Untargetable", gv_pLAYER_USER, 1);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:1656

    UnitBehaviorRemovePlayer(gv_spire01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "Untargetable", gv_pLAYER_USER, 1);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:877

    UnitGroupLoopBegin(gv_terranBase);
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitIssueOrder(UnitGroupLoopCurrent(), Order(AbilityCommand("move", 2)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:878

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitIssueOrder(UnitGroupLoopCurrent(), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:7782

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

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2mapMapScript.galaxy:911

    UnitGroupLoopBegin(gv_enemiesUnits);
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2mapMapScript.galaxy:912

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
    UnitGroupLoopEnd();

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2mapMapScript.galaxy:336

    UnitGroupLoopBegin(UnitGroupFilterRegion(gv_attackers, RegionEntireMap(), 0));
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2mapMapScript.galaxy:337

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2mapMapScript.galaxy:1745

    }

    UnitBehaviorRemovePlayer(gv_pylon01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "DamageTakenNone", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2mapMapScript.galaxy:1746


    UnitBehaviorRemovePlayer(gv_pylon01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon01, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2mapMapScript.galaxy:1747

    UnitBehaviorRemovePlayer(gv_pylon01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2mapMapScript.galaxy:1748

    UnitBehaviorRemovePlayer(gv_pylon02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2mapMapScript.galaxy:1749

    UnitBehaviorRemovePlayer(gv_pylon03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "Untargetable", gv_pLAYER_USER, 1);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2mapMapScript.galaxy:1750

    UnitBehaviorRemovePlayer(gv_pylon01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_pylon03, "Untargetable", gv_pLAYER_USER, 1);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2mapMapScript.galaxy:305

    UnitGroupLoopBegin(UnitGroupFilterRegion(gv_attackers, RegionEntireMap(), 0));
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2mapMapScript.galaxy:306

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2mapMapScript.galaxy:1564

    }

    UnitBehaviorRemovePlayer(gv_supplyDepot01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "DamageTakenNone", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2mapMapScript.galaxy:1565


    UnitBehaviorRemovePlayer(gv_supplyDepot01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot01, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2mapMapScript.galaxy:1566

    UnitBehaviorRemovePlayer(gv_supplyDepot01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2mapMapScript.galaxy:1567

    UnitBehaviorRemovePlayer(gv_supplyDepot02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2mapMapScript.galaxy:1568

    UnitBehaviorRemovePlayer(gv_supplyDepot03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "Untargetable", gv_pLAYER_USER, 1);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2mapMapScript.galaxy:1569

    UnitBehaviorRemovePlayer(gv_supplyDepot01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_supplyDepot03, "Untargetable", gv_pLAYER_USER, 1);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2mapMapScript.galaxy:896

    UnitGroupLoopBegin(gv_terranBase);
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2mapMapScript.galaxy:897

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
    UnitGroupLoopEnd();

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2mapMapScript.galaxy:334

    UnitGroupLoopBegin(UnitGroupFilterRegion(gv_attackers, RegionEntireMap(), 0));
    while (!UnitGroupLoopDone()) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2mapMapScript.galaxy:335

    while (!UnitGroupLoopDone()) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
        UnitGroupLoopStep();

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2mapMapScript.galaxy:1651

    }

    UnitBehaviorRemovePlayer(gv_spire01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "DamageTakenNone", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2mapMapScript.galaxy:1652


    UnitBehaviorRemovePlayer(gv_spire01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire01, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2mapMapScript.galaxy:1653

    UnitBehaviorRemovePlayer(gv_spire01, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2mapMapScript.galaxy:1654

    UnitBehaviorRemovePlayer(gv_spire02, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "Untargetable", gv_pLAYER_USER, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2mapMapScript.galaxy:1655

    UnitBehaviorRemovePlayer(gv_spire03, "DamageTakenNone", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "Untargetable", gv_pLAYER_USER, 1);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2mapMapScript.galaxy:1656

    UnitBehaviorRemovePlayer(gv_spire01, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire02, "Untargetable", gv_pLAYER_USER, 1);
    UnitBehaviorRemovePlayer(gv_spire03, "Untargetable", gv_pLAYER_USER, 1);
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2mapMapScript.galaxy:877

    UnitGroupLoopBegin(gv_terranBase);
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitIssueOrder(UnitGroupLoopCurrent(), Order(AbilityCommand("move", 2)), c_orderQueueReplace);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2mapMapScript.galaxy:878

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorRemovePlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitIssueOrder(UnitGroupLoopCurrent(), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:572

        auto8A204714_var = UnitGroupUnitFromEnd(auto8A204714_g, auto8A204714_u);
        if (auto8A204714_var == null) { break; }
        UnitBehaviorRemovePlayer(auto8A204714_var, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
        UnitBehaviorRemovePlayer(auto8A204714_var, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
        UnitSetState(auto8A204714_var, c_unitStateTargetable, true);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:573

        if (auto8A204714_var == null) { break; }
        UnitBehaviorRemovePlayer(auto8A204714_var, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
        UnitBehaviorRemovePlayer(auto8A204714_var, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
        UnitSetState(auto8A204714_var, c_unitStateTargetable, true);
        UnitSetState(auto8A204714_var, c_unitStateSelectable, true);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:1555

    }

    UnitBehaviorRemovePlayer(EventUnit(), "Harmless", gv_pLAYER_02_ZERG22, 1);
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:5544

        auto60181B81_var = UnitGroupUnitFromEnd(auto60181B81_g, auto60181B81_u);
        if (auto60181B81_var == null) { break; }
        UnitBehaviorRemovePlayer(auto60181B81_var, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
        UnitBehaviorRemovePlayer(auto60181B81_var, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
        libNtve_gf_PauseUnit(auto60181B81_var, false);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:5545

        if (auto60181B81_var == null) { break; }
        UnitBehaviorRemovePlayer(auto60181B81_var, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
        UnitBehaviorRemovePlayer(auto60181B81_var, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
        libNtve_gf_PauseUnit(auto60181B81_var, false);
        libNtve_gf_MakeUnitInvulnerable(auto60181B81_var, false);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:9299

    SoundPlay(SoundLink("Sentry_ForceFieldDeath", -1), PlayerGroupAll(), 100.0, 0.0);
    gv_midStasisSound = SoundLastPlayed();
    UnitBehaviorRemovePlayer(lv_zealot01, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
    UnitBehaviorRemovePlayer(lv_zealot01, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
    return true;

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition03.sc2map/MapScript.galaxy:9300

    gv_midStasisSound = SoundLastPlayed();
    UnitBehaviorRemovePlayer(lv_zealot01, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
    UnitBehaviorRemovePlayer(lv_zealot01, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:4053

    }

    UnitBehaviorRemovePlayer(gv_labEntranceUnit, "Harmless", gv_pLAYER_02_DOMINION_BULLIES, 1);
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:596

    if ((UnitHasBehavior(gv_kerrigan2, "Incapacitated") == true)) {
        UnitBehaviorAddPlayer(gv_kerrigan2, "IncapStandUp", gv_pLAYER_01_USER, 1);
        UnitBehaviorRemovePlayer(gv_kerrigan2, "Incapacitated", gv_pLAYER_01_USER, 1);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:5226

        autoD3546043_var = UnitGroupUnitFromEnd(autoD3546043_g, autoD3546043_u);
        if (autoD3546043_var == null) { break; }
        UnitBehaviorRemovePlayer(autoD3546043_var, "Scared", gv_pLAYER_02_DOMINION2, 1);
        Wait(0.25, c_timeGame);
        UnitIssueOrder(autoD3546043_var, OrderTargetingUnit(AbilityCommand("move", 4), libNtve_gf_KillingUnit()), c_orderQueueReplace);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:12952

    libNtve_gf_ChangeUnitDamage(gv_kerrigan, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
    libNtve_gf_MakeUnitInvulnerable(gv_kerrigan, false);
    UnitBehaviorRemovePlayer(gv_kerrigan, "HeroDeathPrevention", gv_pLAYER_01_USER, 1);
    UnitSetPropertyFixed(gv_kerrigan, c_unitPropLifePercent, 100.0);
    UnitSetPropertyFixed(gv_kerrigan, c_unitPropEnergyPercent, 100.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:7146

    }

    UnitBehaviorRemovePlayer(EventUnit(), "Harmless", gv_pLAYER_05_INFESTED, 1);
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:1069

    }

    UnitBehaviorRemovePlayer(gv_corpse_PerCamp[lp_campIndex], "MeatAttacked", gv_pLAYER_01_USER, 1);
    UnitSetPropertyFixed(gv_corpse_PerCamp[lp_campIndex], c_unitPropLife, gv_c_CORPSE_LIFEMAX);
    gf_ShowHideMeatProgressBar(lp_campIndex, false, false);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:4863

        if (((UnitGetOwner(autoA9676A4A_var) == gv_pLAYER_01_USER) || (libNtve_gf_UnitInRegion(autoA9676A4A_var, RegionFromId(43)) == true))) {
            if ((libNtve_gf_UnitInRegion(autoA9676A4A_var, RegionFromId(43)) == true)) {
                UnitBehaviorRemovePlayer(autoA9676A4A_var, "CarryMediumCarcass", gv_pLAYER_01_USER, 1);
                UnitSetPropertyFixed(autoA9676A4A_var, c_unitPropMovementSpeed, 2.8125);
            }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:11286

        if (autoB5D985AF_var == null) { break; }
        libNtve_gf_MakeUnitInvulnerable(autoB5D985AF_var, false);
        UnitBehaviorRemovePlayer(autoB5D985AF_var, "Passive", gv_pLAYER_01_USER, 1);
    }
    auto683DB9FF_g = UnitGroup(null, gv_pLAYER_02_DOMINION2, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:11391

        if (auto06ABFD3B_var == null) { break; }
        libNtve_gf_MakeUnitInvulnerable(auto06ABFD3B_var, false);
        UnitBehaviorRemovePlayer(auto06ABFD3B_var, "Passive", gv_pLAYER_01_USER, 1);
    }
    autoA53DF74A_g = UnitGroup(null, gv_pLAYER_02_DOMINION2, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:11784

        if (auto55B4BCDC_var == null) { break; }
        libNtve_gf_MakeUnitInvulnerable(auto55B4BCDC_var, false);
        UnitBehaviorRemovePlayer(auto55B4BCDC_var, "Passive", gv_pLAYER_01_USER, 1);
    }
    auto514076E9_g = UnitGroup(null, gv_pLAYER_02_DOMINION22, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus03.sc2map/MapScript.galaxy:11886

        if (autoBE73B3DF_var == null) { break; }
        libNtve_gf_MakeUnitInvulnerable(autoBE73B3DF_var, false);
        UnitBehaviorRemovePlayer(autoBE73B3DF_var, "Passive", gv_pLAYER_01_USER, 1);
    }
    autoF0C7E048_g = UnitGroup(null, gv_pLAYER_02_DOMINION22, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2mapMapScript.galaxy:572

        auto8A204714_var = UnitGroupUnitFromEnd(auto8A204714_g, auto8A204714_u);
        if (auto8A204714_var == null) { break; }
        UnitBehaviorRemovePlayer(auto8A204714_var, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
        UnitBehaviorRemovePlayer(auto8A204714_var, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
        UnitSetState(auto8A204714_var, c_unitStateTargetable, true);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2mapMapScript.galaxy:573

        if (auto8A204714_var == null) { break; }
        UnitBehaviorRemovePlayer(auto8A204714_var, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
        UnitBehaviorRemovePlayer(auto8A204714_var, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
        UnitSetState(auto8A204714_var, c_unitStateTargetable, true);
        UnitSetState(auto8A204714_var, c_unitStateSelectable, true);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2mapMapScript.galaxy:1555

    }

    UnitBehaviorRemovePlayer(EventUnit(), "Harmless", gv_pLAYER_02_ZERG22, 1);
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2mapMapScript.galaxy:5544

        auto60181B81_var = UnitGroupUnitFromEnd(auto60181B81_g, auto60181B81_u);
        if (auto60181B81_var == null) { break; }
        UnitBehaviorRemovePlayer(auto60181B81_var, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
        UnitBehaviorRemovePlayer(auto60181B81_var, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
        libNtve_gf_PauseUnit(auto60181B81_var, false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2mapMapScript.galaxy:5545

        if (auto60181B81_var == null) { break; }
        UnitBehaviorRemovePlayer(auto60181B81_var, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
        UnitBehaviorRemovePlayer(auto60181B81_var, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
        libNtve_gf_PauseUnit(auto60181B81_var, false);
        libNtve_gf_MakeUnitInvulnerable(auto60181B81_var, false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2mapMapScript.galaxy:9299

    SoundPlay(SoundLink("Sentry_ForceFieldDeath", -1), PlayerGroupAll(), 100.0, 0.0);
    gv_midStasisSound = SoundLastPlayed();
    UnitBehaviorRemovePlayer(lv_zealot01, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
    UnitBehaviorRemovePlayer(lv_zealot01, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
    return true;

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition03.sc2mapMapScript.galaxy:9300

    gv_midStasisSound = SoundLastPlayed();
    UnitBehaviorRemovePlayer(lv_zealot01, "Exp03StasisLongTerm", gv_pLAYER_02_ZERG, 1);
    UnitBehaviorRemovePlayer(lv_zealot01, "Exp03StasisEnding", gv_pLAYER_02_ZERG, 1);
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2mapMapScript.galaxy:4053

    }

    UnitBehaviorRemovePlayer(gv_labEntranceUnit, "Harmless", gv_pLAYER_02_DOMINION_BULLIES, 1);
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2mapMapScript.galaxy:596

    if ((UnitHasBehavior(gv_kerrigan2, "Incapacitated") == true)) {
        UnitBehaviorAddPlayer(gv_kerrigan2, "IncapStandUp", gv_pLAYER_01_USER, 1);
        UnitBehaviorRemovePlayer(gv_kerrigan2, "Incapacitated", gv_pLAYER_01_USER, 1);
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2mapMapScript.galaxy:5226

        autoD3546043_var = UnitGroupUnitFromEnd(autoD3546043_g, autoD3546043_u);
        if (autoD3546043_var == null) { break; }
        UnitBehaviorRemovePlayer(autoD3546043_var, "Scared", gv_pLAYER_02_DOMINION2, 1);
        Wait(0.25, c_timeGame);
        UnitIssueOrder(autoD3546043_var, OrderTargetingUnit(AbilityCommand("move", 4), libNtve_gf_KillingUnit()), c_orderQueueReplace);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2mapMapScript.galaxy:12952

    libNtve_gf_ChangeUnitDamage(gv_kerrigan, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
    libNtve_gf_MakeUnitInvulnerable(gv_kerrigan, false);
    UnitBehaviorRemovePlayer(gv_kerrigan, "HeroDeathPrevention", gv_pLAYER_01_USER, 1);
    UnitSetPropertyFixed(gv_kerrigan, c_unitPropLifePercent, 100.0);
    UnitSetPropertyFixed(gv_kerrigan, c_unitPropEnergyPercent, 100.0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2mapMapScript.galaxy:7146

    }

    UnitBehaviorRemovePlayer(EventUnit(), "Harmless", gv_pLAYER_05_INFESTED, 1);
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus01.sc2mapMapScript.galaxy:1069

    }

    UnitBehaviorRemovePlayer(gv_corpse_PerCamp[lp_campIndex], "MeatAttacked", gv_pLAYER_01_USER, 1);
    UnitSetPropertyFixed(gv_corpse_PerCamp[lp_campIndex], c_unitPropLife, gv_c_CORPSE_LIFEMAX);
    gf_ShowHideMeatProgressBar(lp_campIndex, false, false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus01.sc2mapMapScript.galaxy:4863

        if (((UnitGetOwner(autoA9676A4A_var) == gv_pLAYER_01_USER) || (libNtve_gf_UnitInRegion(autoA9676A4A_var, RegionFromId(43)) == true))) {
            if ((libNtve_gf_UnitInRegion(autoA9676A4A_var, RegionFromId(43)) == true)) {
                UnitBehaviorRemovePlayer(autoA9676A4A_var, "CarryMediumCarcass", gv_pLAYER_01_USER, 1);
                UnitSetPropertyFixed(autoA9676A4A_var, c_unitPropMovementSpeed, 2.8125);
            }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2mapMapScript.galaxy:11286

        if (autoB5D985AF_var == null) { break; }
        libNtve_gf_MakeUnitInvulnerable(autoB5D985AF_var, false);
        UnitBehaviorRemovePlayer(autoB5D985AF_var, "Passive", gv_pLAYER_01_USER, 1);
    }
    auto683DB9FF_g = UnitGroup(null, gv_pLAYER_02_DOMINION2, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2mapMapScript.galaxy:11391

        if (auto06ABFD3B_var == null) { break; }
        libNtve_gf_MakeUnitInvulnerable(auto06ABFD3B_var, false);
        UnitBehaviorRemovePlayer(auto06ABFD3B_var, "Passive", gv_pLAYER_01_USER, 1);
    }
    autoA53DF74A_g = UnitGroup(null, gv_pLAYER_02_DOMINION2, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2mapMapScript.galaxy:11784

        if (auto55B4BCDC_var == null) { break; }
        libNtve_gf_MakeUnitInvulnerable(auto55B4BCDC_var, false);
        UnitBehaviorRemovePlayer(auto55B4BCDC_var, "Passive", gv_pLAYER_01_USER, 1);
    }
    auto514076E9_g = UnitGroup(null, gv_pLAYER_02_DOMINION22, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus03.sc2mapMapScript.galaxy:11886

        if (autoBE73B3DF_var == null) { break; }
        libNtve_gf_MakeUnitInvulnerable(autoBE73B3DF_var, false);
        UnitBehaviorRemovePlayer(autoBE73B3DF_var, "Passive", gv_pLAYER_01_USER, 1);
    }
    autoF0C7E048_g = UnitGroup(null, gv_pLAYER_02_DOMINION22, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal02.sc2map/MapScript.galaxy:1718

            auto87C98A71_var = UnitGroupUnitFromEnd(auto87C98A71_g, auto87C98A71_u);
            if (auto87C98A71_var == null) { break; }
            UnitBehaviorRemovePlayer(auto87C98A71_var, "HybridKorhalStun", gv_pLAYER_02_DOMINION3, 1);
        }
    }

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/void/pkorhal02.sc2map/MapScript.galaxy:4707

        autoE1C3ADD0_var = UnitGroupUnitFromEnd(autoE1C3ADD0_g, autoE1C3ADD0_u);
        if (autoE1C3ADD0_var == null) { break; }
        UnitBehaviorRemovePlayer(autoE1C3ADD0_var, "HybridKorhalStun", gv_pLAYER_02_DOMINION3, 1);
    }
    return true;