# Selected Units
Grammar — Selected units for player player
Flags —Native
|Function
Returns the selected units for the specified player.
# Arguments
int
— Player
Returns — unitgroup
native unitgroup UnitGroupSelected(int inPlayer);
# Related
Category: Selection / Unit Selection
- Subgroup Index —
int
— UnitSubgroupIndexSelected - Selected Subgroup Units —
unitgroup
— UnitSubgroupSelected - Select/Deselect Unit —
void
— UnitSelect - Select Next Subgroup —
void
— UnitSubgroupIndexNext - Select Previous Subgroup —
void
— UnitSubgroupIndexPrevious - Select/Deselect Unit Group —
void
— UnitGroupSelect - Clear Unit Selection —
void
— UnitClearSelection - Unit Is Selected —
bool
— UnitIsSelected - Unit Type Is Selected —
bool
— libNtve_gf_UnitTypeIsSelected - Selected Units —
unitgroup
— UnitGroupSelected - Unit Is Selected —
void
— TriggerAddEventUnitSelected - Store Unit Selection —
void
— libNtve_gf_StoreUnitSelection - Restore Unit Selection —
void
— libNtve_gf_RestoreUnitSelection - Flash Unit Selection —
void
— UnitFlashSelection
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:3641
}
if (!((UnitGroupCount(UnitGroupSelected(gv_p01_USER), c_unitCountAlive) >= 2))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:5967
TriggerExecute(gt_Construction02Q, true, false);
gv_con02_AllowMoreLines01 = true;
if ((UnitGroupHasUnit(UnitGroupSelected(gv_p01_USER), gv_con_SCV) == false)) {
UnitClearSelection(gv_p01_USER);
UnitSelect(gv_con_SCV, gv_p01_USER, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:3641
}
if (!((UnitGroupCount(UnitGroupSelected(gv_p01_USER), c_unitCountAlive) >= 2))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:5967
TriggerExecute(gt_Construction02Q, true, false);
gv_con02_AllowMoreLines01 = true;
if ((UnitGroupHasUnit(UnitGroupSelected(gv_p01_USER), gv_con_SCV) == false)) {
UnitClearSelection(gv_p01_USER);
UnitSelect(gv_con_SCV, gv_p01_USER, true);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:11973
}
lv_selectedUnit = UnitGroupUnit(UnitGroupSelected(1), 1);
if ((lv_selectedUnit == null)) {
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map/MapScript.galaxy:3268
Wait(libSwaC_gv_campaignObjectiveDelay, c_timeReal);
UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("MutaliskMorphToBroodLord", 0), true);
if ((UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) != "MutaliskBroodlord") && (UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) != "BroodLordCocoon")) {
UnitGroupLoopBegin(gv_mutaliskGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map/MapScript.galaxy:3268
Wait(libSwaC_gv_campaignObjectiveDelay, c_timeReal);
UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("MutaliskMorphToBroodLord", 0), true);
if ((UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) != "MutaliskBroodlord") && (UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) != "BroodLordCocoon")) {
UnitGroupLoopBegin(gv_mutaliskGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map/MapScript.galaxy:3279
}
UnitGroupLoopEnd();
while (!(((UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) == "MutaliskBroodlord") || (UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) == "BroodLordCocoon")))) {
Wait(0.25, c_timeGame);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map/MapScript.galaxy:3279
}
UnitGroupLoopEnd();
while (!(((UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) == "MutaliskBroodlord") || (UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) == "BroodLordCocoon")))) {
Wait(0.25, c_timeGame);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:325
// Automatic Variable Declarations
// Implementation
if ((UnitGroupCount(UnitGroupSelected(gv_pLAYER_01_USER), c_unitCountAlive) >= 1)) {
if ((UnitGroupHasUnit(UnitGroupSelected(gv_pLAYER_01_USER), lp_unit) == true)) {
UnitSelect(lp_unit, gv_pLAYER_01_USER, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:326
// Implementation
if ((UnitGroupCount(UnitGroupSelected(gv_pLAYER_01_USER), c_unitCountAlive) >= 1)) {
if ((UnitGroupHasUnit(UnitGroupSelected(gv_pLAYER_01_USER), lp_unit) == true)) {
UnitSelect(lp_unit, gv_pLAYER_01_USER, false);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:665
// Implementation
Wait(gv_midEggHatchDelay, c_timeGame);
if ((UnitGroupHasUnit(gv_midSpawnedUnits, UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) == true)) {
lv_select = true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:676
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), RandomFixed(1.0, 2.0), AngleBetweenPoints(RegionGetCenter(lp_region), UnitGetPosition(UnitLastCreated())))), c_orderQueueReplace);
UnitGroupAdd(gv_midSpawnedUnits, UnitLastCreated());
if ((gv_midSpawnedUnitsSelected == true) && (UnitGroupCount(UnitGroupSelected(gv_pLAYER_01_USER), c_unitCountAlive) >= 1)) {
if ((lv_select == true)) {
UnitSelect(UnitLastCreated(), gv_pLAYER_01_USER, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:690
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), RandomFixed(1.0, 2.0), AngleBetweenPoints(RegionGetCenter(lp_region), UnitGetPosition(UnitLastCreated())))), c_orderQueueReplace);
UnitGroupAdd(gv_midSpawnedUnits, UnitLastCreated());
if ((gv_midSpawnedUnitsSelected == true) && (UnitGroupCount(UnitGroupSelected(gv_pLAYER_01_USER), c_unitCountAlive) >= 1)) {
if ((lv_select == true)) {
UnitSelect(UnitLastCreated(), gv_pLAYER_01_USER, true);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zchar01.sc2map/MapScript.galaxy:3068
}
autoC27B3AE2_g = UnitGroupSelected(gv_pLAYER_01_USER);
autoC27B3AE2_u = UnitGroupCount(autoC27B3AE2_g, c_unitCountAll);
for (;; autoC27B3AE2_u -= 1) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:664
UnitSetState(lp_cHOSEN_HYBRID, c_unitStateTargetable, false);
UnitSetState(lp_cHOSEN_HYBRID, c_unitStateInvulnerable, true);
if ((UnitGroupHasUnit(UnitGroupSelected(gv_pLAYER_01_USER), lp_cHOSEN_HYBRID) == true)) {
UnitSelect(lp_cHOSEN_HYBRID, gv_pLAYER_01_USER, false);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:6512
UnitSetPropertyFixed(gv_dEHAKA, c_unitPropLifePercent, 100.0);
UnitGroupSelect(UnitGroupSelected(gv_pLAYER_01_USER), gv_pLAYER_01_USER, false);
UnitSelect(gv_dEHAKA, gv_pLAYER_01_USER, true);
libSwaC_gf_SetHeroPanelUnit(2, gv_dEHAKA);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:6797
UnitSetPropertyFixed(gv_dEHAKA, c_unitPropLifePercent, 100.0);
UnitGroupSelect(UnitGroupSelected(gv_pLAYER_01_USER), gv_pLAYER_01_USER, false);
UnitSelect(gv_dEHAKA, gv_pLAYER_01_USER, true);
libSwaC_gf_SetHeroPanelUnit(2, gv_dEHAKA);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:6947
}
UnitGroupAddUnitGroup(gv_cinematicTempUnits, gv_dehakasGroup);
UnitGroupSelect(UnitGroupSelected(gv_pLAYER_01_USER), gv_pLAYER_01_USER, false);
if ((UnitIsAlive(UnitFromId(47)) == false)) {
autoEF092A8B_g = UnitGroup(null, gv_pLAYER_03_DOMINION_YELLOW, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:7183
UnitSetPropertyFixed(gv_kERRIGAN, c_unitPropLifePercent, 100.0);
UnitSetPropertyFixed(gv_kERRIGAN, c_unitPropEnergyPercent, 100.0);
UnitGroupSelect(UnitGroupSelected(gv_pLAYER_01_USER), gv_pLAYER_01_USER, false);
libNtve_gf_ChangeUnitDamage(gv_dEHAKA, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
gf_TurnDehakaOnOff(false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:666
// Implementation
auto158E3549_g = UnitGroupSelected(1);
auto158E3549_u = UnitGroupCount(auto158E3549_g, c_unitCountAll);
for (;; auto158E3549_u -= 1) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:2451
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00007", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantDroneBasic = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Drone", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:2850
if ((gv_hatcheryBuildingStarted == false)) {
if ((UnitGroupHasUnit(UnitGroupSelected(gv_pLAYER_01_USER), gv_startingDrone) == false)) {
gf_CreateFirstDroneHelper(true);
TriggerExecute(gt_HatcheryPlacementRemove, true, false);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:3948
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00047", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantSelectLarvaMorphOverlord01 = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Hatchery", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:4029
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00130", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantSelectLarvaMorphOverlord02 = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Larva", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:4832
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00203", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantMorphPool02 = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Drone", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:4913
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00204", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantMorphPool03 = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Drone", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:5764
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00017", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantSelectLarvaMorphZerglings = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Hatchery", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:5841
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00202", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantMorphZerglings = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Larva", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:9039
UnitSetPropertyFixed(gv_kerrigan22, c_unitPropMovementSpeed, 4.0);
UnitIssueOrder(gv_kerrigan22, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
auto3CFD6BCB_g = UnitGroupSelected(gv_pLAYER_01_USER);
auto3CFD6BCB_u = UnitGroupCount(auto3CFD6BCB_g, c_unitCountAll);
for (;; auto3CFD6BCB_u -= 1) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:3091
UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("TrainQueen", 0), true);
UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/CD73D9F5"), null, PointFromId(526));
autoC81BC530_g = UnitGroupSelected(gv_pLAYER_01_USER);
autoC81BC530_u = UnitGroupCount(autoC81BC530_g, c_unitCountAll);
for (;; autoC81BC530_u -= 1) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:3334
gv_extractor_Actor = libNtve_gf_ActorLastCreated();
gv_extractorText = TextTagLastCreated();
auto81590DD6_g = UnitGroupSelected(gv_pLAYER_01_USER);
auto81590DD6_u = UnitGroupCount(auto81590DD6_g, c_unitCountAll);
for (;; auto81590DD6_u -= 1) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:3708
gf_ChangeButtonTooltip("Overlord", "Param/Value/5116873A");
gf_ChangeButtonTooltip("Larva", "Param/Value/FE8FD575");
autoCC806E0D_g = UnitGroupSelected(gv_pLAYER_01_USER);
autoCC806E0D_u = UnitGroupCount(autoCC806E0D_g, c_unitCountAll);
for (;; autoCC806E0D_u -= 1) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:3965
gf_ChangeButtonTooltip("Drone", "Param/Value/0ED01A62");
gf_ChangeButtonTooltip("Larva", "Param/Value/7A394C3D");
auto2D104018_g = UnitGroupSelected(gv_pLAYER_01_USER);
auto2D104018_u = UnitGroupCount(auto2D104018_g, c_unitCountAll);
for (;; auto2D104018_u -= 1) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map — MapScript.galaxy:3268
Wait(libSwaC_gv_campaignObjectiveDelay, c_timeReal);
UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("MutaliskMorphToBroodLord", 0), true);
if ((UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) != "MutaliskBroodlord") && (UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) != "BroodLordCocoon")) {
UnitGroupLoopBegin(gv_mutaliskGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map — MapScript.galaxy:3268
Wait(libSwaC_gv_campaignObjectiveDelay, c_timeReal);
UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("MutaliskMorphToBroodLord", 0), true);
if ((UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) != "MutaliskBroodlord") && (UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) != "BroodLordCocoon")) {
UnitGroupLoopBegin(gv_mutaliskGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map — MapScript.galaxy:3279
}
UnitGroupLoopEnd();
while (!(((UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) == "MutaliskBroodlord") || (UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) == "BroodLordCocoon")))) {
Wait(0.25, c_timeGame);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map — MapScript.galaxy:3279
}
UnitGroupLoopEnd();
while (!(((UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) == "MutaliskBroodlord") || (UnitGetType(UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) == "BroodLordCocoon")))) {
Wait(0.25, c_timeGame);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:325
// Automatic Variable Declarations
// Implementation
if ((UnitGroupCount(UnitGroupSelected(gv_pLAYER_01_USER), c_unitCountAlive) >= 1)) {
if ((UnitGroupHasUnit(UnitGroupSelected(gv_pLAYER_01_USER), lp_unit) == true)) {
UnitSelect(lp_unit, gv_pLAYER_01_USER, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:326
// Implementation
if ((UnitGroupCount(UnitGroupSelected(gv_pLAYER_01_USER), c_unitCountAlive) >= 1)) {
if ((UnitGroupHasUnit(UnitGroupSelected(gv_pLAYER_01_USER), lp_unit) == true)) {
UnitSelect(lp_unit, gv_pLAYER_01_USER, false);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:665
// Implementation
Wait(gv_midEggHatchDelay, c_timeGame);
if ((UnitGroupHasUnit(gv_midSpawnedUnits, UnitGroupUnit(UnitGroupSelected(gv_pLAYER_01_USER), 1)) == true)) {
lv_select = true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:676
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), RandomFixed(1.0, 2.0), AngleBetweenPoints(RegionGetCenter(lp_region), UnitGetPosition(UnitLastCreated())))), c_orderQueueReplace);
UnitGroupAdd(gv_midSpawnedUnits, UnitLastCreated());
if ((gv_midSpawnedUnitsSelected == true) && (UnitGroupCount(UnitGroupSelected(gv_pLAYER_01_USER), c_unitCountAlive) >= 1)) {
if ((lv_select == true)) {
UnitSelect(UnitLastCreated(), gv_pLAYER_01_USER, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:690
UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(UnitLastCreated()), RandomFixed(1.0, 2.0), AngleBetweenPoints(RegionGetCenter(lp_region), UnitGetPosition(UnitLastCreated())))), c_orderQueueReplace);
UnitGroupAdd(gv_midSpawnedUnits, UnitLastCreated());
if ((gv_midSpawnedUnitsSelected == true) && (UnitGroupCount(UnitGroupSelected(gv_pLAYER_01_USER), c_unitCountAlive) >= 1)) {
if ((lv_select == true)) {
UnitSelect(UnitLastCreated(), gv_pLAYER_01_USER, true);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zchar01.sc2map — MapScript.galaxy:3068
}
autoC27B3AE2_g = UnitGroupSelected(gv_pLAYER_01_USER);
autoC27B3AE2_u = UnitGroupCount(autoC27B3AE2_g, c_unitCountAll);
for (;; autoC27B3AE2_u -= 1) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map — MapScript.galaxy:664
UnitSetState(lp_cHOSEN_HYBRID, c_unitStateTargetable, false);
UnitSetState(lp_cHOSEN_HYBRID, c_unitStateInvulnerable, true);
if ((UnitGroupHasUnit(UnitGroupSelected(gv_pLAYER_01_USER), lp_cHOSEN_HYBRID) == true)) {
UnitSelect(lp_cHOSEN_HYBRID, gv_pLAYER_01_USER, false);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:6512
UnitSetPropertyFixed(gv_dEHAKA, c_unitPropLifePercent, 100.0);
UnitGroupSelect(UnitGroupSelected(gv_pLAYER_01_USER), gv_pLAYER_01_USER, false);
UnitSelect(gv_dEHAKA, gv_pLAYER_01_USER, true);
libSwaC_gf_SetHeroPanelUnit(2, gv_dEHAKA);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:6797
UnitSetPropertyFixed(gv_dEHAKA, c_unitPropLifePercent, 100.0);
UnitGroupSelect(UnitGroupSelected(gv_pLAYER_01_USER), gv_pLAYER_01_USER, false);
UnitSelect(gv_dEHAKA, gv_pLAYER_01_USER, true);
libSwaC_gf_SetHeroPanelUnit(2, gv_dEHAKA);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:6947
}
UnitGroupAddUnitGroup(gv_cinematicTempUnits, gv_dehakasGroup);
UnitGroupSelect(UnitGroupSelected(gv_pLAYER_01_USER), gv_pLAYER_01_USER, false);
if ((UnitIsAlive(UnitFromId(47)) == false)) {
autoEF092A8B_g = UnitGroup(null, gv_pLAYER_03_DOMINION_YELLOW, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:7183
UnitSetPropertyFixed(gv_kERRIGAN, c_unitPropLifePercent, 100.0);
UnitSetPropertyFixed(gv_kERRIGAN, c_unitPropEnergyPercent, 100.0);
UnitGroupSelect(UnitGroupSelected(gv_pLAYER_01_USER), gv_pLAYER_01_USER, false);
libNtve_gf_ChangeUnitDamage(gv_dEHAKA, libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Full);
gf_TurnDehakaOnOff(false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:666
// Implementation
auto158E3549_g = UnitGroupSelected(1);
auto158E3549_u = UnitGroupCount(auto158E3549_g, c_unitCountAll);
for (;; auto158E3549_u -= 1) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:2451
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00007", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantDroneBasic = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Drone", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:2850
if ((gv_hatcheryBuildingStarted == false)) {
if ((UnitGroupHasUnit(UnitGroupSelected(gv_pLAYER_01_USER), gv_startingDrone) == false)) {
gf_CreateFirstDroneHelper(true);
TriggerExecute(gt_HatcheryPlacementRemove, true, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:3948
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00047", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantSelectLarvaMorphOverlord01 = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Hatchery", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:4029
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00130", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantSelectLarvaMorphOverlord02 = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Larva", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:4832
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00203", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantMorphPool02 = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Drone", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:4913
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00204", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantMorphPool03 = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Drone", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:5764
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00017", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantSelectLarvaMorphZerglings = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Hatchery", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:5841
libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00202", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
gv_adjutantMorphZerglings = TransmissionLastSent();
if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Larva", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:9039
UnitSetPropertyFixed(gv_kerrigan22, c_unitPropMovementSpeed, 4.0);
UnitIssueOrder(gv_kerrigan22, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
auto3CFD6BCB_g = UnitGroupSelected(gv_pLAYER_01_USER);
auto3CFD6BCB_u = UnitGroupCount(auto3CFD6BCB_g, c_unitCountAll);
for (;; auto3CFD6BCB_u -= 1) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:3091
UISetButtonHighlighted(PlayerGroupAll(), AbilityCommand("TrainQueen", 0), true);
UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/CD73D9F5"), null, PointFromId(526));
autoC81BC530_g = UnitGroupSelected(gv_pLAYER_01_USER);
autoC81BC530_u = UnitGroupCount(autoC81BC530_g, c_unitCountAll);
for (;; autoC81BC530_u -= 1) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:3334
gv_extractor_Actor = libNtve_gf_ActorLastCreated();
gv_extractorText = TextTagLastCreated();
auto81590DD6_g = UnitGroupSelected(gv_pLAYER_01_USER);
auto81590DD6_u = UnitGroupCount(auto81590DD6_g, c_unitCountAll);
for (;; auto81590DD6_u -= 1) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:3708
gf_ChangeButtonTooltip("Overlord", "Param/Value/5116873A");
gf_ChangeButtonTooltip("Larva", "Param/Value/FE8FD575");
autoCC806E0D_g = UnitGroupSelected(gv_pLAYER_01_USER);
autoCC806E0D_u = UnitGroupCount(autoCC806E0D_g, c_unitCountAll);
for (;; autoCC806E0D_u -= 1) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:3965
gf_ChangeButtonTooltip("Drone", "Param/Value/0ED01A62");
gf_ChangeButtonTooltip("Larva", "Param/Value/7A394C3D");
auto2D104018_g = UnitGroupSelected(gv_pLAYER_01_USER);
auto2D104018_u = UnitGroupCount(auto2D104018_g, c_unitCountAll);
for (;; auto2D104018_u -= 1) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21158
UnitIssueOrder(libSwaC_gv_zS_HeroReviverKerrigan, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("KerriganRevive", 0), libSwaC_gv_zS_Kerrigan), c_orderQueueReplace);
Wait(0.125, c_timeGame);
auto509A05AA_g = UnitGroupSelected(1);
auto509A05AA_u = UnitGroupCount(auto509A05AA_g, c_unitCountAll);
for (;; auto509A05AA_u -= 1) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21225
UnitIssueOrder(libSwaC_gv_zS_HeroReviverDehaka, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("DehakaRevive", 0), libSwaC_gv_zS_Dehaka), c_orderQueueReplace);
Wait(0.125, c_timeGame);
auto1210E5FA_g = UnitGroupSelected(1);
auto1210E5FA_u = UnitGroupCount(auto1210E5FA_g, c_unitCountAll);
for (;; auto1210E5FA_u -= 1) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21289
UnitIssueOrder(libSwaC_gv_zS_HeroReviverStukov, libNtve_gf_ReviveOrderWithNoTarget(AbilityCommand("StukovRevive", 0), libSwaC_gv_zS_Stukov), c_orderQueueReplace);
Wait(0.125, c_timeGame);
autoBAA7F861_g = UnitGroupSelected(1);
autoBAA7F861_u = UnitGroupCount(autoBAA7F861_g, c_unitCountAll);
for (;; autoBAA7F861_u -= 1) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:3554
}
UnitGroupLoopEnd();
UnitGroupLoopBegin(UnitGroupSelected(gv_p01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGroupHasUnit(lv_validWorkers, UnitGroupLoopCurrent()) == true)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5129
}
if (!((UnitGroupCount(UnitGroupSelected(1), c_unitCountAlive) == UnitGroupCount(gv_basic06Marines, c_unitCountAlive)))) {
return false;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:5992
}
UnitGroupLoopEnd();
UnitGroupLoopBegin(UnitGroupSelected(gv_p01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGroupHasUnit(lv_workerNotMining, UnitGroupLoopCurrent()) == true)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:7347
}
UnitGroupLoopBegin(UnitGroupSelected(gv_p01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGetType(UnitGroupLoopCurrent()) == "SCV") && (!(((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("SCVHarvest", 0)) || (OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("SCVHarvest", 1)))))) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:8884
}
if ((UnitGroupCount(UnitGroupFilter("Marine", c_playerAny, UnitGroupSelected(gv_p01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 5)) {
gf_ClearAllTutorialReticles();
gf_DestroyTutorialTextTag();
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:9254
lv_currentMarineGroup = UnitGroup("Marine", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
if ((UnitGroupCount(UnitGroupFilter("Marine", c_playerAny, UnitGroupSelected(gv_p01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)) {
gf_ClearAllTutorialReticles();
gf_DestroyTutorialTextTag();
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:10604
UISetButtonFaceHighlighted(PlayerGroupAll(), "Drone", true);
UISetButtonFaceHighlighted(PlayerGroupAll(), "Larva", true);
if ((UnitGroupCount(UnitGroupFilter("Larva", gv_p01_USER, UnitGroupSelected(gv_p01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 2) && (lv_morphedCount == 0)) {
TriggerExecute(gt_ZergMakeDronesTwoLarvaSelectedQ, true, false);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:10668
}
}
if ((UnitGroupCount(UnitGroupFilter("Larva", gv_p01_USER, UnitGroupSelected(gv_p01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 2) && (gv_zergMakeDronesTwoLarvaSelectPlayed == false) && (gv_reminderPlayed == false)) {
TriggerExecute(gt_ZergMakeDronesTwoLarvaSelectedQ, true, false);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:12884
}
UnitGroupLoopEnd();
UnitGroupLoopBegin(UnitGroupSelected(gv_p01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGroupHasUnit(lv_validDrones, UnitGroupLoopCurrent()) == true)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:13351
}
UnitGroupLoopEnd();
UnitGroupLoopBegin(UnitGroupSelected(gv_p01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGroupHasUnit(lv_validDrones, UnitGroupLoopCurrent()) == true)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:2733
}
autoB3DEC5D7_g = UnitGroupSelected(gv_pLAYER_01_USER);
autoB3DEC5D7_u = UnitGroupCount(autoB3DEC5D7_g, c_unitCountAll);
for (;; autoB3DEC5D7_u -= 1) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:3337
}
auto97DEA53D_g = UnitGroupSelected(gv_pLAYER_01_USER);
auto97DEA53D_u = UnitGroupCount(auto97DEA53D_g, c_unitCountAll);
for (;; auto97DEA53D_u -= 1) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur02.sc2map/MapScript.galaxy:3583
}
autoB231D5C6_g = UnitGroupSelected(gv_pLAYER_01_USER);
autoB231D5C6_u = UnitGroupCount(autoB231D5C6_g, c_unitCountAll);
for (;; autoB231D5C6_u -= 1) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:3936
}
if ((UnitGroupHasUnit(UnitGroupSelected(gv_pLAYER_01_USER), gv_alarak) == true)) {
UnitSelect(gv_alarak, gv_pLAYER_01_USER, false);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pcampaigntest.sc2map/MapScript.galaxy:808
}
UnitGroupLoopBegin(UnitGroupSelected(gv_pLAYER_01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGetType(UnitGroupLoopCurrent()) == "ArtifactVault")) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pcampaigntest.sc2map/MapScript.galaxy:1036
TriggerExecute(gt_ObjectiveRescueStalkersCreate, true, false);
lv_warpedUnits = UnitGroupSelected(gv_pLAYER_01_USER);
if ((UnitGroupCount(UnitGroupFilterPlayer(lv_warpedUnits, gv_pLAYER_01_USER, 0), c_unitCountAlive) == 0)) {
SoundPlay(SoundLink("UI_GenericError", 0), PlayerGroupAll(), 100.0, 0.0);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:3554
}
UnitGroupLoopEnd();
UnitGroupLoopBegin(UnitGroupSelected(gv_p01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGroupHasUnit(lv_validWorkers, UnitGroupLoopCurrent()) == true)) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:5129
}
if (!((UnitGroupCount(UnitGroupSelected(1), c_unitCountAlive) == UnitGroupCount(gv_basic06Marines, c_unitCountAlive)))) {
return false;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:5992
}
UnitGroupLoopEnd();
UnitGroupLoopBegin(UnitGroupSelected(gv_p01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGroupHasUnit(lv_workerNotMining, UnitGroupLoopCurrent()) == true)) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:7347
}
UnitGroupLoopBegin(UnitGroupSelected(gv_p01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGetType(UnitGroupLoopCurrent()) == "SCV") && (!(((OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("SCVHarvest", 0)) || (OrderGetAbilityCommand(UnitOrder(UnitGroupLoopCurrent(), 0)) == AbilityCommand("SCVHarvest", 1)))))) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:8884
}
if ((UnitGroupCount(UnitGroupFilter("Marine", c_playerAny, UnitGroupSelected(gv_p01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 5)) {
gf_ClearAllTutorialReticles();
gf_DestroyTutorialTextTag();
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:9254
lv_currentMarineGroup = UnitGroup("Marine", gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
if ((UnitGroupCount(UnitGroupFilter("Marine", c_playerAny, UnitGroupSelected(gv_p01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)) {
gf_ClearAllTutorialReticles();
gf_DestroyTutorialTextTag();
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:10604
UISetButtonFaceHighlighted(PlayerGroupAll(), "Drone", true);
UISetButtonFaceHighlighted(PlayerGroupAll(), "Larva", true);
if ((UnitGroupCount(UnitGroupFilter("Larva", gv_p01_USER, UnitGroupSelected(gv_p01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 2) && (lv_morphedCount == 0)) {
TriggerExecute(gt_ZergMakeDronesTwoLarvaSelectedQ, true, false);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:10668
}
}
if ((UnitGroupCount(UnitGroupFilter("Larva", gv_p01_USER, UnitGroupSelected(gv_p01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 2) && (gv_zergMakeDronesTwoLarvaSelectPlayed == false) && (gv_reminderPlayed == false)) {
TriggerExecute(gt_ZergMakeDronesTwoLarvaSelectedQ, true, false);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:12884
}
UnitGroupLoopEnd();
UnitGroupLoopBegin(UnitGroupSelected(gv_p01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGroupHasUnit(lv_validDrones, UnitGroupLoopCurrent()) == true)) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:13351
}
UnitGroupLoopEnd();
UnitGroupLoopBegin(UnitGroupSelected(gv_p01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGroupHasUnit(lv_validDrones, UnitGroupLoopCurrent()) == true)) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2map — MapScript.galaxy:2733
}
autoB3DEC5D7_g = UnitGroupSelected(gv_pLAYER_01_USER);
autoB3DEC5D7_u = UnitGroupCount(autoB3DEC5D7_g, c_unitCountAll);
for (;; autoB3DEC5D7_u -= 1) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2map — MapScript.galaxy:3337
}
auto97DEA53D_g = UnitGroupSelected(gv_pLAYER_01_USER);
auto97DEA53D_u = UnitGroupCount(auto97DEA53D_g, c_unitCountAll);
for (;; auto97DEA53D_u -= 1) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur02.sc2map — MapScript.galaxy:3583
}
autoB231D5C6_g = UnitGroupSelected(gv_pLAYER_01_USER);
autoB231D5C6_u = UnitGroupCount(autoB231D5C6_g, c_unitCountAll);
for (;; autoB231D5C6_u -= 1) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:3936
}
if ((UnitGroupHasUnit(UnitGroupSelected(gv_pLAYER_01_USER), gv_alarak) == true)) {
UnitSelect(gv_alarak, gv_pLAYER_01_USER, false);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pcampaigntest.sc2map — MapScript.galaxy:808
}
UnitGroupLoopBegin(UnitGroupSelected(gv_pLAYER_01_USER));
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
if ((UnitGetType(UnitGroupLoopCurrent()) == "ArtifactVault")) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pcampaigntest.sc2map — MapScript.galaxy:1036
TriggerExecute(gt_ObjectiveRescueStalkersCreate, true, false);
lv_warpedUnits = UnitGroupSelected(gv_pLAYER_01_USER);
if ((UnitGroupCount(UnitGroupFilterPlayer(lv_warpedUnits, gv_pLAYER_01_USER, 0), c_unitCountAlive) == 0)) {
SoundPlay(SoundLink("UI_GenericError", 0), PlayerGroupAll(), 100.0, 0.0);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1792
Wait(0.125, c_timeGame);
if ((libVCMI_gv_pM_HeroRevivePlayer[lv_heroIndex] == 1)) {
auto7AB41B75_g = UnitGroupSelected(1);
auto7AB41B75_u = UnitGroupCount(auto7AB41B75_g, c_unitCountAll);
for (;; auto7AB41B75_u -= 1) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:5946
}
autoA477DDF1_g = UnitGroupSelected(1);
autoA477DDF1_u = UnitGroupCount(autoA477DDF1_g, c_unitCountAll);
for (;; autoA477DDF1_u -= 1) {