# UnitFilter
Flags —
Native
# Arguments
int
— inRequired1int
— inRequired2int
— inExcluded1int
— inExcluded2
Returns — unitfilter
native unitfilter UnitFilter(
int inRequired1,
int inRequired2,
int inExcluded1,
int inExcluded2,
);
# Related
Category: Unclassified
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:631
gf_Level2ClearUp();
gf_Level3ClearUp();
auto49A2DDD7_g = UnitGroup(null, gv_p2_ENEMY, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto49A2DDD7_u = 1;
for ( ; auto49A2DDD7_u <= UnitGroupCount(auto49A2DDD7_g, c_unitCountAll) ; auto49A2DDD7_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u)) ) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:640
gf_FighterEnableDisableControl(false);
libNtve_gf_ClearAnimation(libNtve_gf_MainActorofUnit(gv_viking), c_animNameDefault);
auto6B9B76D8_g = UnitGroup(null, gv_p0_NEUTRAL, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto6B9B76D8_u = 1;
for ( ; auto6B9B76D8_u <= UnitGroupCount(auto6B9B76D8_g, c_unitCountAll) ; auto6B9B76D8_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u)) ) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2922
// Implementation
auto3F4C99E6_g = UnitGroup("SS_PowerupBomb", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto3F4C99E6_u = 1;
for ( ; auto3F4C99E6_u <= UnitGroupCount(auto3F4C99E6_g, c_unitCountAll) ; auto3F4C99E6_u += BoolToInt(lv_u == UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u)) ) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2928
UnitRemove(lv_u);
}
auto1B6E7E41_g = UnitGroup("SS_PowerupHealth", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto1B6E7E41_u = 1;
for ( ; auto1B6E7E41_u <= UnitGroupCount(auto1B6E7E41_g, c_unitCountAll) ; auto1B6E7E41_u += BoolToInt(lv_u == UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u)) ) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2934
UnitRemove(lv_u);
}
autoE3A7849B_g = UnitGroup("SS_PowerupSideMissiles", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoE3A7849B_u = 1;
for ( ; autoE3A7849B_u <= UnitGroupCount(autoE3A7849B_g, c_unitCountAll) ; autoE3A7849B_u += BoolToInt(lv_u == UnitGroupUnit(autoE3A7849B_g, autoE3A7849B_u)) ) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2940
UnitRemove(lv_u);
}
auto5262DC05_g = UnitGroup("SS_PowerupStrongerMissiles", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto5262DC05_u = 1;
for ( ; auto5262DC05_u <= UnitGroupCount(auto5262DC05_g, c_unitCountAll) ; auto5262DC05_u += BoolToInt(lv_u == UnitGroupUnit(auto5262DC05_g, auto5262DC05_u)) ) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4071
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/A6C3041C"));
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeBattleUI, true);
gv_endCinematicGroup = UnitGroup(null, gv_p3_CINE, RegionFromId(1), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupAdd(gv_endCinematicGroup, UnitFromId(9));
auto22B9CD29_g = gv_endCinematicGroup;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5134
lv_over = false;
while (true) {
if ((UnitGroupCount(UnitGroup("SS_SwarmGuardian", gv_p2_ENEMY, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
lv_over = true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5155
else {
}
if ((UnitGroupCount(UnitGroup("SS_SwarmGuardian", gv_p2_ENEMY, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
lv_over = true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5597
gf_SendWaveCircle("SS_Wraith", 12, 0.5, 2.0, 3.0, 2.0, 2.0, 9.0, -1.0, 270.0, 3.0, 2, true);
Wait(4.0, c_timeGame);
if ((UnitGroupCount(UnitGroup("SS_Battlecruiser", gv_p2_ENEMY, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
lv_over = true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:372
// Automatic Variable Declarations
// Implementation
if ((UnitGroupCount(UnitGroup("Overlord", c_playerAny, RegionCircle(lp_param_SpoogeTarget, 3.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
libNtve_gf_CreateUnitsAtPoint2(1, "Overlord", 0, gv_p5_ZERG_TACTICALPHASE, lp_param_Spawn);
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), lp_param_SpoogeTarget), c_orderQueueReplace);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:646
libNtve_gf_PauseUnit(UnitFromId(3245), true);
}
gv_bonusObjectiveCollectChrysalisNeeded = UnitGroupCount(UnitGroup("ChrysalisEgg", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive);
gv_initialMarineCount = UnitGroupCount(UnitGroup("Marine", gv_p4_COLONISTS, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive);
libNtve_gf_PauseUnit(UnitFromId(96), true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:647
}
gv_bonusObjectiveCollectChrysalisNeeded = UnitGroupCount(UnitGroup("ChrysalisEgg", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive);
gv_initialMarineCount = UnitGroupCount(UnitGroup("Marine", gv_p4_COLONISTS, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive);
libNtve_gf_PauseUnit(UnitFromId(96), true);
autoE0D555BB_g = UnitGroup("Hut", gv_p4_COLONISTS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:649
gv_initialMarineCount = UnitGroupCount(UnitGroup("Marine", gv_p4_COLONISTS, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive);
libNtve_gf_PauseUnit(UnitFromId(96), true);
autoE0D555BB_g = UnitGroup("Hut", gv_p4_COLONISTS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoE0D555BB_u = UnitGroupCount(autoE0D555BB_g, c_unitCountAll);
for (;; autoE0D555BB_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:656
UnitGroupAdd(gv_civilianSpawners, autoE0D555BB_var);
}
autoE1052B09_g = UnitGroup(null, gv_p6_ZERG_NOAIPREPLACED, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoE1052B09_u = UnitGroupCount(autoE1052B09_g, c_unitCountAll);
for (;; autoE1052B09_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:663
UnitIssueOrder(autoE1052B09_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
}
autoB1ABC5AB_g = UnitGroup(null, gv_p6_ZERG_NOAIPREPLACED, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoB1ABC5AB_u = UnitGroupCount(autoB1ABC5AB_g, c_unitCountAll);
for (;; autoB1ABC5AB_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:670
UnitBehaviorAdd(autoB1ABC5AB_var, "BroodlingWander", autoB1ABC5AB_var, 1);
}
autoD5F69E5E_g = UnitGroup(null, gv_p6_ZERG_NOAIPREPLACED, RegionFromId(18), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoD5F69E5E_u = UnitGroupCount(autoD5F69E5E_g, c_unitCountAll);
for (;; autoD5F69E5E_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:699
UnitSetPropertyFixed(UnitFromId(1155), c_unitPropLife, 349.0);
gv_activeCivilianShip = UnitFromId(1483);
autoBB9F27D7_g = UnitGroup("AutoTurret", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoBB9F27D7_u = UnitGroupCount(autoBB9F27D7_g, c_unitCountAll);
for (;; autoBB9F27D7_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1132
if ((gv_gameOver == false) && (gv_inCinematic == false)) {
if ((UnitGroupCount(UnitGroup("Marine", gv_p4_COLONISTS, RegionCircle(PointFromId(2079), 12.0), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < gv_initialMarineCount)) {
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p4_COLONISTS, PointFromId(2079));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1173
auto98FD8F65_var = UnitGroupUnitFromEnd(auto98FD8F65_g, auto98FD8F65_u);
if (auto98FD8F65_var == null) { break; }
UnitIssueOrder(auto98FD8F65_var, OrderTargetingPoint(AbilityCommand("attack", 0), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(auto98FD8F65_var), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0)))), c_orderQueueReplace);
}
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:438
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("AutomatedRefinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("Refinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
AIAttackWaveAddWaypoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(859), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:438
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("AutomatedRefinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("Refinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
AIAttackWaveAddWaypoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(859), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:438
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("AutomatedRefinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("Refinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
AIAttackWaveAddWaypoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(859), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:438
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("AutomatedRefinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("Refinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
AIAttackWaveAddWaypoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(859), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:438
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("AutomatedRefinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("Refinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
AIAttackWaveAddWaypoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(859), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:438
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("AutomatedRefinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("Refinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
AIAttackWaveAddWaypoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(859), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:438
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("AutomatedRefinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("Refinery", gv_pLAYER_01_USER, RegionFromId(49), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
AIAttackWaveAddWaypoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(859), false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:460
libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_lastGroup);
UnitGroupIssueOrder(lv_lastGroup, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
auto1B9E687D_g = UnitGroup("InfestedCivilian", gv_pLAYER_04_INFESTEDREFUGEES, RegionFromId(10), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto1B9E687D_u = UnitGroupCount(auto1B9E687D_g, c_unitCountAll);
for (;; auto1B9E687D_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:592
libNtve_gf_SendActorMessageToGameRegion(RegionEntireMap(), "Signal LightPowerDown");
auto6A6C64E5_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto6A6C64E5_u = UnitGroupCount(auto6A6C64E5_g, c_unitCountAll);
for (;; auto6A6C64E5_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:624
UnitSetPropertyFixed(UnitFromId(18), c_unitPropLife, 100.0);
UnitSetPropertyFixed(UnitFromId(18), c_unitPropLifeMax, 100.0);
auto97A1CCEC_g = UnitGroup("InfestorBurrowed", gv_pLAYER_06_INFESTORS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto97A1CCEC_u = UnitGroupCount(auto97A1CCEC_g, c_unitCountAll);
for (;; auto97A1CCEC_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:629
libNtve_gf_ShareVisionofUnit(UnitFromId(2629), true, gv_pLAYER01_USER);
libNtve_gf_ShareVisionofUnit(UnitFromId(2632), true, gv_pLAYER01_USER);
auto81633956_g = UnitGroup("InfestedCivilian", gv_pLAYER03_COLONIST, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto81633956_u = UnitGroupCount(auto81633956_g, c_unitCountAll);
for (;; auto81633956_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:636
UnitSetInfoText(auto81633956_var, StringToText(""), StringExternal("Param/Value/12815583"), StringToText(""));
}
auto542B3ECA_g = UnitGroup("ColonistShip", gv_pLAYER03_COLONIST, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto542B3ECA_u = UnitGroupCount(auto542B3ECA_g, c_unitCountAll);
for (;; auto542B3ECA_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:643
UnitSetState(auto542B3ECA_var, c_unitStateTargetable, false);
}
auto28CECA96_g = UnitGroup("Biodome", gv_pLAYER05_COLONISTSTRUCTURES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto28CECA96_u = UnitGroupCount(auto28CECA96_g, c_unitCountAll);
for (;; auto28CECA96_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:650
UnitSetState(auto28CECA96_var, c_unitStateTargetable, false);
}
autoD79C4196_g = UnitGroup("BiodomeHalfBuilt", gv_pLAYER05_COLONISTSTRUCTURES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoD79C4196_u = UnitGroupCount(autoD79C4196_g, c_unitCountAll);
for (;; autoD79C4196_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:657
UnitSetState(autoD79C4196_var, c_unitStateTargetable, false);
}
autoC2C6AB81_g = UnitGroup("Hut", gv_pLAYER05_COLONISTSTRUCTURES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoC2C6AB81_u = UnitGroupCount(autoC2C6AB81_g, c_unitCountAll);
for (;; autoC2C6AB81_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:664
UnitSetState(autoC2C6AB81_var, c_unitStateTargetable, false);
}
auto1BA5B4A7_g = UnitGroup("InfestedMercHaven", gv_pLAYER05_COLONISTSTRUCTURES, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto1BA5B4A7_u = UnitGroupCount(auto1BA5B4A7_g, c_unitCountAll);
for (;; auto1BA5B4A7_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:671
UnitSetState(auto1BA5B4A7_var, c_unitStateTargetable, false);
}
auto9A549C26_g = UnitGroup("DumpTruck", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto9A549C26_u = UnitGroupCount(auto9A549C26_g, c_unitCountAll);
for (;; auto9A549C26_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:678
UnitSetPropertyFixed(auto9A549C26_var, c_unitPropMovementSpeed, 0.0);
}
autoBB0D8226_g = UnitGroup("TankerTruck", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoBB0D8226_u = UnitGroupCount(autoBB0D8226_g, c_unitCountAll);
for (;; autoBB0D8226_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:685
UnitSetPropertyFixed(autoBB0D8226_var, c_unitPropMovementSpeed, 0.0);
}
autoDFBE53DC_g = UnitGroup("FlatbedTruck", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoDFBE53DC_u = UnitGroupCount(autoDFBE53DC_g, c_unitCountAll);
for (;; autoDFBE53DC_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:692
UnitSetPropertyFixed(autoDFBE53DC_var, c_unitPropMovementSpeed, 0.0);
}
autoBE4C0187_g = UnitGroup("WarpPrismPhasing", gv_pLAYER02_PROTOSS, RegionFromId(19), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoBE4C0187_u = UnitGroupCount(autoBE4C0187_g, c_unitCountAll);
for (;; autoBE4C0187_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:292
// Implementation
auto4EE00797_g = UnitGroup(lp_type, lp_player, lp_region, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto4EE00797_u = UnitGroupCount(auto4EE00797_g, c_unitCountAll);
for (;; auto4EE00797_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:354
// Implementation
gv_infestationRegion[lp_colonyIndex] = lp_area;
gv_infestationVirophageUnit[lp_colonyIndex] = UnitGroupRandomUnit(UnitGroup("Virophage", c_playerAny, lp_area, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive);
if ((gv_infestationVirophageUnit[lp_colonyIndex] == null)) {
gv_infestationVirophageSpot[lp_colonyIndex] = null;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:371
gv_infestationOverlords[lp_colonyIndex] = UnitGroupEmpty();
gv_infestationOverseers[lp_colonyIndex] = UnitGroupEmpty();
auto009D0608_g = UnitGroup(null, gv_p07_ZERG_INFESTED, lp_area, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto009D0608_u = UnitGroupCount(auto009D0608_g, c_unitCountAll);
for (;; auto009D0608_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:382
gv_infestationVirophageUnit[lp_colonyIndex] = null;
CreepModify(RegionGetCenter(lp_area), 10.0, false, false);
autoED4A8D80_g = UnitGroup(null, gv_p07_ZERG_INFESTED, lp_area, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoED4A8D80_u = UnitGroupCount(autoED4A8D80_g, c_unitCountAll);
for (;; autoED4A8D80_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:430
// Automatic Variable Declarations
// Implementation
if ((UnitGroupCount(UnitGroup(null, gv_p02_ZERG_EAST, RegionFromId(15), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroup(null, gv_p04_ZERG_NORTH, RegionFromId(31), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroup(null, gv_p08_ZERG_SOUTH, RegionFromId(32), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
return ;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:430
// Automatic Variable Declarations
// Implementation
if ((UnitGroupCount(UnitGroup(null, gv_p02_ZERG_EAST, RegionFromId(15), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroup(null, gv_p04_ZERG_NORTH, RegionFromId(31), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroup(null, gv_p08_ZERG_SOUTH, RegionFromId(32), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
return ;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:430
// Automatic Variable Declarations
// Implementation
if ((UnitGroupCount(UnitGroup(null, gv_p02_ZERG_EAST, RegionFromId(15), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroup(null, gv_p04_ZERG_NORTH, RegionFromId(31), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroup(null, gv_p08_ZERG_SOUTH, RegionFromId(32), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
return ;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:487
// Implementation
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Overlord", gv_p02_ZERG_EAST, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), lv_overlordPool);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Overlord", gv_p04_ZERG_NORTH, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), lv_overlordPool);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Overlord", gv_p08_ZERG_SOUTH, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), lv_overlordPool);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:488
// Implementation
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Overlord", gv_p02_ZERG_EAST, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), lv_overlordPool);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Overlord", gv_p04_ZERG_NORTH, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), lv_overlordPool);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Overlord", gv_p08_ZERG_SOUTH, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), lv_overlordPool);
auto115E2612_ae = gv_infestationOverlordCount[lp_colonyIndex];
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:489
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Overlord", gv_p02_ZERG_EAST, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), lv_overlordPool);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Overlord", gv_p04_ZERG_NORTH, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), lv_overlordPool);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Overlord", gv_p08_ZERG_SOUTH, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), lv_overlordPool);
auto115E2612_ae = gv_infestationOverlordCount[lp_colonyIndex];
lv_overlordIndex = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:740
libNtve_gf_PreloadUnit("TarsonisEngineFast", false);
gv_defilerSkeletonsNeeded = UnitGroupCount(UnitGroup("DefilerBoneSample", gv_pLAYER_07_DEFILERBONESAMPLE, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive);
TriggerExecute(gt_TrainPathInitialization, true, false);
TriggerExecute(gt_TrainInitialization, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:752
gv_tunnelOrder[8] = ge_PRESET_Tunnel_Middle;
gv_tunnelOrder[9] = ge_PRESET_Tunnel_Bottom;
auto582274C1_g = UnitGroup("Medic", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32))), 0);
auto582274C1_u = UnitGroupCount(auto582274C1_g, c_unitCountAll);
for (;; auto582274C1_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:759
UnitSetPropertyFixed(auto582274C1_var, c_unitPropEnergy, UnitGetPropertyFixed(auto582274C1_var, c_unitPropEnergyMax, c_unitPropNormal));
}
auto847F12A2_g = UnitGroup("Diamondback", gv_pLAYER_05_ABANDONEDVEHICLES, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto847F12A2_u = UnitGroupCount(auto847F12A2_g, c_unitCountAll);
for (;; auto847F12A2_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:766
gv_totalDiamondbacks += 1;
}
auto33545EAB_g = UnitGroup("Diamondback", gv_pLAYER_05_ABANDONEDVEHICLES, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto33545EAB_u = UnitGroupCount(auto33545EAB_g, c_unitCountAll);
for (;; auto33545EAB_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:773
libNtve_gf_TurnAnimationPropertiesOn(libNtve_gf_MainActorofUnit(auto33545EAB_var), "Morph");
}
autoC99230F0_g = UnitGroup("AutoTurret", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoC99230F0_u = UnitGroupCount(autoC99230F0_g, c_unitCountAll);
for (;; autoC99230F0_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:780
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);
auto79C99746_u = UnitGroupCount(auto79C99746_g, c_unitCountAll);
for (;; auto79C99746_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:944
}
auto4E88CFC0_g = UnitGroup("DefilerBoneSample", gv_pLAYER_07_DEFILERBONESAMPLE, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto4E88CFC0_u = UnitGroupCount(auto4E88CFC0_g, c_unitCountAll);
for (;; auto4E88CFC0_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2133
}
auto005D2B42_g = UnitGroup(null, gv_pLAYER_06_TRAIN, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto005D2B42_u = UnitGroupCount(auto005D2B42_g, c_unitCountAll);
for (;; auto005D2B42_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2846
autoF18F5B4B_val = gv_trainStations[lv_i].lv_state;
if (autoF18F5B4B_val == ge_PRESET_TrainStationState_Inactive) {
if (((UnitGroupCount(UnitGroup("TarsonisEngine", gv_pLAYER_06_TRAIN, RegionCircle(gv_trainStations[lv_i].lv_position, 11.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup("TarsonisEngineFast", gv_pLAYER_06_TRAIN, RegionCircle(gv_trainStations[lv_i].lv_position, 11.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup("FreightCar", gv_pLAYER_06_TRAIN, RegionCircle(gv_trainStations[lv_i].lv_position, 11.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup("Caboose", gv_pLAYER_06_TRAIN, RegionCircle(gv_trainStations[lv_i].lv_position, 11.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
gv_currentTrainStationGlobal = lv_i;
TriggerExecute(gt_ActivateStation, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2846
autoF18F5B4B_val = gv_trainStations[lv_i].lv_state;
if (autoF18F5B4B_val == ge_PRESET_TrainStationState_Inactive) {
if (((UnitGroupCount(UnitGroup("TarsonisEngine", gv_pLAYER_06_TRAIN, RegionCircle(gv_trainStations[lv_i].lv_position, 11.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup("TarsonisEngineFast", gv_pLAYER_06_TRAIN, RegionCircle(gv_trainStations[lv_i].lv_position, 11.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup("FreightCar", gv_pLAYER_06_TRAIN, RegionCircle(gv_trainStations[lv_i].lv_position, 11.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup("Caboose", gv_pLAYER_06_TRAIN, RegionCircle(gv_trainStations[lv_i].lv_position, 11.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
gv_currentTrainStationGlobal = lv_i;
TriggerExecute(gt_ActivateStation, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:277
// Implementation
auto8FFA0729_g = UnitGroup(null, lp_player, RegionCircle(lp_scrapPosition, lp_distance), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto8FFA0729_u = UnitGroupCount(auto8FFA0729_g, c_unitCountAll);
for (;; auto8FFA0729_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:335
// Implementation
Wait(0.2, c_timeGame);
if ((UnitGroupCount(UnitGroup(lp_salvageType, gv_p05_SCRAP, lp_salvageRegion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(lp_salvageRegion));
lv_elevatorBlocker = UnitLastCreated();
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:568
libNtve_gf_AddUnitGroupToUnitGroup(UnitCargoLastCreatedGroup(), gv_playerSCVs);
UnitCargoCreate(UnitFromId(1056), "Marine", 5);
auto4801D79A_g = UnitGroup("Bunker", gv_p02_ORLAN_ENEMY, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto4801D79A_u = UnitGroupCount(auto4801D79A_g, c_unitCountAll);
for (;; auto4801D79A_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:575
UnitCargoCreate(auto4801D79A_var, "Marine", 4);
}
auto8FA23EE3_g = UnitGroup("Bunker", gv_p03_MIRA_HAN, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto8FA23EE3_u = UnitGroupCount(auto8FA23EE3_g, c_unitCountAll);
for (;; auto8FA23EE3_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:582
UnitCargoCreate(auto8FA23EE3_var, "WarPig", 4);
}
auto721FDF2B_g = UnitGroup("AutoTurret", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto721FDF2B_u = UnitGroupCount(auto721FDF2B_g, c_unitCountAll);
for (;; auto721FDF2B_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:589
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);
auto2A22AC2E_u = UnitGroupCount(auto2A22AC2E_g, c_unitCountAll);
for (;; auto2A22AC2E_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:612
libNtve_gf_CreateUnitsWithDefaultFacing(1, "ElevatorBlocker", c_unitCreateIgnorePlacement, 0, RegionGetCenter(RegionFromId(19)));
gv_initialElevatorBlockers[8] = UnitLastCreated();
autoD10EC4F1_g = UnitGroup("Raven", gv_p02_ORLAN_ENEMY, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoD10EC4F1_u = UnitGroupCount(autoD10EC4F1_g, c_unitCountAll);
for (;; autoD10EC4F1_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:619
AISetUnitScriptControlled(autoD10EC4F1_var, true);
}
autoA8826E3A_g = UnitGroup("ProtossRelic", gv_p09_PROTOSS_RELICS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoA8826E3A_u = UnitGroupCount(autoA8826E3A_g, c_unitCountAll);
for (;; autoA8826E3A_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:642
UnitSetInfoText(UnitFromId(893), StringExternal("Param/Value/31A856E3"), StringExternal("Param/Value/8E76FFC9"), StringToText(""));
}
autoB091E22D_g = UnitGroup(null, gv_p05_SCRAP, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoB091E22D_u = UnitGroupCount(autoB091E22D_g, c_unitCountAll);
for (;; autoB091E22D_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:660
}
}
auto020B1BA4_g = UnitGroup("MineralCrystal", gv_p05_SCRAP, RegionFromId(51), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto020B1BA4_u = UnitGroupCount(auto020B1BA4_g, c_unitCountAll);
for (;; auto020B1BA4_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:85
void InitGlobals () {
gv_raynorsRaidingForce = UnitGroup(null, gv_p01_USER, RegionFromId(8), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
gv_dominionEnemyGroup = PlayerGroupEmpty();
gv_warehouse1Bullies = UnitGroup(null, gv_p03_DOMINION_WAREHOUSE, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:87
gv_raynorsRaidingForce = UnitGroup(null, gv_p01_USER, RegionFromId(8), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
gv_dominionEnemyGroup = PlayerGroupEmpty();
gv_warehouse1Bullies = UnitGroup(null, gv_p03_DOMINION_WAREHOUSE, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
gv_warehouseDominion = UnitGroup(null, gv_p03_DOMINION_WAREHOUSE, RegionFromId(1), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
gv_barrageIncrement = 1;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:88
gv_dominionEnemyGroup = PlayerGroupEmpty();
gv_warehouse1Bullies = UnitGroup(null, gv_p03_DOMINION_WAREHOUSE, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
gv_warehouseDominion = UnitGroup(null, gv_p03_DOMINION_WAREHOUSE, RegionFromId(1), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
gv_barrageIncrement = 1;
gv_yamatoTransmission = c_invalidTransmissionId;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:275
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
if ((lp_p == gv_p05_DOMINION_FACTORY)) {
AIAttackWaveAddWaypoint(lp_p, PointFromId(211), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:275
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
if ((lp_p == gv_p05_DOMINION_FACTORY)) {
AIAttackWaveAddWaypoint(lp_p, PointFromId(211), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:275
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
if ((lp_p == gv_p05_DOMINION_FACTORY)) {
AIAttackWaveAddWaypoint(lp_p, PointFromId(211), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:275
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
if ((lp_p == gv_p05_DOMINION_FACTORY)) {
AIAttackWaveAddWaypoint(lp_p, PointFromId(211), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:275
// Automatic Variable Declarations
// Implementation
if (((UnitGroupCount(UnitGroup("CommandCenter", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("CommandCenterFlying", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommand", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("OrbitalCommandFlying", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1) || (UnitGroupCount(UnitGroup("PlanetaryFortress", gv_p01_USER, RegionFromId(31), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
if ((lp_p == gv_p05_DOMINION_FACTORY)) {
AIAttackWaveAddWaypoint(lp_p, PointFromId(211), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:430
}
autoD9E2A2C7_g = UnitGroup("DevourerTissueSampleTube", c_playerAny, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoD9E2A2C7_u = UnitGroupCount(autoD9E2A2C7_g, c_unitCountAll);
for (;; autoD9E2A2C7_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:469
libNtve_gf_MakeUnitInvulnerable(UnitFromId(341), true);
libNtve_gf_MakeUnitInvulnerable(UnitFromId(935), true);
autoA9B56296_g = UnitGroup("Medic", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoA9B56296_u = UnitGroupCount(autoA9B56296_g, c_unitCountAll);
for (;; autoA9B56296_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:470
// Implementation
lv_numberOfPlayerUnitsByCOP = UnitGroupCount(UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(lp_unit), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0), c_unitCountAlive);
lv_realInterval = 1.0;
lv_realCurrent = (lv_realInterval * IntToFixed(gv_transmissionProgress[lp_index]));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:503
lv_realCurrent = (lv_realCurrent + lv_realInterval);
lv_text2 = FixedToText(lv_realCurrent, 0);
lv_numberOfPlayerUnitsByCOP = UnitGroupCount(UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(lp_unit), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive);
if ((lv_numberOfPlayerUnitsByCOP == 0)) {
gv_transmissionProgress[lp_index] = (gv_transmissionProgress[lp_index] + lv_count);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:801
libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupDominionThor, gv_p01_USER);
TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("OdinNuclearStrike", 0), false);
autoCA6DCF8D_g = UnitGroup("AutoTurret", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoCA6DCF8D_u = UnitGroupCount(autoCA6DCF8D_g, c_unitCountAll);
for (;; autoCA6DCF8D_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:916
gv_statueBullhorns[5] = UnitFromId(217);
gv_statueBullhorns[6] = UnitFromId(215);
autoF69A218C_g = UnitGroup("Beacon_Terran", 0, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
autoF69A218C_u = UnitGroupCount(autoF69A218C_g, c_unitCountAll);
for (;; autoF69A218C_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:931
gf_CreatePassiveUnitsInBunker(2, "Marine", UnitFromId(579));
gf_CreatePassiveUnitsInBunker(1, "Marauder", UnitFromId(579));
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("MengskStatue", 0, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_statues);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("MengskStatueAlone", 0, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_statues);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("WolfStatue", 0, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_statues);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:932
gf_CreatePassiveUnitsInBunker(1, "Marauder", UnitFromId(579));
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("MengskStatue", 0, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_statues);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("MengskStatueAlone", 0, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_statues);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("WolfStatue", 0, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_statues);
auto6464AF62_g = gv_statues;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:933
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("MengskStatue", 0, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_statues);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("MengskStatueAlone", 0, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_statues);
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("WolfStatue", 0, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_statues);
auto6464AF62_g = gv_statues;
auto6464AF62_u = UnitGroupCount(auto6464AF62_g, c_unitCountAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:943
UnitIssueOrder(UnitFromId(963), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
UnitSetTeamColorIndex(UnitFromId(1081), 1);
auto604BE6FC_g = UnitGroup("LogisticsHeadquarters", gv_p08_DOMINION, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto604BE6FC_u = UnitGroupCount(auto604BE6FC_g, c_unitCountAll);
for (;; auto604BE6FC_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:954
UnitSetState(auto604BE6FC_var, c_unitStateSelectable, false);
}
autoB1D9B05D_g = UnitGroup(null, gv_p02_DOMINION_INFANTRY, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
autoB1D9B05D_u = UnitGroupCount(autoB1D9B05D_g, c_unitCountAll);
for (;; autoB1D9B05D_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:961
UnitBehaviorAdd(autoB1D9B05D_var, "Passive", autoB1D9B05D_var, 1);
}
auto0FE472A7_g = UnitGroup(null, gv_p02_DOMINION_INFANTRY, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto0FE472A7_u = UnitGroupCount(auto0FE472A7_g, c_unitCountAll);
for (;; auto0FE472A7_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:335
gv_buttonComputer06BrutaliskRelease = c_invalidDialogId;
gv_buttonComputer06SecurityCam = c_invalidDialogId;
gv_tankBayEnemyGroup = UnitGroup(null, gv_p02_DOMINION, RegionFromId(13), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
gv_pingHercules = c_invalidPingId;
gv_escapeComputerActive = true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:811
if ((libNtve_gf_DifficultyValueInt(1, 0, 0, 0) == 1)) {
autoC18DB74C_g = UnitGroup("Beacon_Terran", gv_p07_NEUTRAL, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoC18DB74C_u = UnitGroupCount(autoC18DB74C_g, c_unitCountAll);
for (;; autoC18DB74C_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:820
}
autoFC03208E_g = UnitGroup("Beacon_Terran", gv_p07_NEUTRAL, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoFC03208E_u = UnitGroupCount(autoFC03208E_g, c_unitCountAll);
for (;; autoFC03208E_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:843
UnitAbilityEnable(gv_turret05, "SentryGunBurrow", false);
UnitAbilityEnable(gv_turret06, "SentryGunBurrow", false);
auto7239A252_g = UnitGroup("Firebat", gv_p02_DOMINION, RegionFromId(157), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto7239A252_u = UnitGroupCount(auto7239A252_g, c_unitCountAll);
for (;; auto7239A252_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:850
UnitGroupAdd(gv_enemyGroupTurretArea, auto7239A252_var);
}
auto4DD7B44B_g = UnitGroup("Marine", gv_p02_DOMINION, RegionFromId(157), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto4DD7B44B_u = UnitGroupCount(auto4DD7B44B_g, c_unitCountAll);
for (;; auto4DD7B44B_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:866
UnitAbilityEnable(UnitFromId(532), "SentryGunBurrow", false);
UnitSetPropertyFixed(UnitFromId(459), c_unitPropLifeMax, libNtve_gf_DifficultyValueFixed(400.0, 400.0, 500.0, 600.0));
auto8CE2489D_g = UnitGroup("SiegeTank", c_playerAny, RegionFromId(95), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto8CE2489D_u = UnitGroupCount(auto8CE2489D_g, c_unitCountAll);
for (;; auto8CE2489D_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:873
UnitGroupAdd(gv_tanks, auto8CE2489D_var);
}
auto52F81063_g = UnitGroup("SiegeTankSieged", c_playerAny, RegionFromId(95), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto52F81063_u = UnitGroupCount(auto52F81063_g, c_unitCountAll);
for (;; auto52F81063_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:880
UnitGroupAdd(gv_tanks, auto52F81063_var);
}
autoDC6AB5E6_g = UnitGroup("VikingAssault", c_playerAny, RegionFromId(95), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoDC6AB5E6_u = UnitGroupCount(autoDC6AB5E6_g, c_unitCountAll);
for (;; autoDC6AB5E6_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:924
UnitSetState(UnitFromId(954), c_unitStateTargetable, false);
UnitSetState(UnitFromId(954), c_unitStateSelectable, false);
auto71589922_g = UnitGroup("ExplodingBarrelLarge", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto71589922_u = UnitGroupCount(auto71589922_g, c_unitCountAll);
for (;; auto71589922_u -= 1) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:931
UnitSetPropertyFixed(auto71589922_var, c_unitPropLifeMax, 5.0);
}
auto0B5DED9A_g = UnitGroup("PygaliskCocoon", gv_p05_ZERG_LAB_SPECIMENS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto0B5DED9A_u = UnitGroupCount(auto0B5DED9A_g, c_unitCountAll);
for (;; auto0B5DED9A_u -= 1) {