# Selected Mission Difficulty

Grammar — Selected mission difficulty
FlagsNative | Function

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

Returns — int<difficulty>

native int EventPlanetPanelDifficultySelected();

Category: Story / Planet Panel / Planet Panel

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:25133

        libCamp_gf_SetScenePlayed(libCamp_ge_SceneID_SceneTerran16CharIntro, true);
    }
    gv_abChoiceDifficulty = EventPlanetPanelDifficultySelected();
    libCamp_gf_LaunchMission(lv_missionID, false, EventPlanetPanelDifficultySelected());
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:25134

    }
    gv_abChoiceDifficulty = EventPlanetPanelDifficultySelected();
    libCamp_gf_LaunchMission(lv_missionID, false, EventPlanetPanelDifficultySelected());
    return true;
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:25133

        libCamp_gf_SetScenePlayed(libCamp_ge_SceneID_SceneTerran16CharIntro, true);
    }
    gv_abChoiceDifficulty = EventPlanetPanelDifficultySelected();
    libCamp_gf_LaunchMission(lv_missionID, false, EventPlanetPanelDifficultySelected());
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:25134

    }
    gv_abChoiceDifficulty = EventPlanetPanelDifficultySelected();
    libCamp_gf_LaunchMission(lv_missionID, false, EventPlanetPanelDifficultySelected());
    return true;
}

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

    // Implementation
    if ((libVCUI_gv_pU_MissionNextMap == "SC2Epilogue02")) {
        return EventPlanetPanelDifficultySelected();
    }