# Enable/Disable Score Tracking
Grammar — enable|Enable/Disable scoreValue score tracking for player inPlayer
Flags —Native
|Action
Enables or disables tracking of a specific statistic for the specified player.
# Arguments
int
— Playerstring
[ gamelink::ScoreValue ] — Score Valuebool
[ preset::Enable_Disable_Option ] — Enable
Returns — void
native void PlayerScoreValueEnable(
int player,
string value,
bool enable,
);
# Related
Category: Story / Victory Panel
- [F] —
void
— Victory Panel Play Mission Again — ( TriggerAddEventVictoryPanelPlayMissionAgain ) - [F] —
void
— Victory Panel Exited — ( TriggerAddEventVictoryPanelExit ) - [F] —
int
[ difficulty ] — Selected Victory Difficulty — ( EventVictoryPanelDifficultySelected ) - [F] —
void
— Set Victory Panel Victory Text — ( VictoryPanelSetVictoryText ) - [F] —
void
— Set Victory Panel Mission Title — ( VictoryPanelSetMissionTitle ) - [F] —
void
— Set Victory Panel Mission Text — ( VictoryPanelSetMissionText ) - [F] —
void
— Set Victory Panel Time Title — ( VictoryPanelSetMissionTimeTitle ) - [F] —
void
— Set Victory Panel Time Text — ( VictoryPanelSetMissionTimeText ) - [F] —
void
— Set Victory Panel Reward Title — ( VictoryPanelSetRewardTitle ) - [F] —
void
— Set Victory Panel Reward Text — ( VictoryPanelSetRewardText ) - [F] —
void
— Set Victory Panel Reward Credits — ( VictoryPanelSetRewardCredits ) - [F] —
void
— Set Victory Panel Achievements Title — ( VictoryPanelSetAchievementsTitle ) - [F] —
void
— Add Victory Panel Achievement — ( VictoryPanelAddAchievement ) - [F] —
void
— Set Victory Panel Statistics Title — ( VictoryPanelSetStatisticsTitle ) - [F] —
void
— Add Victory Panel Tracked Statistic — ( VictoryPanelAddTrackedStatistic ) - [F] —
void
— Enable/Disable All Score Tracking — ( PlayerScoreValueEnableAll ) - [F] —
void
— Enable/Disable Score Tracking — ( PlayerScoreValueEnable ) - [F] —
void
— Add Victory Panel Custom Statistic Line — ( VictoryPanelAddCustomStatisticLine ) - [F] —
void
— Set Victory Panel Custom Statistic Text — ( VictoryPanelSetCustomStatisticText ) - [F] —
void
— Set Victory Panel Custom Statistic Value — ( VictoryPanelSetCustomStatisticValue ) - [F] —
void
— Clear Victory Panel Custom Statistic Table — ( VictoryPanelClearCustomStatisticTable ) - [F] —
void
— Set Victory Panel Background Model — ( VictoryPanelSetPlanetModelLink ) - [F] —
void
— Set Victory Panel Background Image — ( VictoryPanelSetBackgroundFilePath ) - [F] —
void
— Set Victory Panel Summary Background Image — ( VictoryPanelSetSummaryBackgroundFilePath )
# Examples
# campaigns/liberty.sc2campaign
// L4905
PlayerScoreValueEnable(gv_pLAYER_01_USER, "UnitsTrainedCount", false)
// L5778
PlayerScoreValueEnable(gv_p1_USER, "UnitsTotalCount", false)
// L4905
PlayerScoreValueEnable(gv_pLAYER_01_USER, "UnitsTrainedCount", false)
// L5778
PlayerScoreValueEnable(gv_p1_USER, "UnitsTotalCount", false)