# Selected Victory Difficulty

Grammar — Selected victory difficulty
FlagsNative | Function

Returns the desired difficulty at which the player wanted to replay the mission.

Returns — int<difficulty>

native int EventVictoryPanelDifficultySelected();

Category: Story / Victory Panel

# Examples

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