# Remove Unit Group From Unit Group
Grammar — Remove all units in sourceUnitGroup from targetUnitGroup
Flags —Native
|Action
Removes all the units in the source unit group from the target unit group.
# Arguments
unitgroup
— Target Unit Groupunitgroup
— Source Unit Group
Returns — void
native void UnitGroupRemoveUnitGroup(
unitgroup inGroup,
unitgroup inRemoveGroup,
);
# Related
Category: Unit Group / Groups
- Add Unit To Unit Group —
void
— UnitGroupAdd - Add Unit Group To Unit Group Old —
void
— libNtve_gf_AddUnitGroupToUnitGroup - Add Unit Group To Unit Group —
void
— UnitGroupAddUnitGroup - Unit Object Group Call For Help —
void
— UnitObjectGroupCallForHelp - Remove Unit From Unit Group —
void
— UnitGroupRemove - Remove Unit Group From Unit Group Old —
void
— libNtve_gf_RemoveUnitGroupFromUnitGroup - Remove Unit Group From Unit Group —
void
— UnitGroupRemoveUnitGroup - Remove All Units From Unit Group —
void
— UnitGroupClear - Pause All Units In Unit Group —
void
— UnitGroupPauseAll - Create Unit Object Group From Unit Group —
int
— UnitObjectGroupFromUnitGroup - Number Of Units In Unit Group —
int
— UnitGroupCount - Unit In Unit Group —
bool
— UnitGroupHasUnit - Unit From Unit Group —
unit
— UnitGroupUnit - Random Unit From Unit Group —
unit
— UnitGroupRandomUnit - Copy Of Unit Group —
unitgroup
— UnitGroupCopy - Closest Unit To Point Old —
unit
— libNtve_gf_ClosestUnitToPoint - Closest Unit To Point —
unit
— UnitGroupClosestToPoint - Center Of Unit Group Old —
point
— libNtve_gf_CenterOfUnitGroup - Center Of Unit Group —
point
— UnitGroupCenterOfGroup
# Examples
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map/MapScript.galaxy:3129
Wait(0.5, c_timeGame);
lv_larvaGroup2 = UnitGroup("Larva", gv_pLAYER_01_USER, RegionFromId(21), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupRemoveUnitGroup(lv_larvaGroup2, lv_larvaGroup1);
libNtve_gf_RescueUnit2(lv_larvaGroup2, gv_pLAYER_01_USER, true);
gv_introSwarmlingLarvaAdded2 = true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:639
lv_startingUnit = UnitGroupUnit(lv_armyLeftGroup, 1);
lv_currentCluster = gf_ArmyClusterFromUnit(lv_armyLeftGroup, lv_startingUnit);
UnitGroupRemoveUnitGroup(lv_armyLeftGroup, lv_currentCluster);
lv_size = UnitGroupCount(lv_currentCluster, c_unitCountAlive);
if ((lv_size > lv_maxSize)) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar03.sc2map/MapScript.galaxy:685
UnitGroupAddUnitGroup(lv_clusterGroup, lv_tempGroup);
UnitGroupAddUnitGroup(lv_newNewGroup, lv_tempGroup);
UnitGroupRemoveUnitGroup(lv_armyLeftGroup, lv_tempGroup);
}
lv_newGroup = lv_newNewGroup;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:4135
lv_target_Left = UnitGroupClosestToPoint(lv_dominions_Left, PointFromId(1239));
lv_dominions_Right = lv_dominions;
UnitGroupRemoveUnitGroup(lv_dominions_Right, lv_dominions_Left);
lv_target_Right = UnitGroupClosestToPoint(lv_dominions_Right, PointFromId(1239));
if ((lv_target_Left == null)) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:1080
else {
UnitGroupRemove(lv_candidates, gv_kerrigan);
UnitGroupRemoveUnitGroup(lv_candidates, gf_EnemiesWithinRange(lp_hybrid, 2.0, UnitFilter((1 << c_targetFilterVisible), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)))));
lv_victim = UnitGroupRandomUnit(lv_candidates, c_unitCountAlive);
autoE641802C_g = lv_candidates;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:6153
gv_cinematicTempUnits = UnitGroupEmpty();
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_cinematicHiddenUnits);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, UnitGroup(null, c_playerAny, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, UnitGroup(null, c_playerAny, RegionFromId(34), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
auto4E927F9A_g = gv_cinematicHiddenUnits;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:6154
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_cinematicHiddenUnits);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, UnitGroup(null, c_playerAny, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, UnitGroup(null, c_playerAny, RegionFromId(34), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
auto4E927F9A_g = gv_cinematicHiddenUnits;
auto4E927F9A_u = UnitGroupCount(auto4E927F9A_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8048
}
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumor", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorQueen", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8049
}
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumor", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorQueen", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorKillers);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8050
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumor", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorQueen", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorKillers);
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorPatrollers);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8051
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorQueen", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorKillers);
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorPatrollers);
auto0F8A0428_g = gv_cinematicPausedUnits;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8052
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorQueen", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorKillers);
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorPatrollers);
auto0F8A0428_g = gv_cinematicPausedUnits;
auto0F8A0428_u = UnitGroupCount(auto0F8A0428_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8062
gv_cinematicHiddenUnits = UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupRemove(gv_cinematicHiddenUnits, gv__1PrisonDeckCoupling);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, gv__1ElevatorKillers);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, gv__1ElevatorPatrollers);
auto0D65D5F2_g = gv_cinematicHiddenUnits;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8063
UnitGroupRemove(gv_cinematicHiddenUnits, gv__1PrisonDeckCoupling);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, gv__1ElevatorKillers);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, gv__1ElevatorPatrollers);
auto0D65D5F2_g = gv_cinematicHiddenUnits;
auto0D65D5F2_u = UnitGroupCount(auto0D65D5F2_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8357
UnitGroupAdd(gv_cinematicHiddenUnits, gv_kerrigan);
UnitGroupRemove(gv_cinematicHiddenUnits, UnitFromId(769));
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, gv__2AfterBridgeDominion);
autoEAC74F24_g = gv_cinematicHiddenUnits;
autoEAC74F24_u = UnitGroupCount(autoEAC74F24_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8591
lv_stage1Units = UnitGroup(null, c_playerAny, RegionFromId(24), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupRemove(lv_stage1Units, gv_kerrigan);
UnitGroupRemoveUnitGroup(lv_stage1Units, UnitGroupFilterPlayer(lv_stage1Units, gv_p01_USER, 0));
autoF7D33005_g = lv_stage1Units;
autoF7D33005_u = UnitGroupCount(autoF7D33005_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace02.sc2map/MapScript.galaxy:8600
}
lv_stage1Units = UnitGroup(null, c_playerAny, RegionFromId(11), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupRemoveUnitGroup(lv_stage1Units, UnitGroup(null, c_playerAny, RegionFromId(14), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
auto08B832EF_g = lv_stage1Units;
auto08B832EF_u = UnitGroupCount(auto08B832EF_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map — MapScript.galaxy:3129
Wait(0.5, c_timeGame);
lv_larvaGroup2 = UnitGroup("Larva", gv_pLAYER_01_USER, RegionFromId(21), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupRemoveUnitGroup(lv_larvaGroup2, lv_larvaGroup1);
libNtve_gf_RescueUnit2(lv_larvaGroup2, gv_pLAYER_01_USER, true);
gv_introSwarmlingLarvaAdded2 = true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:639
lv_startingUnit = UnitGroupUnit(lv_armyLeftGroup, 1);
lv_currentCluster = gf_ArmyClusterFromUnit(lv_armyLeftGroup, lv_startingUnit);
UnitGroupRemoveUnitGroup(lv_armyLeftGroup, lv_currentCluster);
lv_size = UnitGroupCount(lv_currentCluster, c_unitCountAlive);
if ((lv_size > lv_maxSize)) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar03.sc2map — MapScript.galaxy:685
UnitGroupAddUnitGroup(lv_clusterGroup, lv_tempGroup);
UnitGroupAddUnitGroup(lv_newNewGroup, lv_tempGroup);
UnitGroupRemoveUnitGroup(lv_armyLeftGroup, lv_tempGroup);
}
lv_newGroup = lv_newNewGroup;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map — MapScript.galaxy:4135
lv_target_Left = UnitGroupClosestToPoint(lv_dominions_Left, PointFromId(1239));
lv_dominions_Right = lv_dominions;
UnitGroupRemoveUnitGroup(lv_dominions_Right, lv_dominions_Left);
lv_target_Right = UnitGroupClosestToPoint(lv_dominions_Right, PointFromId(1239));
if ((lv_target_Left == null)) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map — MapScript.galaxy:1080
else {
UnitGroupRemove(lv_candidates, gv_kerrigan);
UnitGroupRemoveUnitGroup(lv_candidates, gf_EnemiesWithinRange(lp_hybrid, 2.0, UnitFilter((1 << c_targetFilterVisible), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)))));
lv_victim = UnitGroupRandomUnit(lv_candidates, c_unitCountAlive);
autoE641802C_g = lv_candidates;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:6153
gv_cinematicTempUnits = UnitGroupEmpty();
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_cinematicHiddenUnits);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, UnitGroup(null, c_playerAny, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, UnitGroup(null, c_playerAny, RegionFromId(34), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
auto4E927F9A_g = gv_cinematicHiddenUnits;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:6154
libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_cinematicHiddenUnits);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, UnitGroup(null, c_playerAny, RegionFromId(7), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, UnitGroup(null, c_playerAny, RegionFromId(34), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
auto4E927F9A_g = gv_cinematicHiddenUnits;
auto4E927F9A_u = UnitGroupCount(auto4E927F9A_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:8048
}
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumor", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorQueen", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:8049
}
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumor", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorQueen", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorKillers);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:8050
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumor", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorQueen", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorKillers);
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorPatrollers);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:8051
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorBurrowed", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorQueen", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorKillers);
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorPatrollers);
auto0F8A0428_g = gv_cinematicPausedUnits;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:8052
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, UnitGroup("CreepTumorQueen", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorKillers);
UnitGroupRemoveUnitGroup(gv_cinematicPausedUnits, gv__1ElevatorPatrollers);
auto0F8A0428_g = gv_cinematicPausedUnits;
auto0F8A0428_u = UnitGroupCount(auto0F8A0428_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:8062
gv_cinematicHiddenUnits = UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupRemove(gv_cinematicHiddenUnits, gv__1PrisonDeckCoupling);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, gv__1ElevatorKillers);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, gv__1ElevatorPatrollers);
auto0D65D5F2_g = gv_cinematicHiddenUnits;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:8063
UnitGroupRemove(gv_cinematicHiddenUnits, gv__1PrisonDeckCoupling);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, gv__1ElevatorKillers);
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, gv__1ElevatorPatrollers);
auto0D65D5F2_g = gv_cinematicHiddenUnits;
auto0D65D5F2_u = UnitGroupCount(auto0D65D5F2_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:8357
UnitGroupAdd(gv_cinematicHiddenUnits, gv_kerrigan);
UnitGroupRemove(gv_cinematicHiddenUnits, UnitFromId(769));
UnitGroupRemoveUnitGroup(gv_cinematicHiddenUnits, gv__2AfterBridgeDominion);
autoEAC74F24_g = gv_cinematicHiddenUnits;
autoEAC74F24_u = UnitGroupCount(autoEAC74F24_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:8591
lv_stage1Units = UnitGroup(null, c_playerAny, RegionFromId(24), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupRemove(lv_stage1Units, gv_kerrigan);
UnitGroupRemoveUnitGroup(lv_stage1Units, UnitGroupFilterPlayer(lv_stage1Units, gv_p01_USER, 0));
autoF7D33005_g = lv_stage1Units;
autoF7D33005_u = UnitGroupCount(autoF7D33005_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace02.sc2map — MapScript.galaxy:8600
}
lv_stage1Units = UnitGroup(null, c_playerAny, RegionFromId(11), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupRemoveUnitGroup(lv_stage1Units, UnitGroup(null, c_playerAny, RegionFromId(14), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
auto08B832EF_g = lv_stage1Units;
auto08B832EF_u = UnitGroupCount(auto08B832EF_g, c_unitCountAll);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar03.sc2map/MapScript.galaxy:811
if ((UnitAbilityCheck(lp_kerrigan, "PsionicLift", true) == true) && (UnitCheckAbilCmdState(lp_kerrigan, AbilityCommand("PsionicLift", 0), c_cmdStateCooldown) == false) && (UnitGroupCount(lv_enemyGroup10, c_unitCountAlive) >= 5)) {
UnitGroupRemoveUnitGroup(lv_enemyGroup10, UnitGroupFilter(null, c_playerAny, lv_enemyGroup10, UnitFilter((1 << c_targetFilterHeroic), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
lv_victim = UnitGroupRandomUnit(lv_enemyGroup10, c_unitCountAlive);
auto66E93CE5_g = lv_enemyGroup10;
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:4941
if ((UnitGroupCount(lv_candidates, c_unitCountAlive) > 0)) {
if ((UnitAbilityCheck(gv_stukov, "StukovInfestedTerrans", true) == true) && (UnitCheckAbilCmdState(gv_stukov, AbilityCommand("StukovInfestedTerrans", 0), c_cmdStateCooldown) == false) && (UnitGroupCount(lv_candidates, c_unitCountAlive) >= 1)) {
UnitGroupRemoveUnitGroup(lv_candidates, gf_EnemiesWithinStukovRange(gv_stukov, 2.0, UnitFilter((1 << c_targetFilterVisible), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)))));
if ((UnitGroupCount(lv_candidates, c_unitCountAlive) >= 1)) {
lv_victim = UnitGroupRandomUnit(lv_candidates, c_unitCountAlive);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map/MapScript.galaxy:5161
if ((UnitGroupCount(lv_candidates, c_unitCountAlive) > 0)) {
if ((UnitAbilityCheck(gv_kerrigan, "PsionicLift", true) == true) && (UnitCheckAbilCmdState(gv_kerrigan, AbilityCommand("PsionicLift", 0), c_cmdStateCooldown) == false) && (UnitGroupCount(lv_candidates, c_unitCountAlive) >= 5)) {
UnitGroupRemoveUnitGroup(lv_candidates, gf_EnemiesWithinKerriganRange(gv_kerrigan, 2.0, UnitFilter((1 << c_targetFilterVisible), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)))));
if ((UnitGroupCount(lv_candidates, c_unitCountAlive) >= 1)) {
lv_victim = UnitGroupRandomUnit(lv_candidates, c_unitCountAlive);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar03.sc2map — MapScript.galaxy:811
if ((UnitAbilityCheck(lp_kerrigan, "PsionicLift", true) == true) && (UnitCheckAbilCmdState(lp_kerrigan, AbilityCommand("PsionicLift", 0), c_cmdStateCooldown) == false) && (UnitGroupCount(lv_enemyGroup10, c_unitCountAlive) >= 5)) {
UnitGroupRemoveUnitGroup(lv_enemyGroup10, UnitGroupFilter(null, c_playerAny, lv_enemyGroup10, UnitFilter((1 << c_targetFilterHeroic), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
lv_victim = UnitGroupRandomUnit(lv_enemyGroup10, c_unitCountAlive);
auto66E93CE5_g = lv_enemyGroup10;
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:4941
if ((UnitGroupCount(lv_candidates, c_unitCountAlive) > 0)) {
if ((UnitAbilityCheck(gv_stukov, "StukovInfestedTerrans", true) == true) && (UnitCheckAbilCmdState(gv_stukov, AbilityCommand("StukovInfestedTerrans", 0), c_cmdStateCooldown) == false) && (UnitGroupCount(lv_candidates, c_unitCountAlive) >= 1)) {
UnitGroupRemoveUnitGroup(lv_candidates, gf_EnemiesWithinStukovRange(gv_stukov, 2.0, UnitFilter((1 << c_targetFilterVisible), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)))));
if ((UnitGroupCount(lv_candidates, c_unitCountAlive) >= 1)) {
lv_victim = UnitGroupRandomUnit(lv_candidates, c_unitCountAlive);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue01.sc2map — MapScript.galaxy:5161
if ((UnitGroupCount(lv_candidates, c_unitCountAlive) > 0)) {
if ((UnitAbilityCheck(gv_kerrigan, "PsionicLift", true) == true) && (UnitCheckAbilCmdState(gv_kerrigan, AbilityCommand("PsionicLift", 0), c_cmdStateCooldown) == false) && (UnitGroupCount(lv_candidates, c_unitCountAlive) >= 5)) {
UnitGroupRemoveUnitGroup(lv_candidates, gf_EnemiesWithinKerriganRange(gv_kerrigan, 2.0, UnitFilter((1 << c_targetFilterVisible), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)))));
if ((UnitGroupCount(lv_candidates, c_unitCountAlive) >= 1)) {
lv_victim = UnitGroupRandomUnit(lv_candidates, c_unitCountAlive);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:131
lv_enemyGroup7 = libVCMI_gf_AITacticalEnemiesWithinRange(lp_darkArchon, 7.0, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterHeroic) | (1 << c_targetFilterMissile) | (1 << c_targetFilterUncommandable), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))));
UnitGroupRemoveUnitGroup(lv_enemyGroup7, libVCMI_gf_AITacticalEnemiesWithinRange(lp_darkArchon, 1.5, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterHeroic) | (1 << c_targetFilterMissile) | (1 << c_targetFilterUncommandable), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32)))));
if ((UnitGroupCount(lv_enemyGroup7, c_unitCountAlive) > 0) && (UnitGetPropertyFixed(lp_darkArchon, c_unitPropEnergy, c_unitPropCurrent) >= libNtve_gf_CostOfAbility("DarkArchonConfusion", "Energy")) && (UnitAbilityCheck(lp_darkArchon, "DarkArchonConfusion", true) == true) && (UnitCheckAbilCmdState(lp_darkArchon, AbilityCommand("DarkArchonConfusion", 0), c_cmdStateCooldown) == false)) {
autoC5AF83C6_g = lv_enemyGroup7;
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:4692
lv_nearbyGroup = UnitGroup("RegenGlobe", libCore_gv_cOMPUTER_TeamOrder, RegionCircle(UnitGetPosition(gv_heroPlayer), 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupAddUnitGroup(lv_farGroup, gv_regenGlobes);
UnitGroupRemoveUnitGroup(lv_farGroup, lv_nearbyGroup);
UnitGroupRemoveUnitGroup(lv_nearbyGroup, gv_regenGlobes);
if ((libNtve_gf_UnitGroupIsDead(lv_nearbyGroup) == false)) {
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:4693
UnitGroupAddUnitGroup(lv_farGroup, gv_regenGlobes);
UnitGroupRemoveUnitGroup(lv_farGroup, lv_nearbyGroup);
UnitGroupRemoveUnitGroup(lv_nearbyGroup, gv_regenGlobes);
if ((libNtve_gf_UnitGroupIsDead(lv_nearbyGroup) == false)) {
UnitGroupAddUnitGroup(gv_regenGlobes, lv_nearbyGroup);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:4588
lv_group = UnitGroup("RegenGlobe", libCore_gv_cOMPUTER_TeamOrder, RegionCircle(UnitGetPosition(libStEx_gv_hERO_PlayerUnit), 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupRemoveUnitGroup(lv_group, gv__1D_AOERegenGlobes);
if ((libNtve_gf_UnitGroupIsDead(lv_group) == false)) {
TriggerEnable(gt__1D_AOERegenGlobePickedUp, true);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:4692
lv_nearbyGroup = UnitGroup("RegenGlobe", libCore_gv_cOMPUTER_TeamOrder, RegionCircle(UnitGetPosition(gv_heroPlayer), 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupAddUnitGroup(lv_farGroup, gv_regenGlobes);
UnitGroupRemoveUnitGroup(lv_farGroup, lv_nearbyGroup);
UnitGroupRemoveUnitGroup(lv_nearbyGroup, gv_regenGlobes);
if ((libNtve_gf_UnitGroupIsDead(lv_nearbyGroup) == false)) {
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:4693
UnitGroupAddUnitGroup(lv_farGroup, gv_regenGlobes);
UnitGroupRemoveUnitGroup(lv_farGroup, lv_nearbyGroup);
UnitGroupRemoveUnitGroup(lv_nearbyGroup, gv_regenGlobes);
if ((libNtve_gf_UnitGroupIsDead(lv_nearbyGroup) == false)) {
UnitGroupAddUnitGroup(gv_regenGlobes, lv_nearbyGroup);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:4588
lv_group = UnitGroup("RegenGlobe", libCore_gv_cOMPUTER_TeamOrder, RegionCircle(UnitGetPosition(libStEx_gv_hERO_PlayerUnit), 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupRemoveUnitGroup(lv_group, gv__1D_AOERegenGlobes);
if ((libNtve_gf_UnitGroupIsDead(lv_group) == false)) {
TriggerEnable(gt__1D_AOERegenGlobePickedUp, true);
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:6382
if ((libNtve_gf_UnitIsVisibleToPlayer(UnitGroupUnit(libPEB1_gv_marineEvent2Marines, 1), libCore_gv_cOMPUTER_TeamOrder) == true)) {
lv_playerUnits = UnitGroupAlliance(libCore_gv_cOMPUTER_TeamOrder, c_unitAllianceAlly, RegionCircle(UnitGetPosition(UnitGroupUnit(libPEB1_gv_marineEvent2Marines, 1)), 15.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
UnitGroupRemoveUnitGroup(lv_playerUnits, libPEB1_gv_marineEvent2Marines);
if ((UnitGroupCount(lv_playerUnits, c_unitCountAlive) > 0)) {
lv_visionGained = true;
mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:894
lv_group = UnitGroup(null, lp_player, libGame_gv_townTownData[lp_town].lv_townRegion, UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterNoMinionAggro) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0);
if ((lp_player == libCore_gv_cOMPUTER_TeamOrder)) {
UnitGroupRemoveUnitGroup(lv_group, libMLBD_gv_mMBOEOrderMiddleStructures);
}
mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:898
if ((lp_player == libCore_gv_cOMPUTER_TeamChaos)) {
UnitGroupRemoveUnitGroup(lv_group, libMLBD_gv_mMBOEChaosMiddleStructures);
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:851
libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingAlert", UnitGroupCenterOfGroup(lp_waveUnitGroup), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 0.0, 270.0);
SoundPlayForPlayer(SoundLink("Ping", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
UnitGroupRemoveUnitGroup(lp_waveUnitGroup, UnitGroupFilter("Medic", c_playerAny, lp_waveUnitGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
lv_ping = PingLastCreated();
PingSetScale(lv_ping, 0.7);
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:851
libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingAlert", UnitGroupCenterOfGroup(lp_waveUnitGroup), ColorWithAlpha(100.00, 0.00, 0.00, 0.00), 0.0, 270.0);
SoundPlayForPlayer(SoundLink("Ping", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
UnitGroupRemoveUnitGroup(lp_waveUnitGroup, UnitGroupFilter("Medic", c_playerAny, lp_waveUnitGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
lv_ping = PingLastCreated();
PingSetScale(lv_ping, 0.7);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:12127
lv_currentTarget = null;
lv_targetCandidates = UnitGroupAlliance(1, c_unitAllianceAlly, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterStasis - 32)) | (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0);
UnitGroupRemoveUnitGroup(lv_targetCandidates, libCOMU_gv_cT_PurifierBeamTargets);
while ((libCOMU_gf_CT_PurifierBeamTargetValid(lv_purifierBeam, lv_currentTarget) == false)) {
if ((lv_currentTarget != null)) {
mods/warcoop/warclassicsystem.sc2mod — base.sc2data/TriggerLibs/WarClassicSystem.galaxy:719
}
UnitGroupRemoveUnitGroup(lv_itUnitGroupCreeps, lv_itUnitGroupCamp);
libGAwX_gv_creepPlayersCreepSpots[libGAwX_gv_creepPlayersSpotsCount].lv_units = lv_itUnitGroupCamp;
libGAwX_gv_creepPlayersCreepSpots[libGAwX_gv_creepPlayersSpotsCount].lv_units = lv_itUnitGroupCamp;
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:91
camp=UnitGroupSearch(null, GAw3_AICreepPlayer, UnitGetPosition(creep), GAw3_CreepCampBoundary, GAw3_AICreepfilter, 0);
level=GAw3_UnitGroupCRLevel(camp);
UnitGroupRemoveUnitGroup(allCreeps,camp);
}while(!((level>=min)&&(level<=max)&&(flyers_ok||(!GAw3_UnitGroupHasAirUnit(camp)))));
if(UnitGroupCount(allCreeps,c_unitCountAlive)==0){return null;}
mods/warcoop/warmeleeai.sc2mod — base.sc2data/TriggerLibs/MeleeWaveAI.galaxy:109
UnitGroupAddUnitGroup(camps,camp);
}
UnitGroupRemoveUnitGroup(allCreeps,camp);
}
return camps;