# Remove Player Group From Player Group

Grammar — Remove all players in sourceGroup|Source Player Group from targetGroup|Target Player Group
FlagsAction

Removes all the players in one player group from another player group.

# Arguments

  • playergroup — Source Group
  • playergroup — Target Group

Returns — void

void libNtve_gf_RemovePlayerGroupFromPlayerGroup(
	playergroup lp_sourceGroup,
	playergroup lp_targetGroup,
);

Category: Player Group / Groups

# Examples

# mods/heroesdata.stormmod

StartingExperienceLib.galaxy

// L1097
libNtve_gf_RemovePlayerGroupFromPlayerGroup(lv_playersFinished, libStEx_gv_sEMMIntroPlayersWatching)
// L2289
libNtve_gf_RemovePlayerGroupFromPlayerGroup(lv_playersFinished, lv_playersInIntro)

# mods/heroesdata.stormmod

UILib.galaxy

// L3460
libNtve_gf_RemovePlayerGroupFromPlayerGroup(lp_playerGroupToExclude, lv_playerGroup)
// L3488
libNtve_gf_RemovePlayerGroupFromPlayerGroup(lp_playerGroupToExclude, lv_playerGroup)

# mods/liberty.sc2mod

LibertyLib.galaxy

// L276
libNtve_gf_RemovePlayerGroupFromPlayerGroup(libLbty_gv_pingValidPlayers, lv_standardPlayers)
// L298
libNtve_gf_RemovePlayerGroupFromPlayerGroup(lp_players, libLbty_gv_pingValidPlayers)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L3430
libNtve_gf_RemovePlayerGroupFromPlayerGroup(lp_players, libCOMI_gv_cM_CoopAI_DontPingPlayers)
// L10665
libNtve_gf_RemovePlayerGroupFromPlayerGroup(lv_alarakPlayers, lv_notAlarakPlayers)
// L12313
libNtve_gf_RemovePlayerGroupFromPlayerGroup(libNtve_gf_AlliesEnemiesOfPlayerCountInactiveAndSelf(libNtve_ge_PlayerRelation_AllyMutual,autoD1FA3909_itPlayer), autoD1FA3909_playerPool)
// L30046
libNtve_gf_RemovePlayerGroupFromPlayerGroup(libNtve_gf_AlliesEnemiesOfPlayerCountInactiveAndSelf(libNtve_ge_PlayerRelation_AllyMutual,auto62F6BACF_itPlayer), auto62F6BACF_playerPool)