# Set Victory Panel Reward Title

Grammar — Set the reward title of the victory panel to text
FlagsNative | Action

Sets the reward title on the victory panel.

# Arguments

  • text — Text

Returns — void

native void VictoryPanelSetRewardTitle(text inText);

Category: Story / Victory Panel

# Examples

campaigns/liberty.sc2campaignbase.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.sc2mapMapScript.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.sc2campaignbase.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.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:10065

    }
    else {
        VictoryPanelSetRewardTitle(StringToText(""));
    }
    VictoryPanelSetAchievementsTitle(StringExternal("Param/Value/lib_Camp_3E550281"));

campaigns/voidstory.sc2campaignbase.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;