# Selected Victory Difficulty
Grammar — Selected victory difficulty
Flags —Native|Function
Returns the desired difficulty at which the player wanted to replay the mission.
Returns — int<difficulty>
native int EventVictoryPanelDifficultySelected();
# 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/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:12862
lv_simulation = false;
}
auto42AB9A4D_val = EventVictoryPanelDifficultySelected();
if (auto42AB9A4D_val == 4) {
TriggerDebugOutput(1, (StringExternal("Param/Value/lib_Camp_DB6C2DA0") + StringExternal("Param/Value/lib_Camp_F6339396")), false);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:12878
TriggerDebugOutput(1, (StringExternal("Param/Value/lib_Camp_47326528") + StringExternal("Param/Value/lib_Camp_DFF24D64")), false);
}
libCamp_gf_PrepareForMission(libCamp_gv_tS_CurrentMap, lv_simulation, true, EventVictoryPanelDifficultySelected());
GameOver(1, c_gameOverVictory, false, false);
return true;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:10495
}
libVoiC_gf_PrepareForMission(libVoiC_gf_CurrentMap(), libVoiC_gv_pCX_IsSimulation, true, EventVictoryPanelDifficultySelected());
GameOver(1, c_gameOverVictory, false, false);
return true;