# Add Behavior (Player)

Grammar — Add inCount inBehavior to inUnit from player player
FlagsNative | Action

Adds a behavior to 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 UnitBehaviorAddPlayer(
	unit inUnit,
	string inBehavior,
	int inPlayer,
	int inCount,
);

Category: Behavior / Basic

# Examples

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

                    }
                    if ((UnitHasBehavior(gv_viking, "SS_PowerUpDiagonal1") == true)) {
                        UnitBehaviorAddPlayer(gv_viking, "SS_PowerUpDiagonal2", gv_p1_USER, 1);
                    }
                    else {

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

                    }
                    else {
                        UnitBehaviorAddPlayer(gv_viking, "SS_PowerUpDiagonal1", gv_p1_USER, 1);
                    }
                    if ((gv_powerupScoreEnabled == true)) {

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

                else if (autoB7505698_val == "SS_PowerupHealth") {
                    if ((UnitHasBehavior(gv_viking, "SS_PowerUpHealth1") == true)) {
                        UnitBehaviorAddPlayer(gv_viking, "SS_PowerUpHealth2", gv_p1_USER, 1);
                    }
                    else {

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

                    }
                    else {
                        UnitBehaviorAddPlayer(gv_viking, "SS_PowerUpHealth1", gv_p1_USER, 1);
                    }
                    if ((gv_powerupScoreEnabled == true)) {

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

                    else {
                    }
                    UnitBehaviorAddPlayer(gv_viking, "SS_PowerUpStrong", gv_p1_USER, 1);
                    if ((gv_powerupScoreEnabled == true)) {
                        gf_CreatePowerupTextTag((StringExternal("Param/Value/18281567") + IntToText(gf_ModifyScoreWithBonusMultiplier(gf_ScoreofUnitType(lv_unitType))) + StringExternal("Param/Value/39DA31CD")), Color(74.51, 45.10, 87.45));

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

    else {
    }
    UnitBehaviorAddPlayer(gv_viking, "SS_Invulnerable", gv_p1_USER, 1);
    UnitBehaviorAddPlayer(gv_viking, "SS_VikingRespawn", gv_p1_USER, 1);
    lv_bounds = gf_GetCameraBoundary();

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

    }
    UnitBehaviorAddPlayer(gv_viking, "SS_Invulnerable", gv_p1_USER, 1);
    UnitBehaviorAddPlayer(gv_viking, "SS_VikingRespawn", gv_p1_USER, 1);
    lv_bounds = gf_GetCameraBoundary();
    lv_spawnLoc = PointWithOffset(RegionGetCenter(lv_bounds), 0.0, -5.0);

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

        if (auto2AA8063C_var == null) { break; }
        if ((UnitGetType(auto2AA8063C_var) != "CreepTumorBurrowed") && (UnitGetType(auto2AA8063C_var) != "SpineCrawler") && (UnitGetType(auto2AA8063C_var) != "SporeCrawler")) {
            UnitBehaviorAddPlayer(auto2AA8063C_var, "ColonyInfestation", gv_pLAYER_03_INFESTED_REFUGEES, 1);
        }

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

        auto38B5833A_var = UnitGroupUnitFromEnd(auto38B5833A_g, auto38B5833A_u);
        if (auto38B5833A_var == null) { break; }
        UnitBehaviorAddPlayer(auto38B5833A_var, "ColonyInfestation", gv_p02_ZERG_EAST, 1);
        UnitSetState(auto38B5833A_var, c_unitStateTargetable, true);
    }

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

        auto97EF4C11_var = UnitGroupUnitFromEnd(auto97EF4C11_g, auto97EF4C11_u);
        if (auto97EF4C11_var == null) { break; }
        UnitBehaviorAddPlayer(auto97EF4C11_var, "ColonyInfestation", gv_p04_ZERG_NORTH, 1);
        UnitSetState(auto97EF4C11_var, c_unitStateTargetable, true);
    }

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

        auto0B898AD1_var = UnitGroupUnitFromEnd(auto0B898AD1_g, auto0B898AD1_u);
        if (auto0B898AD1_var == null) { break; }
        UnitBehaviorAddPlayer(auto0B898AD1_var, "ColonyInfestation", gv_p08_ZERG_SOUTH, 1);
        UnitSetState(auto0B898AD1_var, c_unitStateTargetable, true);
    }

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

        if (autoD2B9032B_var == null) { break; }
        if ((WorldHeight(c_heightMapGround, UnitGetPosition(autoD2B9032B_var)) <= 8.5)) {
            UnitBehaviorAddPlayer(autoD2B9032B_var, "LavaDamage", gv_p03_LAVA, 1);
        }

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

        UnitIssueOrder(auto720C8920_var, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(1))), c_orderQueueReplace);
    }
    UnitBehaviorAddPlayer(UnitFromId(177), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(40), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(15), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);

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

    }
    UnitBehaviorAddPlayer(UnitFromId(177), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(40), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(15), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(139), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);

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

    UnitBehaviorAddPlayer(UnitFromId(177), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(40), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(15), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(139), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(59), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);

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

    UnitBehaviorAddPlayer(UnitFromId(40), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(15), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(139), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(59), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(289), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);

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

    UnitBehaviorAddPlayer(UnitFromId(15), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(139), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(59), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(289), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(290), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);

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

    UnitBehaviorAddPlayer(UnitFromId(139), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(59), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(289), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(290), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    AIInitCampaignHarvest(gv_p02_ZERG_LOW_GROUND_AI);

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

    UnitBehaviorAddPlayer(UnitFromId(59), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(289), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(290), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    AIInitCampaignHarvest(gv_p02_ZERG_LOW_GROUND_AI);
    return true;

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

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitGroupAdd(gv_enemiesUnits, UnitGroupLoopCurrent());
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);

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

        UnitGroupAdd(gv_enemiesUnits, UnitGroupLoopCurrent());
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
    }

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);

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

        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
    }

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersB, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);

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

        UnitGroupAdd(gv_enemyAttackersB, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
    }

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

        UnitGroupAdd(gv_enemyAttackersD, UnitLastCreated());
        AIAttackWaveUseUnit(gv_pLAYER_COMPUTER2, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);

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

        AIAttackWaveUseUnit(gv_pLAYER_COMPUTER2, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
    }

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersC, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);

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

        UnitGroupAdd(gv_enemyAttackersC, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
    }

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

        UnitGroupAdd(gv_playerUnitsRound1, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }

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

        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }
}

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

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

        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
}

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersB, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

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

        UnitGroupAdd(gv_enemyAttackersB, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
}

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersC, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

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

        UnitGroupAdd(gv_enemyAttackersC, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
}

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

        UnitGroupAdd(gv_playerUnitsRound1, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }

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

        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }
}

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

        UnitGroupAdd(gv_playerUnitsRound2, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }

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

        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }
}

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

        UnitGroupAdd(gv_terranBase, UnitGroupLoopCurrent());
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

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

        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
    UnitGroupLoopEnd();

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

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

        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
}

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersB, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

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

        UnitGroupAdd(gv_enemyAttackersB, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
}

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersC, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        if ((UnitGetType(UnitLastCreated()) == "Carrier")) {

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

        UnitGroupAdd(gv_enemyAttackersC, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        if ((UnitGetType(UnitLastCreated()) == "Carrier")) {
            UnitMagazineArm(UnitLastCreated(), AbilityCommand("CarrierHangar", 0), 4);

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

        UnitGroupAdd(gv_playerUnitsRound1, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }

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

        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }
}

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

        UnitGroupAdd(gv_playerUnitsRound2, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }

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

        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }
}

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

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitGroupAdd(gv_terranBase, UnitGroupLoopCurrent());
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);

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

        UnitGroupAdd(gv_terranBase, UnitGroupLoopCurrent());
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
        libNtve_gf_PauseUnit(UnitGroupLoopCurrent(), false);

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

                    }
                    if ((UnitHasBehavior(gv_viking, "SS_PowerUpDiagonal1") == true)) {
                        UnitBehaviorAddPlayer(gv_viking, "SS_PowerUpDiagonal2", gv_p1_USER, 1);
                    }
                    else {

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

                    }
                    else {
                        UnitBehaviorAddPlayer(gv_viking, "SS_PowerUpDiagonal1", gv_p1_USER, 1);
                    }
                    if ((gv_powerupScoreEnabled == true)) {

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

                else if (autoB7505698_val == "SS_PowerupHealth") {
                    if ((UnitHasBehavior(gv_viking, "SS_PowerUpHealth1") == true)) {
                        UnitBehaviorAddPlayer(gv_viking, "SS_PowerUpHealth2", gv_p1_USER, 1);
                    }
                    else {

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

                    }
                    else {
                        UnitBehaviorAddPlayer(gv_viking, "SS_PowerUpHealth1", gv_p1_USER, 1);
                    }
                    if ((gv_powerupScoreEnabled == true)) {

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

                    else {
                    }
                    UnitBehaviorAddPlayer(gv_viking, "SS_PowerUpStrong", gv_p1_USER, 1);
                    if ((gv_powerupScoreEnabled == true)) {
                        gf_CreatePowerupTextTag((StringExternal("Param/Value/18281567") + IntToText(gf_ModifyScoreWithBonusMultiplier(gf_ScoreofUnitType(lv_unitType))) + StringExternal("Param/Value/39DA31CD")), Color(74.51, 45.10, 87.45));

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

    else {
    }
    UnitBehaviorAddPlayer(gv_viking, "SS_Invulnerable", gv_p1_USER, 1);
    UnitBehaviorAddPlayer(gv_viking, "SS_VikingRespawn", gv_p1_USER, 1);
    lv_bounds = gf_GetCameraBoundary();

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

    }
    UnitBehaviorAddPlayer(gv_viking, "SS_Invulnerable", gv_p1_USER, 1);
    UnitBehaviorAddPlayer(gv_viking, "SS_VikingRespawn", gv_p1_USER, 1);
    lv_bounds = gf_GetCameraBoundary();
    lv_spawnLoc = PointWithOffset(RegionGetCenter(lv_bounds), 0.0, -5.0);

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

        if (auto2AA8063C_var == null) { break; }
        if ((UnitGetType(auto2AA8063C_var) != "CreepTumorBurrowed") && (UnitGetType(auto2AA8063C_var) != "SpineCrawler") && (UnitGetType(auto2AA8063C_var) != "SporeCrawler")) {
            UnitBehaviorAddPlayer(auto2AA8063C_var, "ColonyInfestation", gv_pLAYER_03_INFESTED_REFUGEES, 1);
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:1069

        auto38B5833A_var = UnitGroupUnitFromEnd(auto38B5833A_g, auto38B5833A_u);
        if (auto38B5833A_var == null) { break; }
        UnitBehaviorAddPlayer(auto38B5833A_var, "ColonyInfestation", gv_p02_ZERG_EAST, 1);
        UnitSetState(auto38B5833A_var, c_unitStateTargetable, true);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:1077

        auto97EF4C11_var = UnitGroupUnitFromEnd(auto97EF4C11_g, auto97EF4C11_u);
        if (auto97EF4C11_var == null) { break; }
        UnitBehaviorAddPlayer(auto97EF4C11_var, "ColonyInfestation", gv_p04_ZERG_NORTH, 1);
        UnitSetState(auto97EF4C11_var, c_unitStateTargetable, true);
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2mapMapScript.galaxy:1085

        auto0B898AD1_var = UnitGroupUnitFromEnd(auto0B898AD1_g, auto0B898AD1_u);
        if (auto0B898AD1_var == null) { break; }
        UnitBehaviorAddPlayer(auto0B898AD1_var, "ColonyInfestation", gv_p08_ZERG_SOUTH, 1);
        UnitSetState(auto0B898AD1_var, c_unitStateTargetable, true);
    }

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

        if (autoD2B9032B_var == null) { break; }
        if ((WorldHeight(c_heightMapGround, UnitGetPosition(autoD2B9032B_var)) <= 8.5)) {
            UnitBehaviorAddPlayer(autoD2B9032B_var, "LavaDamage", gv_p03_LAVA, 1);
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:839

        UnitIssueOrder(auto720C8920_var, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(1))), c_orderQueueReplace);
    }
    UnitBehaviorAddPlayer(UnitFromId(177), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(40), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(15), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:840

    }
    UnitBehaviorAddPlayer(UnitFromId(177), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(40), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(15), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(139), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:841

    UnitBehaviorAddPlayer(UnitFromId(177), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(40), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(15), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(139), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(59), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:842

    UnitBehaviorAddPlayer(UnitFromId(40), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(15), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(139), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(59), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(289), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:843

    UnitBehaviorAddPlayer(UnitFromId(15), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(139), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(59), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(289), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(290), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:844

    UnitBehaviorAddPlayer(UnitFromId(139), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(59), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(289), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(290), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    AIInitCampaignHarvest(gv_p02_ZERG_LOW_GROUND_AI);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul03.sc2mapMapScript.galaxy:845

    UnitBehaviorAddPlayer(UnitFromId(59), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(289), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    UnitBehaviorAddPlayer(UnitFromId(290), "ColonyInfestation", gv_p02_ZERG_LOW_GROUND_AI, 1);
    AIInitCampaignHarvest(gv_p02_ZERG_LOW_GROUND_AI);
    return true;

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

    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitGroupAdd(gv_enemiesUnits, UnitGroupLoopCurrent());
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);

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

        UnitGroupAdd(gv_enemiesUnits, UnitGroupLoopCurrent());
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
    }

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);

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

        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
    }

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersB, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);

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

        UnitGroupAdd(gv_enemyAttackersB, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
    }

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

        UnitGroupAdd(gv_enemyAttackersD, UnitLastCreated());
        AIAttackWaveUseUnit(gv_pLAYER_COMPUTER2, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);

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

        AIAttackWaveUseUnit(gv_pLAYER_COMPUTER2, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
    }

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersC, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);

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

        UnitGroupAdd(gv_enemyAttackersC, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
    }

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

        UnitGroupAdd(gv_playerUnitsRound1, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }

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

        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }
}

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

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

        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
}

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersB, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

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

        UnitGroupAdd(gv_enemyAttackersB, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
}

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersC, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

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

        UnitGroupAdd(gv_enemyAttackersC, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
}

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

        UnitGroupAdd(gv_playerUnitsRound1, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }

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

        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }
}

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

        UnitGroupAdd(gv_playerUnitsRound2, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }

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

        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_USER, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_USER, 1);
    }
}

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

        UnitGroupAdd(gv_terranBase, UnitGroupLoopCurrent());
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

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

        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitGroupLoopCurrent(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
    UnitGroupLoopEnd();

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

        UnitGroupAdd(gv_attackers, UnitLastCreated());
        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }

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

        UnitGroupAdd(gv_enemyAttackersA, UnitLastCreated());
        UnitBehaviorAddPlayer(UnitLastCreated(), "Untargetable", gv_pLAYER_COMPUTER1, 1);
        UnitBehaviorAddPlayer(UnitLastCreated(), "DamageTakenNone", gv_pLAYER_COMPUTER1, 1);
    }
}