# Players On Team
Grammar — Players on team team
Flags —Native
|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);
# Related
Category: Game / Game Settings
- Map Initialization —
void
— TriggerAddEventMapInit - Save Game Started —
void
— TriggerAddEventSaveGame - Save Game Finished —
void
— TriggerAddEventSaveGameDone - Load Game Finished —
void
— TriggerAddEventLoadGameDone - Set Game Speed —
void
— GameSetSpeedValue - Game Set Quit On Quit Button —
void
— GameSetQuitOnQuitButton - Set Global Time Scale —
void
— GameSetGlobalTimeScale - Pause Mission Time —
void
— GameSetMissionTimePaused - Mission Time Paused —
bool
— GameIsMissionTimePaused - Mission Time —
fixed
— GameGetMissionTime - Set Minimum Game Speed —
void
— GameSetSpeedValueMinimum - Lock Game Speed —
void
— GameSetSpeedLocked - Game Speed Factor —
fixed
— GameGetSpeed - Game Speed —
int
<preset::GameSpeed> — GameGetSpeedValue - Global Time Scale —
fixed
— GameGetGlobalTimeScale - Game Speed Minimum —
int
<preset::GameSpeed> — GameGetSpeedValueMinimum - Game Speed Is Locked —
bool
— GameIsSpeedLocked - Attribute Game Value —
string
<attributevalue> — GameAttributeGameValue - Attribute Player Value —
string
<attributevalue> — GameAttributePlayerValue - Players On Team —
playergroup
— GameAttributePlayersForTeam - Turn Fixed Random Seed On/Off —
void
— GameSetSeedLocked - Random Seed Is Locked —
bool
— GameIsSeedLocked - Set Random Seed —
void
— GameSetSeed - Create Saved Game —
void
— GameSaveCreate - Set Game Pausing Allowed —
void
— GameSetPauseable - Set Tradeshow Game Time Remaining —
void
— GameSetAbsoluteTimeRemaining - Pause Tradeshow Game Time Remaining —
void
— GameSetAbsoluteTimeRemainingPaused - Tradeshow Game Time Remaining —
fixed
— GameGetAbsoluteTimeRemaining - Tradeshow Game Time Remaining Is Paused —
bool
— GameGetAbsoluteTimeRemainingPaused - Map Name —
text
— GameMapName - Map Path —
string
— GameMapPath - Map Description —
text
— GameMapDescription - Map Is Blizzard —
bool
— GameMapIsBlizzard - Map Texture Set —
string
<gamelink::Terrain> — GameTerrainSet - Game Is Test —
bool
— GameIsTestMap - Game Is Examinable —
bool
— GameIsExaminable - Game Get Test Config Type —
int
— GameTestConfigType - Game Is Online —
bool
— GameIsOnline - Game Is Debug Option Set —
bool
— GameIsDebugOptionSet - Game Is Matchmade —
bool
— GameIsMatchmade - Game Is Competitive —
bool
— GameIsCompetitive - Game Is Practice —
bool
— GameIsPractice - Game Is Cooperative —
bool
— GameIsCooperative - Game Allows Duplicate Heroes —
bool
— GameAreHeroDuplicatesAllowed
# Examples
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:1003
if ((lp_team > 0)) {
SoundPlayForPlayer(lp_sound, c_maxPlayers, GameAttributePlayersForTeam(lp_team), 100.0, 0.0);
}
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:1413
autoCE1EA37E_val = libAREN_gv_victoriesCount;
if (autoCE1EA37E_val == 2) {
DialogControlSendAnimationEvent(DialogControlLastCreated(), GameAttributePlayersForTeam(lp_team), ("Team" + IntToString(libAREN_gv_aRM_RoundWinningTeam) + "Victory" + IntToString(libAREN_gv_aRM_RoundScore[libAREN_gv_aRM_RoundWinningTeam])));
}
else if (autoCE1EA37E_val == 3) {
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:1416
}
else if (autoCE1EA37E_val == 3) {
DialogControlSendAnimationEvent(DialogControlLastCreated(), GameAttributePlayersForTeam(lp_team), ("Bo5Team" + IntToString(libAREN_gv_aRM_RoundWinningTeam) + "Victory" + IntToString(libAREN_gv_aRM_RoundScore[libAREN_gv_aRM_RoundWinningTeam])));
}
else {
mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod — base.stormdata/LibAMGT.galaxy:1254
// Implementation
TextExpressionSetToken("Param/Expression/lib_AMGT_BCCF627C", "Seeds", IntToText(lp_seeds));
libNtve_gf_SetDialogItemText(libAMGT_gv_aRMGardenPanel.lv_progressNotificationLabel[lp_team], TextExpressionAssemble("Param/Expression/lib_AMGT_BCCF627C"), GameAttributePlayersForTeam(lp_team));
TextExpressionSetToken("Param/Expression/lib_AMGT_930A0D1C", "Seeds", IntToText(lp_seeds));
libNtve_gf_SetDialogItemText(libAMGT_gv_aRMGardenPanel.lv_progressNotificationLabel[lp_team], TextExpressionAssemble("Param/Expression/lib_AMGT_930A0D1C"), GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lp_team)));
mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod — base.stormdata/LibAMGT.galaxy:1256
libNtve_gf_SetDialogItemText(libAMGT_gv_aRMGardenPanel.lv_progressNotificationLabel[lp_team], TextExpressionAssemble("Param/Expression/lib_AMGT_BCCF627C"), GameAttributePlayersForTeam(lp_team));
TextExpressionSetToken("Param/Expression/lib_AMGT_930A0D1C", "Seeds", IntToText(lp_seeds));
libNtve_gf_SetDialogItemText(libAMGT_gv_aRMGardenPanel.lv_progressNotificationLabel[lp_team], TextExpressionAssemble("Param/Expression/lib_AMGT_930A0D1C"), GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lp_team)));
DialogControlSendAnimationEvent(libAMGT_gv_aRMGardenPanel.lv_progressNotification[lp_team], GameAttributePlayersForTeam(lp_team), "ShowStandardNotification");
DialogControlSendAnimationEvent(libAMGT_gv_aRMGardenPanel.lv_progressNotification[lp_team], GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lp_team)), "ShowEnemyNotification");
mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod — base.stormdata/LibAMGT.galaxy:1257
TextExpressionSetToken("Param/Expression/lib_AMGT_930A0D1C", "Seeds", IntToText(lp_seeds));
libNtve_gf_SetDialogItemText(libAMGT_gv_aRMGardenPanel.lv_progressNotificationLabel[lp_team], TextExpressionAssemble("Param/Expression/lib_AMGT_930A0D1C"), GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lp_team)));
DialogControlSendAnimationEvent(libAMGT_gv_aRMGardenPanel.lv_progressNotification[lp_team], GameAttributePlayersForTeam(lp_team), "ShowStandardNotification");
DialogControlSendAnimationEvent(libAMGT_gv_aRMGardenPanel.lv_progressNotification[lp_team], GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lp_team)), "ShowEnemyNotification");
}
mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod — base.stormdata/LibAMGT.galaxy:1258
libNtve_gf_SetDialogItemText(libAMGT_gv_aRMGardenPanel.lv_progressNotificationLabel[lp_team], TextExpressionAssemble("Param/Expression/lib_AMGT_930A0D1C"), GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lp_team)));
DialogControlSendAnimationEvent(libAMGT_gv_aRMGardenPanel.lv_progressNotification[lp_team], GameAttributePlayersForTeam(lp_team), "ShowStandardNotification");
DialogControlSendAnimationEvent(libAMGT_gv_aRMGardenPanel.lv_progressNotification[lp_team], GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lp_team)), "ShowEnemyNotification");
}
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:805
if (auto6D4F9666_var == null) { break; }
TextTagCreate(StringExternal("Param/Value/lib_MDoE_6160E190"), 24, UnitGetPosition(auto6D4F9666_var), 2.0, true, false, PlayerGroupAll());
TextTagShow(TextTagLastCreated(), GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C), true);
TextTagShow(TextTagLastCreated(), GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C), false);
libCore_gf_StoreTextTagForUnit(auto6D4F9666_var, libGame_gv_teamOrderIndex_C, TextTagLastCreated());
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:806
TextTagCreate(StringExternal("Param/Value/lib_MDoE_6160E190"), 24, UnitGetPosition(auto6D4F9666_var), 2.0, true, false, PlayerGroupAll());
TextTagShow(TextTagLastCreated(), GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C), true);
TextTagShow(TextTagLastCreated(), GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C), false);
libCore_gf_StoreTextTagForUnit(auto6D4F9666_var, libGame_gv_teamOrderIndex_C, TextTagLastCreated());
TextTagCreate(StringExternal("Param/Value/lib_MDoE_A3F58C13"), 24, UnitGetPosition(auto6D4F9666_var), 2.0, true, false, PlayerGroupAll());
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:1678
// Automatic Variable Declarations
// Implementation
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_boatIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_attackingTeam), true);
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_boatIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_defendingTeam), false);
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_cannonballIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_defendingTeam), true);
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:1679
// Implementation
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_boatIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_attackingTeam), true);
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_boatIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_defendingTeam), false);
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_cannonballIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_defendingTeam), true);
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_cannonballIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_attackingTeam), false);
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:1680
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_boatIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_attackingTeam), true);
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_boatIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_defendingTeam), false);
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_cannonballIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_defendingTeam), true);
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_cannonballIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_attackingTeam), false);
}
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:1681
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_boatIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_defendingTeam), false);
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_cannonballIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_defendingTeam), true);
DialogControlSetVisible(libMDoE_gv_mDoeUITopPanel.lv_cannonballIcon, GameAttributePlayersForTeam(libAtDe_gv_attackDefend.lv_attackingTeam), false);
}
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:3364
if ((libAtDe_gv_attackDefend.lv_lastWinningTeam == 0)) {
autoE9A39094_g = GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C);
autoE9A39094_var = -1;
while (true) {
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:3371
libIGHS_gf_SetShuffleScreenExtraInfoTextForPlayer(autoE9A39094_var, StringExternal("Param/Value/lib_MDoE_AD8CFA7F"));
}
autoABF12920_g = GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C);
autoABF12920_var = -1;
while (true) {
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:3380
}
else {
auto12C611F1_g = GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C);
auto12C611F1_var = -1;
while (true) {
mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod — base.stormdata/LibMDoE.galaxy:3387
libIGHS_gf_SetShuffleScreenExtraInfoTextForPlayer(auto12C611F1_var, StringExternal("Param/Value/lib_MDoE_AA2BAFAD"));
}
auto57061799_g = GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C);
auto57061799_var = -1;
while (true) {
mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmod — base.stormdata/LibMHPP.galaxy:1931
}
autoA582E9C0_g = GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C);
autoA582E9C0_var = -1;
while (true) {
mods/heroesbrawlmods/brawlmapmods/hanamurapayloadpush.stormmod — base.stormdata/LibMHPP.galaxy:1938
libIGHS_gf_SetShuffleScreenExtraInfoTextForPlayer(autoA582E9C0_var, StringExternal("Param/Value/lib_MHPP_AAC0ED64"));
}
auto6FEF1769_g = GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C);
auto6FEF1769_var = -1;
while (true) {
mods/heroesbrawlmods/heroselectionmods/ingameheroselection.stormmod — base.stormdata/LibIGHS.galaxy:502
// Implementation
autoCC13BDCD_g = GameAttributePlayersForTeam(lp_team);
lv_player = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12783
lv_itTeam = (libCore_gv_bALMaxTeams + 1);
for ( ; ( (auto1FB8724F_ai >= 0 && lv_itTeam <= auto1FB8724F_ae) || (auto1FB8724F_ai < 0 && lv_itTeam >= auto1FB8724F_ae) ) ; lv_itTeam += auto1FB8724F_ai ) {
lv_group = GameAttributePlayersForTeam(lv_itTeam);
if ((PlayerGroupCount(GameAttributePlayersForTeam(lv_itTeam)) > 0)) {
TriggerDebugOutput(1, StringExternal("Param/Value/lib_Game_CD5979A1"), true);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12784
for ( ; ( (auto1FB8724F_ai >= 0 && lv_itTeam <= auto1FB8724F_ae) || (auto1FB8724F_ai < 0 && lv_itTeam >= auto1FB8724F_ae) ) ; lv_itTeam += auto1FB8724F_ai ) {
lv_group = GameAttributePlayersForTeam(lv_itTeam);
if ((PlayerGroupCount(GameAttributePlayersForTeam(lv_itTeam)) > 0)) {
TriggerDebugOutput(1, StringExternal("Param/Value/lib_Game_CD5979A1"), true);
UIDisplayMessage(PlayerGroupAll(), c_messageAreaChat, StringExternal("Param/Value/lib_Game_EBB4B199"));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12794
lv_itTeam = 1;
for ( ; ( (autoF679E39A_ai >= 0 && lv_itTeam <= autoF679E39A_ae) || (autoF679E39A_ai < 0 && lv_itTeam >= autoF679E39A_ae) ) ; lv_itTeam += autoF679E39A_ai ) {
lv_group = GameAttributePlayersForTeam(lv_itTeam);
if ((PlayerGroupCount(GameAttributePlayersForTeam(lv_itTeam)) > libCore_gv_bALMaxPlayersOnATeam)) {
TextExpressionSetToken("Param/Expression/lib_Game_24D5C381", "A", IntToText(lv_itTeam));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12795
for ( ; ( (autoF679E39A_ai >= 0 && lv_itTeam <= autoF679E39A_ae) || (autoF679E39A_ai < 0 && lv_itTeam >= autoF679E39A_ae) ) ; lv_itTeam += autoF679E39A_ai ) {
lv_group = GameAttributePlayersForTeam(lv_itTeam);
if ((PlayerGroupCount(GameAttributePlayersForTeam(lv_itTeam)) > libCore_gv_bALMaxPlayersOnATeam)) {
TextExpressionSetToken("Param/Expression/lib_Game_24D5C381", "A", IntToText(lv_itTeam));
TextExpressionSetToken("Param/Expression/lib_Game_24D5C381", "B", IntToText(libCore_gv_bALMaxPlayersOnATeam));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12841
PlayerSetColorIndex(libCore_gv_cOMPUTER_Hostile, libCore_gv_cOLORHostilePlayerColor, true);
if (((libCore_gv_sYSGameMode == libCore_ge_GameModes_Normal) || (libCore_gv_sYSGameMode == libCore_ge_GameModes_Sandbox) || (libCore_gv_sYSGameMode == libCore_ge_GameModes_ArenaMode) || (libCore_gv_sYSGameMode == libCore_ge_GameModes_AttackDefend))) {
auto626F615F_g = GameAttributePlayersForTeam(1);
lv_index = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12848
libGame_gf_InitializePlayer(lv_index, libGame_ge_Faction_Order);
}
auto11030675_g = GameAttributePlayersForTeam(2);
lv_index = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12857
}
else if ((libCore_gv_sYSGameMode == libCore_ge_GameModes_ModeC)) {
autoDBA1FFB8_g = GameAttributePlayersForTeam(1);
lv_index = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12864
libGame_gf_InitializePlayer(lv_index, libGame_ge_Faction_Order);
}
auto7B3D2C45_g = GameAttributePlayersForTeam(2);
lv_index = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:12871
libGame_gf_InitializePlayer(lv_index, libGame_ge_Faction_Chaos);
}
lv_itPlayer = (PlayerGroupCount(GameAttributePlayersForTeam(2)) + 1);
for ( ; ( (autoC5488CAB_ai >= 0 && lv_itPlayer <= autoC5488CAB_ae) || (autoC5488CAB_ai < 0 && lv_itPlayer >= autoC5488CAB_ae) ) ; lv_itPlayer += autoC5488CAB_ai ) {
lv_itPlayer1 = libCore_gv_bALMaxPlayers;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:2872
// Implementation
autoDA051515_g = GameAttributePlayersForTeam(lp_opposingTeamId);
lv_itPlayer = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:15392
}
autoC16A080A_g = GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C);
lv_Player = -1;
while (true) {
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:15420
break;
}
auto243DAC2A_g = GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C);
lv_Player = -1;
while (true) {
mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmod — base.stormdata/LibMMAP.galaxy:112
// Implementation
auto4A4F15F9_g = GameAttributePlayersForTeam(libGame_gv_teamOrderIndex_C);
auto4A4F15F9_var = -1;
while (true) {
mods/heroesmapmods/battlegroundmapmods/alteracpass.stormmod — base.stormdata/LibMMAP.galaxy:124
libGame_gv_players[auto4A4F15F9_var].lv_lootContent.lv_loot_AnnouncerPack.lv_announcerVOLines[libCore_ge_AnnouncerVOEvents_MVPVoteLegendary].lv_playAtGameEnd = true;
}
auto9CB6EE60_g = GameAttributePlayersForTeam(libGame_gv_teamChaosIndex_C);
auto9CB6EE60_var = -1;
while (true) {
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:2222
libNtve_gf_SetDialogItemText(lv_label, IntToText(lp_damage), PlayerGroupAll());
lv_enemyTeam = libGame_gf_EnemyTeam(lp_fromTeam);
libNtve_gf_SetDialogItemStyle(lv_label, "Storm_MapMechanic_MechanicSmallCounter_Blue", GameAttributePlayersForTeam(lp_fromTeam));
libNtve_gf_SetDialogItemStyle(lv_label, "Storm_MapMechanic_MechanicSmallCounter_Red", GameAttributePlayersForTeam(lv_enemyTeam));
if ((lp_fromTeam == libGame_gv_teamOrderIndex_C)) {
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:2223
lv_enemyTeam = libGame_gf_EnemyTeam(lp_fromTeam);
libNtve_gf_SetDialogItemStyle(lv_label, "Storm_MapMechanic_MechanicSmallCounter_Blue", GameAttributePlayersForTeam(lp_fromTeam));
libNtve_gf_SetDialogItemStyle(lv_label, "Storm_MapMechanic_MechanicSmallCounter_Red", GameAttributePlayersForTeam(lv_enemyTeam));
if ((lp_fromTeam == libGame_gv_teamOrderIndex_C)) {
libNtve_gf_SetDialogItemStyle(lv_label, "Storm_MapMechanic_MechanicSmallCounter_Blue", GameAttributePlayersForTeam(lp_fromTeam));
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:2225
libNtve_gf_SetDialogItemStyle(lv_label, "Storm_MapMechanic_MechanicSmallCounter_Red", GameAttributePlayersForTeam(lv_enemyTeam));
if ((lp_fromTeam == libGame_gv_teamOrderIndex_C)) {
libNtve_gf_SetDialogItemStyle(lv_label, "Storm_MapMechanic_MechanicSmallCounter_Blue", GameAttributePlayersForTeam(lp_fromTeam));
}
else {
mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod — base.stormdata/LibMLCP.galaxy:2228
}
else {
libNtve_gf_SetDialogItemStyle(lv_label, "Storm_MapMechanic_MechanicSmallCounter_Red", GameAttributePlayersForTeam(lv_enemyTeam));
}
DialogControlSetEnabled(lv_label, PlayerGroupAll(), false);
mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmod — base.stormdata/LibVLSK.galaxy:1093
// Implementation
libNtve_gf_SetDialogItemStyle(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, "Storm_MapMechanic_MechanicTimerCentered_Blue", GameAttributePlayersForTeam(lp_victoryTeam));
libNtve_gf_SetDialogItemText(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, StringExternal("Param/Value/lib_VLSK_92476A52"), GameAttributePlayersForTeam(lp_victoryTeam));
libNtve_gf_SetDialogItemStyle(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, "Storm_MapMechanic_MechanicTimerCentered_Red", GameAttributePlayersForTeam(lv_losingTeam));
mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmod — base.stormdata/LibVLSK.galaxy:1094
// Implementation
libNtve_gf_SetDialogItemStyle(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, "Storm_MapMechanic_MechanicTimerCentered_Blue", GameAttributePlayersForTeam(lp_victoryTeam));
libNtve_gf_SetDialogItemText(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, StringExternal("Param/Value/lib_VLSK_92476A52"), GameAttributePlayersForTeam(lp_victoryTeam));
libNtve_gf_SetDialogItemStyle(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, "Storm_MapMechanic_MechanicTimerCentered_Red", GameAttributePlayersForTeam(lv_losingTeam));
libNtve_gf_SetDialogItemText(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, StringExternal("Param/Value/lib_VLSK_4D8B96E5"), GameAttributePlayersForTeam(lv_losingTeam));
mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmod — base.stormdata/LibVLSK.galaxy:1095
libNtve_gf_SetDialogItemStyle(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, "Storm_MapMechanic_MechanicTimerCentered_Blue", GameAttributePlayersForTeam(lp_victoryTeam));
libNtve_gf_SetDialogItemText(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, StringExternal("Param/Value/lib_VLSK_92476A52"), GameAttributePlayersForTeam(lp_victoryTeam));
libNtve_gf_SetDialogItemStyle(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, "Storm_MapMechanic_MechanicTimerCentered_Red", GameAttributePlayersForTeam(lv_losingTeam));
libNtve_gf_SetDialogItemText(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, StringExternal("Param/Value/lib_VLSK_4D8B96E5"), GameAttributePlayersForTeam(lv_losingTeam));
DialogControlSetVisible(libVLSK_gv_volskayaUI.lv_slideout_TimerLabel, PlayerGroupAll(), false);
mods/heroesmapmods/battlegroundmapmods/volskayamechanics.stormmod — base.stormdata/LibVLSK.galaxy:1096
libNtve_gf_SetDialogItemText(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, StringExternal("Param/Value/lib_VLSK_92476A52"), GameAttributePlayersForTeam(lp_victoryTeam));
libNtve_gf_SetDialogItemStyle(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, "Storm_MapMechanic_MechanicTimerCentered_Red", GameAttributePlayersForTeam(lv_losingTeam));
libNtve_gf_SetDialogItemText(libVLSK_gv_volskayaUI.lv_slideout_InfoLabel, StringExternal("Param/Value/lib_VLSK_4D8B96E5"), GameAttributePlayersForTeam(lv_losingTeam));
DialogControlSetVisible(libVLSK_gv_volskayaUI.lv_slideout_TimerLabel, PlayerGroupAll(), false);
DialogControlSendAnimationEvent(libVLSK_gv_volskayaUI.lv_slideout_ToastNotification, PlayerGroupAll(), "Show");
mods/heroesmapmods/battlegroundmapmods/volskayasound.stormmod — base.stormdata/LibVLSS.galaxy:196
}
SoundPlayForPlayer(SoundLink("UI_Game_Ping_Volskaya_CapturePoint_Win_Ally", -1), c_maxPlayers, GameAttributePlayersForTeam(lv_capturingTeam), 60.0, 0.0);
SoundPlayForPlayer(SoundLink("UI_Game_Ping_Volskaya_CapturePoint_Win_Enemy", -1), c_maxPlayers, GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lv_capturingTeam)), 60.0, 0.0);
ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_ally_LoopingSound, "Destroy");
mods/heroesmapmods/battlegroundmapmods/volskayasound.stormmod — base.stormdata/LibVLSS.galaxy:197
SoundPlayForPlayer(SoundLink("UI_Game_Ping_Volskaya_CapturePoint_Win_Ally", -1), c_maxPlayers, GameAttributePlayersForTeam(lv_capturingTeam), 60.0, 0.0);
SoundPlayForPlayer(SoundLink("UI_Game_Ping_Volskaya_CapturePoint_Win_Enemy", -1), c_maxPlayers, GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lv_capturingTeam)), 60.0, 0.0);
ActorSend(libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_ally_LoopingSound, "Destroy");
libVLSS_gv_cPSounds[libGame_gv_teamOrderIndex_C].lv_ally_LoopingSound = null;
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:626
lv_player = UnitGetOwner(lp_unit);
lv_allyTeam = libGame_gf_TeamNumberOfPlayer(lv_player);
lv_allyPlayerGroup = GameAttributePlayersForTeam(lv_allyTeam);
PlayerGroupRemove(lv_allyPlayerGroup, lv_player);
lv_enemyTeam = libGame_gf_EnemyTeam(lv_allyTeam);
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:629
PlayerGroupRemove(lv_allyPlayerGroup, lv_player);
lv_enemyTeam = libGame_gf_EnemyTeam(lv_allyTeam);
lv_enemyPlayerGroup = GameAttributePlayersForTeam(lv_enemyTeam);
libMSC2_gf_MMSC2TransmissionPlayerFiresNuke(lv_player);
libGame_gf_ScoreValuesReportIntegerValueAndLog(lv_player, "CarriedMechanic", 0);
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:1840
libGame_gf_DropLootBannerinSconce(UnitGroupUnit(UnitGroup("LootBannerSconce", c_playerAny, RegionCircle(lv_canisterLoc, 7.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), 1), libGame_gv_players[UnitGetOwner(lv_casterUnit)].lv_lootContent.lv_loot_Banner.lv_bannerID, UnitGetOwner(lv_casterUnit), true);
TextTagDestroy(libCore_gf_TextTagStoredForUnit(lv_itUnit, 1));
SoundPlayForPlayer(SoundLink("Event_Warhead_CollectUranium_Enemy", -1), c_maxPlayers, GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lv_team)), 100.0, 0.0);
libMSC2_gf_MMSC2TransmissionPlayerCollectsNuke(UnitGetOwner(EventPlayerEffectUsedUnit(c_effectUnitCaster)));
auto41DFD837_val = lv_team;
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:1905
lv_enemyTeam = libGame_gf_EnemyTeam(lv_team);
lv_target = EventPlayerEffectUsedPoint(c_effectLocationTargetPoint);
libCore_gf_CreateMinimapPingStorm(GameAttributePlayersForTeam(lv_team), "NukeLaunchPing", lv_target, libCore_gv_cOLORAllyColor, 5.0);
if ((lv_team == libGame_gv_teamOrderIndex_C)) {
libCore_gf_CreateMinimapPingStorm(libCore_gv_playerGroupFromPlayer[libCore_gv_oBSERVER_ObserverUIPlayer], "NukeLaunchPing", lv_target, libCore_gv_cOLORAllyColor, 5.0);
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:1911
libMSC2_gv_mMSC2NukeCalldownPiing[lv_calldownPlayer][lv_team] = PingLastCreated();
libCore_gf_CreateMinimapPingStorm(GameAttributePlayersForTeam(lv_enemyTeam), "NukeLaunchPing", lv_target, libCore_gv_cOLOREnemyColor, 5.0);
if ((lv_team == libGame_gv_teamChaosIndex_C)) {
libCore_gf_CreateMinimapPingStorm(libCore_gv_playerGroupFromPlayer[libCore_gv_oBSERVER_ObserverUIPlayer], "NukeLaunchPing", lv_target, libCore_gv_cOLOREnemyColor, 5.0);
mods/heroesmapmods/battlegroundmapmods/warheadjunction.stormmod — base.stormdata/LibMSC2.galaxy:2252
libMSC2_gf_MMSC2ArmNukeForUnit(lv_casterUnit);
TextTagDestroy(libCore_gf_TextTagStoredForUnit(lv_warheadUnit, 1));
SoundPlayForPlayer(SoundLink("Event_Warhead_CollectUranium_Enemy", -1), c_maxPlayers, GameAttributePlayersForTeam(libGame_gf_EnemyTeam(lv_team)), 100.0, 0.0);
libMSC2_gf_MMSC2TransmissionPlayerCollectsNuke(UnitGetOwner(lv_casterUnit));
auto64AB9075_val = lv_team;