# 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
- 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/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:4905
}
PlayerScoreValueEnable(gv_pLAYER_01_USER, "UnitsTrainedCount", false);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_01_USER, PointFromId(1308));
UnitGroupAdd(lv_craneMarines, UnitLastCreated());
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:5778
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(346), 0.0, -1, 10, true);
TriggerExecute(gt_VictoryDropship, true, false);
PlayerScoreValueEnable(gv_p1_USER, "UnitsTotalCount", false);
autoAC1EACCB_var = 1;
for ( ; autoAC1EACCB_var <= autoAC1EACCB_ae; autoAC1EACCB_var += 1 ) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2map — MapScript.galaxy:4905
}
PlayerScoreValueEnable(gv_pLAYER_01_USER, "UnitsTrainedCount", false);
libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_01_USER, PointFromId(1308));
UnitGroupAdd(lv_craneMarines, UnitLastCreated());
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:5778
CameraApplyInfo(gv_p1_USER, CameraInfoFromId(346), 0.0, -1, 10, true);
TriggerExecute(gt_VictoryDropship, true, false);
PlayerScoreValueEnable(gv_p1_USER, "UnitsTotalCount", false);
autoAC1EACCB_var = 1;
for ( ; autoAC1EACCB_var <= autoAC1EACCB_ae; autoAC1EACCB_var += 1 ) {