# Set Victory Panel Mission Text

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

Sets the mission text on the victory panel.

# Arguments

  • text — Text

Returns — void

native void VictoryPanelSetMissionText(text inText);

Category: Story / Victory Panel

# Examples

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

    VictoryPanelSetAchievementsTitle(StringExternal("Param/Value/lib_Camp_3E550281"));
    VictoryPanelSetMissionTitle(StringExternal("Param/Value/lib_Camp_F4B8B451"));
    VictoryPanelSetMissionText(libCamp_gf_MissionNameInUpperCase(lp_mission));
    VictoryPanelSetStatisticsTitle(StringExternal("Param/Value/lib_Camp_7CDCEFA9"));
    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeVictoryPanel, true);

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

    TextExpressionSetToken("Param/Expression/lib_VCUI_6A4DE49F", "MISSIONTITLE", libVoiC_gf_PC_CampaignMapName(lp_mission));
    TextExpressionSetToken("Param/Expression/lib_VCUI_6A4DE49F", "DIFFICULTYTITLE", DifficultyNameCampaign(PlayerDifficulty(1)));
    VictoryPanelSetMissionText(TextExpressionAssemble("Param/Expression/lib_VCUI_6A4DE49F"));
    VictoryPanelSetStatisticsTitle(StringExternal("Param/Value/lib_VCUI_B1A0AC53"));
    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeVictoryPanel, true);