# Remove Player From Player Group
Grammar — Remove player p from g|Player Group
Flags —Native
|Action
Removes a player from the specified player group.
# Arguments
playergroup
— Groupint
— Player
Returns — void
native void PlayerGroupRemove(
playergroup inGroup,
int inPlayer,
);
# Related
Category: Player Group / Groups
- Add Player To Player Group —
void
— PlayerGroupAdd - Add Player Group To Player Group —
void
— libNtve_gf_AddPlayerGroupToPlayerGroup - Remove Player From Player Group —
void
— PlayerGroupRemove - Remove Player Group From Player Group —
void
— libNtve_gf_RemovePlayerGroupFromPlayerGroup - Remove All Players From Player Group —
void
— PlayerGroupClear - Number Of Players In Player Group —
int
— PlayerGroupCount - Player In Player Group —
bool
— PlayerGroupHasPlayer - Player From Player Group —
int
— PlayerGroupPlayer - Copy Of Player Group —
playergroup
— PlayerGroupCopy - Union Of Player Groups —
playergroup
— libNtve_gf_UnionOfPlayerGroups - Intersection Of Player Groups —
playergroup
— libNtve_gf_IntersectionOfPlayerGroups
# Examples
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:1177
}
else {
PlayerGroupRemove(libCamp_gv__CB_Unit_ActivationPlayerGroup[lv_unitIndex], lp_player);
}
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:1848
}
else {
PlayerGroupRemove(libNtve_gv__PlayersInCineMode, lp_player);
}
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2027
if (lv_pickedPlayer < 0) { break; }
if ((libNtve_gf_PlayerInCinematicMode(lv_pickedPlayer) == true)) {
PlayerGroupRemove(lv_validPlayers, lv_pickedPlayer);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2075
if (lv_pickedPlayer < 0) { break; }
if ((libNtve_gf_PlayerInCinematicMode(lv_pickedPlayer) == false)) {
PlayerGroupRemove(lv_validPlayers, lv_pickedPlayer);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:3931
lv_pickedPlayer = PlayerGroupNextPlayer(auto2647939F_g, lv_pickedPlayer);
if (lv_pickedPlayer < 0) { break; }
PlayerGroupRemove(lp_targetGroup, lv_pickedPlayer);
}
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4407
}
else {
PlayerGroupRemove(libNtve_gv__PlayersInStoryMode, lp_player);
}
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4478
if (lv_pickedPlayer < 0) { break; }
if ((libNtve_gf_PlayerInStoryMode(lv_pickedPlayer) == true)) {
PlayerGroupRemove(lv_validPlayers, lv_pickedPlayer);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:4509
if (lv_pickedPlayer < 0) { break; }
if ((libNtve_gf_PlayerInStoryMode(lv_pickedPlayer) == false)) {
PlayerGroupRemove(lv_validPlayers, lv_pickedPlayer);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1538
}
else {
PlayerGroupRemove(libNtve_gv__PlayersInCineMode, lp_player);
}
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1717
if (lv_pickedPlayer<0) { break; }
if ((libNtve_gf_PlayerInCinematicMode(lv_pickedPlayer) == true)) {
PlayerGroupRemove(lv_validPlayers, lv_pickedPlayer);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1765
if (lv_pickedPlayer<0) { break; }
if ((libNtve_gf_PlayerInCinematicMode(lv_pickedPlayer) == false)) {
PlayerGroupRemove(lv_validPlayers, lv_pickedPlayer);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3256
lv_pickedPlayer = PlayerGroupNextPlayer(auto2647939F_g, lv_pickedPlayer);
if (lv_pickedPlayer<0) { break; }
PlayerGroupRemove(lp_targetGroup, lv_pickedPlayer);
}
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3665
}
else {
PlayerGroupRemove(libNtve_gv__PlayersInStoryMode, lp_player);
}
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3736
if (lv_pickedPlayer<0) { break; }
if ((libNtve_gf_PlayerInStoryMode(lv_pickedPlayer) == true)) {
PlayerGroupRemove(lv_validPlayers, lv_pickedPlayer);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:3767
if (lv_pickedPlayer<0) { break; }
if ((libNtve_gf_PlayerInStoryMode(lv_pickedPlayer) == false)) {
PlayerGroupRemove(lv_validPlayers, lv_pickedPlayer);
}
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:327
for ( ; ( (autoFECBB7B3_ai >= 0 && lv_itIndex <= autoFECBB7B3_ae) || (autoFECBB7B3_ai < 0 && lv_itIndex >= autoFECBB7B3_ae) ) ; lv_itIndex += autoFECBB7B3_ai ) {
lv_mechanicIndexes[lv_itIndex] = PlayerGroupPlayer(lv_indexPool, RandomInt(1, PlayerGroupCount(lv_indexPool)));
PlayerGroupRemove(lv_indexPool, lv_mechanicIndexes[lv_itIndex]);
}
auto60B62817_ae = MinI(libAREN_gv_aRM_MechanicsCountToPick_C, libAREN_gv_aRM_MechanicsCount);
mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod — base.stormdata/LibAMVS.galaxy:199
lv_i = 1;
for ( ; ( (autoD3D5CAF9_ai >= 0 && lv_i <= autoD3D5CAF9_ae) || (autoD3D5CAF9_ai < 0 && lv_i >= autoD3D5CAF9_ae) ) ; lv_i += autoD3D5CAF9_ai ) {
PlayerGroupRemove(libAMVS_gv_eventShufflerPG, lv_i);
}
lv_i = 1;
mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod — base.stormdata/LibAMVS.galaxy:224
lv_returnInt = PlayerGroupPlayer(libAMVS_gv_eventShufflerPG, RandomInt(1, PlayerGroupCount(libAMVS_gv_eventShufflerPG)));
}
PlayerGroupRemove(libAMVS_gv_eventShufflerPG, lv_returnInt);
return lv_returnInt;
}
mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod — base.stormdata/LibAMVS.galaxy:3152
}
PlayerGroupRemove(libAMVS_gv_saZo.lv_safePlayerGroup, EventPlayer());
PlayerGroupAdd(libAMVS_gv_saZo.lv_unsafePlayerGroup, EventPlayer());
UnitBehaviorAdd(EventUnit(), "Unsafe", EventUnit(), 1);
mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod — base.stormdata/LibAMVS.galaxy:3181
}
PlayerGroupRemove(libAMVS_gv_saZo.lv_unsafePlayerGroup, EventPlayer());
PlayerGroupAdd(libAMVS_gv_saZo.lv_safePlayerGroup, EventPlayer());
UnitBehaviorRemove(EventUnit(), "Unsafe", c_unitBehaviorCountAll);
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:877
// Implementation
PlayerGroupRemove(libMDoE_gv_mDoE_Cannons.lv_playersWhoHaveNotTurnedInAmmo, lp_player);
auto4D98250A_g = libMDoE_gv_mDoE_Cannons.lv_cannonUnitGroup;
auto4D98250A_u = UnitGroupCount(auto4D98250A_g, c_unitCountAll);
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:1114
PlayerGroupAdd(lv_playerGroup, 4);
lv_randomInteger = RandomInt(1, 4);
PlayerGroupRemove(lv_playerGroup, lv_randomInteger);
libMDoE_gv_mDoE_AmmoCache.lv_amountOfAvailableLocations += 1;
libMDoE_gv_mDoE_AmmoCache.lv_nextPointToSpawnAt[libMDoE_gv_mDoE_AmmoCache.lv_amountOfAvailableLocations] = lv_randomInteger;
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:1171
// Implementation
PlayerGroupRemove(libMDoE_gv_mDoE_AmmoCache.lv_playersWhoHaveNotPickedUpAmmo, lp_player);
lv_itAmmo = 1;
for ( ; ( (auto119A2AFF_ai >= 0 && lv_itAmmo <= auto119A2AFF_ae) || (auto119A2AFF_ai < 0 && lv_itAmmo >= auto119A2AFF_ae) ) ; lv_itAmmo += auto119A2AFF_ai ) {
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:2831
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 4.0);
lv_soundPlayerGroup = PlayerGroupCopy(PlayerGroupAll());
PlayerGroupRemove(lv_soundPlayerGroup, lv_handInPlayer);
SoundPlayAtPointForPlayer(SoundLink("UI_Doubloon_Pickup", -1), c_maxPlayers, lv_soundPlayerGroup, UnitGetPosition(lv_handInHeroUnit2), 2.0, 100.0, 0.0);
SoundPlayForPlayer(SoundLink("UI_Doubloon_Pickup", -1), c_maxPlayers, PlayerGroupSingle(lv_handInPlayer), 100.0, 0.0);
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:7092
for ( ; ( (auto4E6C36FE_ai >= 0 && lv_itBoss <= auto4E6C36FE_ae) || (auto4E6C36FE_ai < 0 && lv_itBoss >= auto4E6C36FE_ae) ) ; lv_itBoss += auto4E6C36FE_ai ) {
lv_bossIndex = PlayerGroupPlayer(lv_zergBossGroup, RandomInt(1, PlayerGroupCount(lv_zergBossGroup)));
PlayerGroupRemove(lv_zergBossGroup, lv_bossIndex);
libPEB1_gv_pEB1SlivanZergBosses[lv_itBoss] = lv_availableHeroTypes[lv_bossIndex];
}
mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod — base.stormdata/LibPVEB.galaxy:878
lv_deadUnitSpirit = libPVEB_gv_pvEResurrectSpirit[lp_player];
libNtve_gf_AddPlayerGroupToPlayerGroup(PlayerGroupAll(), lv_playerGroup);
PlayerGroupRemove(lv_playerGroup, lp_player);
lv_arrowIndex = 1;
for ( ; ( (auto0C6A7DE8_ai >= 0 && lv_arrowIndex <= auto0C6A7DE8_ae) || (auto0C6A7DE8_ai < 0 && lv_arrowIndex >= auto0C6A7DE8_ae) ) ; lv_arrowIndex += auto0C6A7DE8_ai ) {
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:175
// Automatic Variable Declarations
// Implementation
PlayerGroupRemove(libLNYF_gv_progress.lv_players_RaceIncomplete, lp_player);
PlayerGroupAdd(libLNYF_gv_progress.lv_players_RaceComplete, lp_player);
PlayerGroupAdd(libLNYF_gv_leaderboard.lv_players_RaceFinished, lp_player);
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:178
PlayerGroupAdd(libLNYF_gv_progress.lv_players_RaceComplete, lp_player);
PlayerGroupAdd(libLNYF_gv_leaderboard.lv_players_RaceFinished, lp_player);
PlayerGroupRemove(libLNYF_gv_leaderboard.lv_players_RaceUnfinished, lp_player);
libGame_gf_ScoreValuesReportIntegerValueAndLog(lp_player, "LeaderboardValue", libLNYF_gv_leaderboard.lv_player_CurrentRank[lp_player]);
libGame_gv_players[lp_player].lv_victoryDefeat = c_gameOverVictory;
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:986
for ( ; ( (autoA8376183_ai >= 0 && lv_itPlayer <= autoA8376183_ae) || (autoA8376183_ai < 0 && lv_itPlayer >= autoA8376183_ae) ) ; lv_itPlayer += autoA8376183_ai ) {
if ((libGame_gv_players[lv_itPlayer].lv_playerStatus != libGame_ge_PlayerStatusStorm_LefttheGame)) {
PlayerGroupRemove(libLNYF_gv_progress.lv_players_RaceIncomplete, lv_itPlayer);
PlayerGroupAdd(libLNYF_gv_progress.lv_players_RaceComplete, lv_itPlayer);
PlayerGroupAdd(libLNYF_gv_leaderboard.lv_players_RaceFinished, lv_itPlayer);
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:989
PlayerGroupAdd(libLNYF_gv_progress.lv_players_RaceComplete, lv_itPlayer);
PlayerGroupAdd(libLNYF_gv_leaderboard.lv_players_RaceFinished, lv_itPlayer);
PlayerGroupRemove(libLNYF_gv_leaderboard.lv_players_RaceUnfinished, lv_itPlayer);
libGame_gv_players[lv_itPlayer].lv_victoryDefeat = c_gameOverVictory;
}
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:1596
libLNYF_gv_leaderboard.lv_player_CurrentRank[lv_player] = lv_leaderboardRank;
libLNYF_gv_leaderboard.lv_rank_CurrentPlayer[lv_leaderboardRank] = lv_player;
PlayerGroupRemove(libLNYF_gv_leaderboard.lv_players_NotRanked, lv_player);
libGame_gf_ScoreValuesReportIntegerValueAndLog(lv_player, "LeaderboardValue", lv_leaderboardRank);
libLNYF_gf_SetPlayersRankText(lv_player, lv_leaderboardRank);
mods/heroesbrawlmods/brawlmapmods/lunarfestival.stormmod — base.stormdata/LibLNYF.galaxy:1611
libLNYF_gv_leaderboard.lv_player_CurrentRank[lv_player] = lv_leaderboardRank;
libLNYF_gv_leaderboard.lv_rank_CurrentPlayer[lv_leaderboardRank] = lv_player;
PlayerGroupRemove(libLNYF_gv_leaderboard.lv_players_NotRanked, lv_player);
libGame_gf_ScoreValuesReportIntegerValueAndLog(lv_player, "LeaderboardValue", lv_leaderboardRank);
libLNYF_gf_SetPlayersRankText(lv_player, lv_leaderboardRank);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/AILib.galaxy:3093
lv_message = TextExpressionAssemble("Param/Expression/lib_AIAI_45DD181C");
libNtve_gf_AddPlayerGroupToPlayerGroup(libGame_gf_AlliedPlayerGroupOfPlayer(EventPlayer()), lv_players);
PlayerGroupRemove(lv_players, EventPlayer());
UIDisplayMessage(lv_players, c_messageAreaChat, lv_message);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:2015
}
lv_deadPlayerTeamGroupMinusDeadPlayer = PlayerGroupCopy(lv_deadPlayerTeamGroup);
PlayerGroupRemove(lv_deadPlayerTeamGroupMinusDeadPlayer, lv_deadPlayer);
autoBFFA6DE7_g = lv_killingTeamGroup;
lv_itPlayer = -1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameDataHelperLib.galaxy:15832
lv_positionOfBeacon = UnitGetPosition(lv_dropshipBeacon);
lv_alliedPlayersAnnouncementGroup = libGame_gf_AlliedPlayerGroupOfPlayer(lv_medicPlayer);
PlayerGroupRemove(lv_alliedPlayersAnnouncementGroup, lv_medicPlayer);
if ((EventUnitCreatedAbil() == "MedicMedivacDropship")) {
UnitPutInTransport(lv_medic, lv_dropship);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:6550
lv_deadPlayerTeam = libGame_gf_TeamNumberOfPlayer(lv_deadPlayer);
lv_deadPlayerTeamGroupMinusDeadPlayer = PlayerGroupCopy(lp_deadPlayerTeamGroup);
PlayerGroupRemove(lv_deadPlayerTeamGroupMinusDeadPlayer, lv_deadPlayer);
if ((UnitGroupCount(libGame_gv_players[lv_deadPlayer].lv_heroUnitGroup, c_unitCountAlive) < 1)) {
libGame_gf_HeroDeathYouHaveDiedAnnouncementToDeadPlayer(lv_deadPlayer);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:9057
libGame_gf_SendEventHeroParticipatedInNPCTakedown(lv_itPlayer, lp_killedUnit);
if ((UnitHasBehavior2(libGame_gv_players[lv_itPlayer].lv_heroUnit, "LeoricUndying") == true)) {
PlayerGroupRemove(lv_killCreditGroup, lv_itPlayer);
if ((PlayerGroupCount(lv_killCreditGroup) == 0) && (UnitTypeTestAttribute(UnitGetType(lp_killedUnit), c_unitAttributeStructure) == false)) {
return ;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:9106
}
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamOrder);
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamChaos);
if (((lp_killedUnitPlayer < 0) || (lp_killedUnitPlayer > libCore_gv_bALMaxEnginePlayerCount))) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:9107
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamOrder);
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamChaos);
if (((lp_killedUnitPlayer < 0) || (lp_killedUnitPlayer > libCore_gv_bALMaxEnginePlayerCount))) {
TextExpressionSetToken("Param/Expression/lib_Game_34F4B7D0", "A", UnitTypeGetName(UnitGetType(lp_killedUnit)));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:9143
lv_xPAwardGroup = PlayerGroupCopy(libGame_gf_AlliedPlayerGroupOfPlayer(PlayerGroupPlayer(lv_killCreditGroup, 1)));
}
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamOrder);
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamChaos);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:9144
}
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamOrder);
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamChaos);
}
if ((PlayerGroupCount(lv_xPAwardGroup) == 0) && (UnitTypeTestAttribute(UnitGetType(lp_killedUnit), c_unitAttributeStructure) == true) && (PlayerGroupCount(libGame_gv_teams[1].lv_teamPlayerGroupNoNPCPlayers) > 0) && (PlayerGroupCount(libGame_gv_teams[2].lv_teamPlayerGroupNoNPCPlayers) > 0) && (libCore_gv_dEBUGSoloXPOn == false)) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12983
autoF6E34946_var = PlayerGroupNextPlayer(autoF6E34946_g, autoF6E34946_var);
if (autoF6E34946_var<0) { break; }
PlayerGroupRemove(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup, autoF6E34946_var);
}
auto4CFE5053_g = lv_unusedPlayersAddedToChaos;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12990
auto4CFE5053_var = PlayerGroupNextPlayer(auto4CFE5053_g, auto4CFE5053_var);
if (auto4CFE5053_var<0) { break; }
PlayerGroupRemove(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup, auto4CFE5053_var);
}
PlayerGroupAdd(libCore_gv_nPCPlayers, libCore_gv_cOMPUTER_Neutral);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:13007
libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_nPCPlayer = libCore_gv_cOMPUTER_TeamOrder;
libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroupNoNPCPlayers = PlayerGroupCopy(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroup);
PlayerGroupRemove(libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_teamPlayerGroupNoNPCPlayers, libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_nPCPlayer);
libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_nPCPlayer = libCore_gv_cOMPUTER_TeamChaos;
libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroupNoNPCPlayers = PlayerGroupCopy(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:13010
libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_nPCPlayer = libCore_gv_cOMPUTER_TeamChaos;
libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroupNoNPCPlayers = PlayerGroupCopy(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroup);
PlayerGroupRemove(libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_teamPlayerGroupNoNPCPlayers, libGame_gv_teams[libGame_gv_teamChaosIndex_C].lv_nPCPlayer);
lv_itTeam = 1;
for ( ; ( (auto8D65EB03_ai >= 0 && lv_itTeam <= auto8D65EB03_ae) || (auto8D65EB03_ai < 0 && lv_itTeam >= auto8D65EB03_ae) ) ; lv_itTeam += auto8D65EB03_ai ) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:610
if (lv_itPlayer<0) { break; }
if ((libNtve_gf_PlayerInCinematicMode(lv_itPlayer) == true)) {
PlayerGroupRemove(lv_validPlayers, lv_itPlayer);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:626
if (lv_itPlayer<0) { break; }
if ((libNtve_gf_PlayerInCinematicMode(lv_itPlayer) == false)) {
PlayerGroupRemove(lv_validPlayers, lv_itPlayer);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/StartingExperienceLib.galaxy:1012
lv_itPlayer = PlayerGroupPlayer(lv_playersModelGood, RandomInt(1, PlayerGroupCount(lv_playersModelGood)));
lv_playerHeroIndex = lv_itPlayer;
PlayerGroupRemove(lv_playersModelGood, lv_itPlayer);
lv_heroModel = (CatalogFieldValueGet(c_gameCatalogHero, libGame_gv_players[lv_itPlayer].lv_heroData.lv_heroCatalogLink, "Model", c_playerAny));
if ((lv_heroModel != null)) {
mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:2361
lv_xPAwardGroup = PlayerGroupCopy(libGame_gv_teams[1].lv_teamPlayerGroupNoNPCPlayers);
}
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamOrder);
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamChaos);
auto23BBF7DF_g = lv_xPAwardGroup;
mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod — base.stormdata/LibMLBD.galaxy:2362
}
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamOrder);
PlayerGroupRemove(lv_xPAwardGroup, libCore_gv_cOMPUTER_TeamChaos);
auto23BBF7DF_g = lv_xPAwardGroup;
lv_itPlayer = -1;
mods/heroesmapmods/battlegroundmapmods/blackheartsbay.stormmod — base.stormdata/LibBBAY.galaxy:1571
TextTagSetTime(TextTagLastCreated(), c_textTagTimeDuration, 4.0);
lv_soundPlayerGroup = PlayerGroupCopy(PlayerGroupAll());
PlayerGroupRemove(lv_soundPlayerGroup, lv_handInPlayer);
SoundPlayAtPointForPlayer(SoundLink("UI_Doubloon_Pickup", -1), c_maxPlayers, lv_soundPlayerGroup, UnitGetPosition(libBBAY_gv_mMBBCannonballsGhostShipBeacon), 2.0, 100.0, 0.0);
SoundPlayForPlayer(SoundLink("UI_Doubloon_Pickup", -1), c_maxPlayers, PlayerGroupSingle(lv_handInPlayer), 100.0, 0.0);
mods/heroesmapmods/battlegroundmapmods/heavenhell.stormmod — base.stormdata/LibMLHH.galaxy:299
lv_randomLootRingPlayer = 10;
}
PlayerGroupRemove(lv_lootRingPlayerGroup, lv_randomLootRingPlayer);
UnitCreateEffectPoint(lv_livingCore, "LootExplosionTreasureGoblinSet", PointWithOffsetPolar(lv_deadCorePosition, lv_distance, libMLHH_gf_HHDetermineAngle(lv_randomLootRingPlayer, lv_lootRingSize)));
libMLHH_gv_hHWeaponRackBroken = false;
mods/heroesmapmods/battlegroundmapmods/heavenhell.stormmod — base.stormdata/LibMLHH.galaxy:306
else {
lv_randomLootRingPlayer = PlayerGroupPlayer(lv_lootRingPlayerGroup, RandomInt(1, PlayerGroupCount(lv_lootRingPlayerGroup)));
PlayerGroupRemove(lv_lootRingPlayerGroup, lv_randomLootRingPlayer);
UnitCreateEffectPoint(lv_livingCore, "LootExplosionGoldPileSet", PointWithOffsetPolar(lv_deadCorePosition, (lv_distance + RandomFixed(0.0, 0.5)), (libMLHH_gf_HHDetermineAngle(lv_randomLootRingPlayer, lv_lootRingSize) + (lv_angleOffset + RandomFixed(-5.0, 5.0)))));
}
mods/heroesmapmods/battlegroundmapmods/heavenhell.stormmod — base.stormdata/LibMLHH.galaxy:325
lv_randomLootRingPlayer = PlayerGroupPlayer(lv_lootRingPlayerGroup, RandomInt(1, PlayerGroupCount(lv_lootRingPlayerGroup)));
PlayerGroupRemove(lv_lootRingPlayerGroup, lv_randomLootRingPlayer);
lv_randomWeapon = RandomInt(1, lv_remainingWeaponDrops);
if ((lv_randomWeapon <= lv_legendaryDrops)) {
mods/heroesmapmods/battlegroundmapmods/heavenhell.stormmod — base.stormdata/LibMLHH.galaxy:355
lv_randomLootRingPlayer = PlayerGroupPlayer(lv_lootRingPlayerGroup, RandomInt(1, PlayerGroupCount(lv_lootRingPlayerGroup)));
PlayerGroupRemove(lv_lootRingPlayerGroup, lv_randomLootRingPlayer);
UnitCreateEffectPoint(lv_livingCore, "LootExplosionGoldPileSet", PointWithOffsetPolar(lv_deadCorePosition, (lv_distance + RandomFixed(0.0, 0.5)), (libMLHH_gf_HHDetermineAngle(lv_randomLootRingPlayer, lv_lootRingSize) + (lv_angleOffset + RandomFixed(-5.0, 5.0)))));
if ((lv_easterEgg == false)) {
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:1685
AddUnitOfInterest(libMSHE_gv_mMISShrines[libMSHE_gv_mMISCurrentShrine], 14.0, (libMSHE_gv_mMDiabloShrinesShrineTimerWarning + 1.0), "FightAtShrine", libNtve_ge_GoalTeam_Both, 0);
libMSHE_gf_MMISWarningAnnouncementShrine(libMSHE_gv_mMISCurrentShrine);
PlayerGroupRemove(libMSHE_gv_mMISShrineGroup, libMSHE_gv_mMISBuffIndex);
DialogControlSetVisible(libMSHE_gv_mMTowerPushPanel.lv_crystalFrozenIcon, PlayerGroupAll(), false);
DialogControlSetVisible(libMSHE_gv_mMTowerPushPanel.lv_crystalMortarIcon, PlayerGroupAll(), false);
mods/heroesmapmods/battlegroundmapmods/infernalshrines.stormmod — base.stormdata/LibMSHE.galaxy:2491
}
libMSHE_gf_MMISWarningAnnouncementShrine(libMSHE_gv_mMISCurrentShrine);
PlayerGroupRemove(libMSHE_gv_mMISShrineGroup, libMSHE_gv_mMISBuffIndex);
DialogControlSetVisible(libMSHE_gv_mMTowerPushPanel.lv_crystalFrozenIcon, PlayerGroupAll(), false);
DialogControlSetVisible(libMSHE_gv_mMTowerPushPanel.lv_crystalMortarIcon, PlayerGroupAll(), false);
mods/heroesmapmods/battlegroundmapmods/overwatchdata.stormmod — base.stormdata/LibOVER.galaxy:364
}
PlayerGroupRemove(lv_allyPlayerGroup, UnitGetOwner(lv_targetUnit));
TimerStart(lv_eatingTimer, lv_bossEatingDuration, false, c_timeGame);
TextExpressionSetToken("Param/Expression/lib_OVER_1211D4BF", "B", UnitTypeGetName(UnitGetType(lv_targetUnit)));
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:304
if (auto78989EBF_val == 1) {
lv_pointGroup = PlayerGroupPlayer(libMTOD_gv_mMToDScoringAltarRemainingConfigsThreeAltarEvent, RandomInt(1, PlayerGroupCount(libMTOD_gv_mMToDScoringAltarRemainingConfigsThreeAltarEvent)));
PlayerGroupRemove(libMTOD_gv_mMToDScoringAltarRemainingConfigsThreeAltarEvent, lv_pointGroup);
}
else if (auto78989EBF_val == 2) {
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:308
else if (auto78989EBF_val == 2) {
lv_pointGroup = PlayerGroupPlayer(libMTOD_gv_mMToDScoringAltarRemainingConfigs, RandomInt(1, PlayerGroupCount(libMTOD_gv_mMToDScoringAltarRemainingConfigs)));
PlayerGroupRemove(libMTOD_gv_mMToDScoringAltarRemainingConfigs, lv_pointGroup);
}
else if (auto78989EBF_val == 3) {
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:312
else if (auto78989EBF_val == 3) {
lv_pointGroup = PlayerGroupPlayer(libMTOD_gv_mMToDScoringAltarRemainingConfigs, RandomInt(1, PlayerGroupCount(libMTOD_gv_mMToDScoringAltarRemainingConfigs)));
PlayerGroupRemove(libMTOD_gv_mMToDScoringAltarRemainingConfigs, lv_pointGroup);
}
else if (auto78989EBF_val == 4) {
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:316
else if (auto78989EBF_val == 4) {
lv_pointGroup = PlayerGroupPlayer(libMTOD_gv_mMToDScoringAltarRemainingConfigs, RandomInt(1, PlayerGroupCount(libMTOD_gv_mMToDScoringAltarRemainingConfigs)));
PlayerGroupRemove(libMTOD_gv_mMToDScoringAltarRemainingConfigs, lv_pointGroup);
}
else if (auto78989EBF_val == 5) {
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:320
else if (auto78989EBF_val == 5) {
lv_pointGroup = PlayerGroupPlayer(libMTOD_gv_mMToDScoringAltarRemainingConfigsThreeAltarEvent, RandomInt(1, PlayerGroupCount(libMTOD_gv_mMToDScoringAltarRemainingConfigsThreeAltarEvent)));
PlayerGroupRemove(libMTOD_gv_mMToDScoringAltarRemainingConfigsThreeAltarEvent, lv_pointGroup);
}
else if (auto78989EBF_val == 6) {
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:324
else if (auto78989EBF_val == 6) {
lv_pointGroup = PlayerGroupPlayer(libMTOD_gv_mMToDScoringAltarRemainingConfigs, RandomInt(1, PlayerGroupCount(libMTOD_gv_mMToDScoringAltarRemainingConfigs)));
PlayerGroupRemove(libMTOD_gv_mMToDScoringAltarRemainingConfigs, lv_pointGroup);
PlayerGroupClear(libMTOD_gv_mMToDScoringAltarRemainingConfigs);
PlayerGroupAdd(libMTOD_gv_mMToDScoringAltarRemainingConfigs, 1);
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:333
else if (auto78989EBF_val == 7) {
lv_pointGroup = PlayerGroupPlayer(libMTOD_gv_mMToDScoringAltarRemainingConfigs, RandomInt(1, PlayerGroupCount(libMTOD_gv_mMToDScoringAltarRemainingConfigs)));
PlayerGroupRemove(libMTOD_gv_mMToDScoringAltarRemainingConfigs, lv_pointGroup);
}
else if (auto78989EBF_val == 8) {
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:337
else if (auto78989EBF_val == 8) {
lv_pointGroup = PlayerGroupPlayer(libMTOD_gv_mMToDScoringAltarRemainingConfigs, RandomInt(1, PlayerGroupCount(libMTOD_gv_mMToDScoringAltarRemainingConfigs)));
PlayerGroupRemove(libMTOD_gv_mMToDScoringAltarRemainingConfigs, lv_pointGroup);
}
else if (auto78989EBF_val == 9) {
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:341
else if (auto78989EBF_val == 9) {
lv_pointGroup = PlayerGroupPlayer(libMTOD_gv_mMToDScoringAltarRemainingConfigs, RandomInt(1, PlayerGroupCount(libMTOD_gv_mMToDScoringAltarRemainingConfigs)));
PlayerGroupRemove(libMTOD_gv_mMToDScoringAltarRemainingConfigs, lv_pointGroup);
}
else if (auto78989EBF_val == 10) {
mods/heroesmapmods/battlegroundmapmods/towersofdoom.stormmod — base.stormdata/LibMTOD.galaxy:345
else if (auto78989EBF_val == 10) {
lv_pointGroup = PlayerGroupPlayer(libMTOD_gv_mMToDScoringAltarRemainingConfigs, RandomInt(1, PlayerGroupCount(libMTOD_gv_mMToDScoringAltarRemainingConfigs)));
PlayerGroupRemove(libMTOD_gv_mMToDScoringAltarRemainingConfigs, lv_pointGroup);
}
else {
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:159
PlayerGroupAdd(lv_terrazineLaneGroup, 3);
if ((libMSC2_gv_mMSC2FourWarheadsSpawn == true)) {
PlayerGroupRemove(lv_terrazineLaneGroup, libMSC2_gv_mMSC2LastDoubleWarheadLane);
}
else {
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:162
}
else {
PlayerGroupRemove(lv_terrazineLaneGroup, libMSC2_gv_mMSC2LastEmptyWarheadLane);
}
return PlayerGroupPlayer(lv_terrazineLaneGroup, RandomInt(1, PlayerGroupCount(lv_terrazineLaneGroup)));
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:419
if ((libMSC2_gf_MMSC2CountofNukesForPlayer(lv_itPlayer) == 0)) {
UISetButtonFaceHighlighted(libCore_gv_playerGroupFromPlayer[lv_itPlayer], "MapMechanicNuke", false);
PlayerGroupRemove(lv_nukePlayerGroup, lv_itPlayer);
}
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:627
lv_allyTeam = libGame_gf_TeamNumberOfPlayer(lv_player);
lv_allyPlayerGroup = GameAttributePlayersForTeam(lv_allyTeam);
PlayerGroupRemove(lv_allyPlayerGroup, lv_player);
lv_enemyTeam = libGame_gf_EnemyTeam(lv_allyTeam);
lv_enemyPlayerGroup = GameAttributePlayersForTeam(lv_enemyTeam);
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:750
SoundPlayForPlayer(lp_vOSound, c_maxPlayers, PlayerGroupSingle(lp_player), 100.0, 0.0);
SoundWait(SoundLastPlayed(), 0.0, c_soundOffsetEnd);
PlayerGroupRemove(libMSC2_gv_mMSC2VOSoundPlaying, lp_player);
return true;
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:807
if ((PlayerGroupHasPlayer(libLbty_gv_meleeSurrender_PlayersSurrendering, lv_player) == true) && ((PlayerStatus(lv_player) != c_playerStatusActive) || (AIGivingUp(lv_player) == false))) {
PlayerGroupRemove(libLbty_gv_meleeSurrender_PlayersSurrendering, lv_player);
DialogDestroy(libLbty_gv_meleeSurrender_Dialog[lv_player]);
libLbty_gv_meleeSurrender_Dialog[lv_player] = c_invalidDialogId;
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:846
if (lv_player < 0) { break; }
if ((libLbty_gv_meleeSurrender_BtnYes[lv_player] == EventDialogControl())) {
PlayerGroupRemove(libLbty_gv_meleeSurrender_PlayersSurrendering, lv_player);
PlayerGroupAdd(libLbty_gv_meleeSurrender_PlayersTried, lv_player);
DialogDestroy(libLbty_gv_meleeSurrender_Dialog[lv_player]);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:766
if (lv_pickedPlayer < 0) { break; }
if ((libNtve_gf_PlayerInCinematicMode(lv_pickedPlayer) == true)) {
PlayerGroupRemove(lv_validPlayers, lv_pickedPlayer);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:8413
}
else {
PlayerGroupRemove(libCOMI_gv_cM_SharedVisionPlayers[lv_humanPlayer], lv_aIPlayer);
}
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:8493
}
else {
PlayerGroupRemove(libCOMI_gv_cM_SharedVisionPlayers[lp_inTargetPlayer], lp_inSourcePlayer);
}
if ((libCOMI_gv_cM_VisionShareEnabled == false)) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:12315
autoD1FA3909_itPlayer = PlayerGroupPlayer(autoD1FA3909_playerPool, 1);
autoD1FA3909_itTestPool = libCOOC_gf_MutualAlliedCommandersofPlayerCoutInactiveAndSelf(autoD1FA3909_itPlayer);
PlayerGroupRemove(autoD1FA3909_playerPool, autoD1FA3909_itPlayer);
libNtve_gf_RemovePlayerGroupFromPlayerGroup(libNtve_gf_AlliesEnemiesOfPlayerCountInactiveAndSelf(libNtve_ge_PlayerRelation_AllyMutual,autoD1FA3909_itPlayer), autoD1FA3909_playerPool);
if(PlayerGroupCount(autoD1FA3909_itTestPool)){
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:30053
auto62F6BACF_itPlayer = PlayerGroupPlayer(auto62F6BACF_playerPool, 1);
auto62F6BACF_itTestPool = libCOOC_gf_MutualAlliedCommandersofPlayerCoutInactiveAndSelf(auto62F6BACF_itPlayer);
PlayerGroupRemove(auto62F6BACF_playerPool, auto62F6BACF_itPlayer);
libNtve_gf_RemovePlayerGroupFromPlayerGroup(libNtve_gf_AlliesEnemiesOfPlayerCountInactiveAndSelf(libNtve_ge_PlayerRelation_AllyMutual,auto62F6BACF_itPlayer), auto62F6BACF_playerPool);
if(PlayerGroupCount(auto62F6BACF_itTestPool)){
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:1374
// Implementation
PlayerGroupRemove(lv_group, lp_player);
if ((PlayerGroupCount(lv_group) > 0)) {
return PlayerGroupPlayer(lv_group, 1);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:1396
// Implementation
PlayerGroupRemove(lv_group, lp_player);
return PlayerGroupPlayer(lv_group, 1);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:3843
if ((UserDataGetInt("PlayerResponse", lp_response, "Ally", 1) == 1)) {
lv_allygroup = libCOOC_gf_CommanderPlayers();
PlayerGroupRemove(lv_allygroup, lp_player);
auto9B0ABC36_g = lv_allygroup;
lv_ally = -1;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:5644
// Automatic Variable Declarations
// Implementation
PlayerGroupRemove(libCOOC_gv_cC_NondefeatedPlayerGroup, lp_player);
}
mods/warcoop/warcoopdata.sc2mod — base.sc2data/TriggerLibs/WarCoopData.galaxy:504
if (auto8BB4E0A1_var < 0) { break; }
if ((PlayerType(auto8BB4E0A1_var) != c_playerTypeUser)) {
PlayerGroupRemove(lv_humanPlayers, auto8BB4E0A1_var);
}