# Enable/Disable All Score Tracking
Grammar — enable|Enable/Disable all score tracking for player inPlayer
Flags —Native
|Action
Enables or disables all score tracking for the specified player.
# Arguments
int
— Playerbool
<preset::Enable_Disable_Option> — Enable
Returns — void
native void PlayerScoreValueEnableAll(
int player,
bool enable,
);
# Related
Category: Story / Victory Panel
- Victory Panel Play Mission Again —
void
— TriggerAddEventVictoryPanelPlayMissionAgain - Victory Panel Exited —
void
— TriggerAddEventVictoryPanelExit - Selected Victory Difficulty —
int
<difficulty> — EventVictoryPanelDifficultySelected - Set Victory Panel Victory Text —
void
— VictoryPanelSetVictoryText - Set Victory Panel Mission Title —
void
— VictoryPanelSetMissionTitle - Set Victory Panel Mission Text —
void
— VictoryPanelSetMissionText - Set Victory Panel Time Title —
void
— VictoryPanelSetMissionTimeTitle - Set Victory Panel Time Text —
void
— VictoryPanelSetMissionTimeText - Set Victory Panel Reward Title —
void
— VictoryPanelSetRewardTitle - Set Victory Panel Reward Text —
void
— VictoryPanelSetRewardText - Set Victory Panel Reward Credits —
void
— VictoryPanelSetRewardCredits - Set Victory Panel Achievements Title —
void
— VictoryPanelSetAchievementsTitle - Add Victory Panel Achievement —
void
— VictoryPanelAddAchievement - Set Victory Panel Statistics Title —
void
— VictoryPanelSetStatisticsTitle - Add Victory Panel Tracked Statistic —
void
— VictoryPanelAddTrackedStatistic - Enable/Disable All Score Tracking —
void
— PlayerScoreValueEnableAll - Enable/Disable Score Tracking —
void
— PlayerScoreValueEnable - Add Victory Panel Custom Statistic Line —
void
— VictoryPanelAddCustomStatisticLine - Set Victory Panel Custom Statistic Text —
void
— VictoryPanelSetCustomStatisticText - Set Victory Panel Custom Statistic Value —
void
— VictoryPanelSetCustomStatisticValue - Clear Victory Panel Custom Statistic Table —
void
— VictoryPanelClearCustomStatisticTable - Set Victory Panel Background Model —
void
— VictoryPanelSetPlanetModelLink - Set Victory Panel Background Image —
void
— VictoryPanelSetBackgroundFilePath - Set Victory Panel Summary Background Image —
void
— VictoryPanelSetSummaryBackgroundFilePath
# Examples
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:15820
auto55108C9F_var = PlayerGroupNextPlayer(auto55108C9F_g, auto55108C9F_var);
if (auto55108C9F_var < 0) { break; }
PlayerScoreValueEnableAll(auto55108C9F_var, false);
}
libNtve_gf_SetUpgradeLevelForPlayer(1, "InCinematic", 1);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16058
auto2D1628C0_var = PlayerGroupNextPlayer(auto2D1628C0_g, auto2D1628C0_var);
if (auto2D1628C0_var < 0) { break; }
PlayerScoreValueEnableAll(auto2D1628C0_var, true);
}
libSwaC_gf_DifficultySetting(PlayerDifficulty(1));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4453
auto806AEE93_var = PlayerGroupNextPlayer(auto806AEE93_g, auto806AEE93_var);
if (auto806AEE93_var < 0) { break; }
PlayerScoreValueEnableAll(auto806AEE93_var, false);
}
autoC67544CC_g = PlayerGroupAll();
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4508
auto8E4FBCB3_var = PlayerGroupNextPlayer(auto8E4FBCB3_g, auto8E4FBCB3_var);
if (auto8E4FBCB3_var < 0) { break; }
PlayerScoreValueEnableAll(auto8E4FBCB3_var, true);
}
autoB4558D44_g = PlayerGroupAll();
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2063
lv_pickedPlayer = PlayerGroupNextPlayer(auto2009A28F_g, lv_pickedPlayer);
if (lv_pickedPlayer < 0) { break; }
PlayerScoreValueEnableAll(lv_pickedPlayer, false);
}
UIFlyerHelperOverride(lv_validPlayers, libNtve_ge_FlyerHelperDisplay_c_flyerDisplayNone);
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2119
lv_pickedPlayer = PlayerGroupNextPlayer(auto1544564B_g, lv_pickedPlayer);
if (lv_pickedPlayer < 0) { break; }
PlayerScoreValueEnableAll(lv_pickedPlayer, true);
}
UIFlyerHelperClearOverride(lv_validPlayers);
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1753
lv_pickedPlayer = PlayerGroupNextPlayer(auto2009A28F_g, lv_pickedPlayer);
if (lv_pickedPlayer<0) { break; }
PlayerScoreValueEnableAll(lv_pickedPlayer, false);
}
UIFlyerHelperOverride(lv_validPlayers, libNtve_ge_FlyerHelperDisplay_c_flyerDisplayNone);
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1809
lv_pickedPlayer = PlayerGroupNextPlayer(auto1544564B_g, lv_pickedPlayer);
if (lv_pickedPlayer<0) { break; }
PlayerScoreValueEnableAll(lv_pickedPlayer, true);
}
UIFlyerHelperClearOverride(lv_validPlayers);
mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod — base.stormdata/LibPEB1.galaxy:10864
auto359AC56F_var = PlayerGroupNextPlayer(auto359AC56F_g, auto359AC56F_var);
if (auto359AC56F_var<0) { break; }
PlayerScoreValueEnableAll(auto359AC56F_var, true);
}
TriggerExecute(libPEB1_gt_VictoryCinematic, true, true);
mods/heroesbrawlmods/brawlmapmods/coop/escapefrombraxis.stormmod — base.stormdata/LibPEB1.galaxy:9951
auto05642D4F_var = PlayerGroupNextPlayer(auto05642D4F_g, auto05642D4F_var);
if (auto05642D4F_var<0) { break; }
PlayerScoreValueEnableAll(auto05642D4F_var, true);
}
TriggerQueueEnter();
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:4526
PlayerGroupLoopBegin(PlayerGroupAll());
for ( ; !PlayerGroupLoopDone() ; PlayerGroupLoopStep() ) {
PlayerScoreValueEnableAll(PlayerGroupLoopCurrent(), false);
}
PlayerGroupLoopEnd();
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:4571
PlayerGroupLoopBegin(PlayerGroupAll());
for ( ; !PlayerGroupLoopDone() ; PlayerGroupLoopStep() ) {
PlayerScoreValueEnableAll(PlayerGroupLoopCurrent(), true);
}
PlayerGroupLoopEnd();
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:724
lv_indexPlayer = PlayerGroupNextPlayer(auto311CBA6C_g, lv_indexPlayer);
if (lv_indexPlayer < 0) { break; }
PlayerScoreValueEnableAll(lv_indexPlayer, true);
}
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:801
lv_pickedPlayer = PlayerGroupNextPlayer(auto54EA3DBC_g, lv_pickedPlayer);
if (lv_pickedPlayer < 0) { break; }
PlayerScoreValueEnableAll(lv_pickedPlayer, false);
}
UIFlyerHelperOverride(lv_validPlayers, libNtve_ge_FlyerHelperDisplay_c_flyerDisplayNone);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7516
auto55108C9F_var = PlayerGroupNextPlayer(auto55108C9F_g, auto55108C9F_var);
if (auto55108C9F_var < 0) { break; }
PlayerScoreValueEnableAll(auto55108C9F_var, false);
}
libNtve_gf_SetUpgradeLevelForPlayer(1, "InCinematic", 1);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7607
auto2D1628C0_var = PlayerGroupNextPlayer(auto2D1628C0_g, auto2D1628C0_var);
if (auto2D1628C0_var < 0) { break; }
PlayerScoreValueEnableAll(auto2D1628C0_var, true);
}
libA3DDD02B_gf_DifficultySetting(PlayerDifficulty(1));