# Set Victory Panel Victory Text

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

Sets the victory text on the victory panel.

# Arguments

  • text — Text

Returns — void

native void VictoryPanelSetVictoryText(text inText);

Category: Story / Victory Panel

# Examples

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:10054

    VictoryPanelSetSummaryBackgroundFilePath(libCamp_gf_MissionLoadingScreenImage(lp_mission));
    if ((lp_mission == libCamp_ge_MapID_MapTZeratul04)) {
        VictoryPanelSetVictoryText(StringExternal("Param/Value/lib_Camp_F0633C82"));
    }
    else {

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:10057

    }
    else {
        VictoryPanelSetVictoryText(StringExternal("Param/Value/lib_Camp_2D326347"));
    }
    VictoryPanelSetMissionTimeText(libCamp_gf_FormatTimeCampaign(libCamp_gv_tS_MissionCompleteTime));

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5476

    VictoryPanelSetMissionTimeTitle(StringExternal("Param/Value/lib_VCUI_F5A56375"));
    VictoryPanelSetSummaryBackgroundFilePath("Assets\\Textures\\ui_void_loading_epilogue02.dds");
    VictoryPanelSetVictoryText(StringExternal("Param/Value/lib_VCUI_D687F260"));
    VictoryPanelSetMissionTimeText(libVoiC_gf_FormatTimeCampaign(libVCMI_gv_pM_MissionCompleteTime));
    VictoryPanelSetRewardTitle(StringToText(""));