# Set Victory Panel Reward Title
Grammar — Set the reward title of the victory panel to text
Flags —Native
|Action
Sets the reward title on the victory panel.
# Arguments
text
— Text
Returns — void
native void VictoryPanelSetRewardTitle(text inText);
# 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/tzeratul01.sc2map/MapScript.galaxy:7886
VictoryPanelAddAchievement("TZeratul01_2");
VictoryPanelAddAchievement("TZeratul01_3");
VictoryPanelSetRewardTitle(StringToText(""));
VictoryPanelAddCustomStatisticLine(StringExternal("Param/Value/2BB00C27"), IntToText(gv_stat_ZeratulKills));
VictoryPanelAddCustomStatisticLine(StringExternal("Param/Value/7458D655"), IntToText(gv_stat_StalkerKills));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2map — MapScript.galaxy:7886
VictoryPanelAddAchievement("TZeratul01_2");
VictoryPanelAddAchievement("TZeratul01_3");
VictoryPanelSetRewardTitle(StringToText(""));
VictoryPanelAddCustomStatisticLine(StringExternal("Param/Value/2BB00C27"), IntToText(gv_stat_ZeratulKills));
VictoryPanelAddCustomStatisticLine(StringExternal("Param/Value/7458D655"), IntToText(gv_stat_StalkerKills));
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:10061
VictoryPanelSetMissionTimeText(libCamp_gf_FormatTimeCampaign(libCamp_gv_tS_MissionCompleteTime));
if ((libCamp_gf_MissionReward(lp_mission) > 0)) {
VictoryPanelSetRewardTitle(StringExternal("Param/Value/lib_Camp_C2E2CE7E"));
VictoryPanelSetRewardCredits(libCamp_gf_MissionReward(lp_mission));
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:10065
}
else {
VictoryPanelSetRewardTitle(StringToText(""));
}
VictoryPanelSetAchievementsTitle(StringExternal("Param/Value/lib_Camp_3E550281"));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5478
VictoryPanelSetVictoryText(StringExternal("Param/Value/lib_VCUI_D687F260"));
VictoryPanelSetMissionTimeText(libVoiC_gf_FormatTimeCampaign(libVCMI_gv_pM_MissionCompleteTime));
VictoryPanelSetRewardTitle(StringToText(""));
VictoryPanelSetAchievementsTitle(StringExternal("Param/Value/lib_VCUI_04B0AC51"));
lv_index = 1;