# Players On Team

Grammar — Players on team team
FlagsNative | Function

Returns players on a given team, as determined by the game lobby before the game started.

# Arguments

  • int — Team

Returns — playergroup

native playergroup GameAttributePlayersForTeam(int team);

Category: Game / Game Settings

# Examples

# mods/heroesbrawlmods/arenamodemods/arenamode.stormmod

LibAREN.galaxy

// L1003
GameAttributePlayersForTeam(lp_team)
// L1413
GameAttributePlayersForTeam(lp_team)
// L1416
GameAttributePlayersForTeam(lp_team)

# mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod

LibAMGT.galaxy

// L1254
GameAttributePlayersForTeam(lp_team)
// L1256
GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lp_team))
// L1257
GameAttributePlayersForTeam(lp_team)
// L1258
GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lp_team))

# mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod

LibMDoE.galaxy

// L805
GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C)
// L806
GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C)
// L1678
GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_attackingTeam)
// L1679
GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_defendingTeam)
// L1680
GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_defendingTeam)
// L1681
GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_attackingTeam)
// L3364
GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C)
// L3371
GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C)
// L3380
GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C)
// L3387
GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C)

# mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmod

LibMHPP.galaxy

// L1931
GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C)
// L1938
GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C)

# mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmod

LibIGHS.galaxy

// L502
GameAttributePlayersForTeam(lp_team)

# mods/heroesdata.stormmod

GameLib.galaxy

// L12783
GameAttributePlayersForTeam(lv_itTeam)
// L12784
GameAttributePlayersForTeam(lv_itTeam)
// L12794
GameAttributePlayersForTeam(lv_itTeam)
// L12795
GameAttributePlayersForTeam(lv_itTeam)
// L12841
GameAttributePlayersForTeam(1)
// L12848
GameAttributePlayersForTeam(2)
// L12857
GameAttributePlayersForTeam(1)
// L12864
GameAttributePlayersForTeam(2)
// L12871
GameAttributePlayersForTeam(2)

# mods/heroesdata.stormmod

UILib.galaxy

// L2872
GameAttributePlayersForTeam(lp_opposingTeamId)
// L15392
GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C)
// L15420
GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C)

# mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmod

LibMMAP.galaxy

// L112
GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C)
// L124
GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C)

# mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod

LibMLCP.galaxy

// L2222
GameAttributePlayersForTeam(lp_fromTeam)
// L2223
GameAttributePlayersForTeam(lv_enemyTeam)
// L2225
GameAttributePlayersForTeam(lp_fromTeam)
// L2228
GameAttributePlayersForTeam(lv_enemyTeam)

# mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmod

LibVLSK.galaxy

// L1093
GameAttributePlayersForTeam(lp_victoryTeam)
// L1094
GameAttributePlayersForTeam(lp_victoryTeam)
// L1095
GameAttributePlayersForTeam(lv_losingTeam)
// L1096
GameAttributePlayersForTeam(lv_losingTeam)

# mods/heroesmapmods/battlegroundmapmods/volskayasound.stormmod

LibVLSS.galaxy

// L196
GameAttributePlayersForTeam(lv_capturingTeam)
// L197
GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lv_capturingTeam))

# mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod

LibMSC2.galaxy

// L626
GameAttributePlayersForTeam(lv_allyTeam)
// L629
GameAttributePlayersForTeam(lv_enemyTeam)
// L1840
GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lv_team))
// L1905
GameAttributePlayersForTeam(lv_team)
// L1911
GameAttributePlayersForTeam(lv_enemyTeam)
// L2252
GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lv_team))