# Selected List Item

Grammar — Selected list item of list for player
FlagsNative | Function

Returns the index of the selected list item for the specified dialog item. Only works with dialog items that have lists, such as pulldowns or list boxes.

# Arguments

  • int<control> — List
  • int — Player

Returns — int

native int DialogControlGetSelectedItem(
	int control,
	int player,
);

Category: Dialog / Dialog Item Values

# Examples

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

    else if (auto38810FB5_val == gv_zPlanetPanel_ButtonLaunch) {
        gv_zPlanetPanel_Launching = true;
        lv_difficulty = gv_zPlanetPanel_DropdownDifficultyIndexToDifficulty[DialogControlGetSelectedItem(gv_zPlanetPanel_DropdownDifficulty, 1)];
        TriggerStop(gt_ZPlanetPanelSkippable);
        gf_ZPlanetPanelShowHide(false);

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

    else if (auto38810FB5_val == gv_zPlanetPanel_ButtonLaunch) {
        gv_zPlanetPanel_Launching = true;
        lv_difficulty = gv_zPlanetPanel_DropdownDifficultyIndexToDifficulty[DialogControlGetSelectedItem(gv_zPlanetPanel_DropdownDifficulty, 1)];
        TriggerStop(gt_ZPlanetPanelSkippable);
        gf_ZPlanetPanelShowHide(false);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:21921

    TriggerEnable(libSwaC_gt_ZS_VSRestartCancel, false);
    TriggerEnable(libSwaC_gt_ZS_VSRestartRestart, false);
    lv_difficulty = libSwaC_gf_ZS_DifficultyFromIndex(DialogControlGetSelectedItem(libSwaC_gv_zS_VSRestartDifficultyPulldown, 1));
    SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryMusic, 0.0, 0.5);
    SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryAmbient, 0.0, 0.5);

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2297

    lib281DEC45_gv_zSS_DebugStoryCheatInUpdate = true;
    lib281DEC45_gf_ZSS_CharacterDataUpdate();
    if ((DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1) == 0)) {
        DialogControlSelectItem(lib281DEC45_gv_zSS_DebugStoryTypeList, PlayerGroupAll(), 1);
    }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2302

    else {
    }
    if ((DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryStateList, 1) == 0)) {
        DialogControlSelectItem(lib281DEC45_gv_zSS_DebugStoryStateList, PlayerGroupAll(), 1);
    }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2307

    else {
    }
    lib281DEC45_gv_zSS_DebugStoryCurrentStateIndex = DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryStateList, 1);
    if ((DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1) != lib281DEC45_gv_zSS_DebugStoryCurrentTypeIndex)) {
        lib281DEC45_gv_zSS_DebugStoryCurrentTypeIndex = DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1);

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2308

    }
    lib281DEC45_gv_zSS_DebugStoryCurrentStateIndex = DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryStateList, 1);
    if ((DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1) != lib281DEC45_gv_zSS_DebugStoryCurrentTypeIndex)) {
        lib281DEC45_gv_zSS_DebugStoryCurrentTypeIndex = DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1);
        DialogControlRemoveAllItems(lib281DEC45_gv_zSS_DebugStorySceneList, PlayerGroupAll());

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2309

    lib281DEC45_gv_zSS_DebugStoryCurrentStateIndex = DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryStateList, 1);
    if ((DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1) != lib281DEC45_gv_zSS_DebugStoryCurrentTypeIndex)) {
        lib281DEC45_gv_zSS_DebugStoryCurrentTypeIndex = DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1);
        DialogControlRemoveAllItems(lib281DEC45_gv_zSS_DebugStorySceneList, PlayerGroupAll());
        auto2749AB36_ae = UserDataInstanceCount("ScriptedScenes");

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2316

        for ( ; ( (auto2749AB36_ai >= 0 && lv_index <= auto2749AB36_ae) || (auto2749AB36_ai <= 0 && lv_index >= auto2749AB36_ae) ) ; lv_index += auto2749AB36_ai ) {
            lv_indexScene = UserDataInstance("ScriptedScenes", lv_index);
            if ((UserDataGetString("ScriptedScenes", lv_indexScene, "Type", 1) == lib281DEC45_gv_zSS_DebugStorySceneTypes[DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1)])) {
                DialogControlAddItem(lib281DEC45_gv_zSS_DebugStorySceneList, PlayerGroupAll(), StringToText(UserDataGetString("ScriptedScenes", lv_indexScene, "DisplayName", 1)));
                lv_typeIndex += 1;

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2332

    else {
    }
    if ((DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryStateList, 1) > UserDataInstanceCount("WriterStates"))) {
        libNtve_gf_SetDialogItemEditorValue(lib281DEC45_gv_zSS_DebugStoryStateEditBox, IntToString(UserDataGetInt("StoryStates", UserDataInstance("StoryStates", (DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryStateList, 1)-UserDataInstanceCount("WriterStates"))), "value", 1)), PlayerGroupAll());
    }

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2333

    }
    if ((DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryStateList, 1) > UserDataInstanceCount("WriterStates"))) {
        libNtve_gf_SetDialogItemEditorValue(lib281DEC45_gv_zSS_DebugStoryStateEditBox, IntToString(UserDataGetInt("StoryStates", UserDataInstance("StoryStates", (DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryStateList, 1)-UserDataInstanceCount("WriterStates"))), "value", 1)), PlayerGroupAll());
    }
    else {

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2336

    }
    else {
        libNtve_gf_SetDialogItemEditorValue(lib281DEC45_gv_zSS_DebugStoryStateEditBox, IntToString(UserDataGetInt("WriterStates", UserDataInstance("WriterStates", DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryStateList, 1)), "Value", 1)), PlayerGroupAll());
    }
    auto278E2963_ae = lib281DEC45_gv_zSS_DebugStoryInteractiveCount;

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2419

    for ( ; ( (autoDCE900EE_ai >= 0 && lv_index <= autoDCE900EE_ae) || (autoDCE900EE_ai <= 0 && lv_index >= autoDCE900EE_ae) ) ; lv_index += autoDCE900EE_ai ) {
        lv_scene = UserDataInstance("ScriptedScenes", lv_index);
        if ((UserDataGetString("ScriptedScenes", lv_scene, "Type", 1) == lib281DEC45_gv_zSS_DebugStorySceneTypes[DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1)])) {
            lv_typeIndex += 1;
            if ((lv_typeIndex == DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStorySceneList, 1))) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:4788

    }

    libVCST_gv_pS_DebugStorySelectedIndex = DialogControlGetSelectedItem(libVCST_gv_pS_DebugStorySceneList, 1);
    DialogControlSetEnabled(libVCST_gv_pS_DebugStoryPlayButton, PlayerGroupAll(), true);
    libVCST_gf_PS_DebugStoryCheatUpdateSelection();

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

    }

    autoC93DCDD8_val = DialogControlGetSelectedItem(libVCUI_gv_pU_MissionDifficultyDropdown, 1);
    if (autoC93DCDD8_val == 1) {
        return 1;

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

    TriggerEnable(libVCUI_gt_PU_VictoryRestartCancel, false);
    TriggerEnable(libVCUI_gt_PU_VictoryRestartRestart, false);
    auto119EE7F2_val = DialogControlGetSelectedItem(libVCUI_gv_pU_VSRestartDifficultyPulldown, 1);
    if (auto119EE7F2_val == libVoiC_gf_PC_DifficultyIndex(1)) {
        lv_difficulty = 1;

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2092

    gv_changeAllyHeroPulldownVisible = false;
    DialogControlSetVisible(gv_tryMeModePanel.lv_changeAllyPulldown, PlayerGroupAll(), false);
    if ((DialogControlGetSelectedItem(EventDialogControl(), EventPlayer()) == 1)) {
        gf_DespawnAllyHero();
        gv_allyHeroLoaded = false;

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2100

    }
    else {
        lv_heroIndex = DataTableGetInt(true, ("ChangeHeroList" + IntToString(DialogControlGetSelectedItem(EventDialogControl(), EventPlayer()))));
        gv_pLAYER_AI_AllyHero = (DataTableGetString(true, ("HeroIndex_" + IntToString(lv_heroIndex))));
        gf_DespawnAllyHero();

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2184

    gv_changeEnemyHeroPulldownVisible = false;
    DialogControlSetVisible(gv_tryMeModePanel.lv_changeEnemyPulldown, PlayerGroupAll(), false);
    if ((DialogControlGetSelectedItem(EventDialogControl(), EventPlayer()) == 1)) {
        gf_DespawnEnemyHero();
        gv_enemyHeroLoaded = false;

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/%2810%29trymemode.stormmap/MapScript.galaxy:2192

    }
    else {
        lv_heroIndex = DataTableGetInt(true, ("ChangeHeroList" + IntToString(DialogControlGetSelectedItem(EventDialogControl(), EventPlayer()))));
        gv_pLAYER_AI_EnemyHero = (DataTableGetString(true, ("HeroIndex_" + IntToString(lv_heroIndex))));
        gf_DespawnEnemyHero();

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:2092

    gv_changeAllyHeroPulldownVisible = false;
    DialogControlSetVisible(gv_tryMeModePanel.lv_changeAllyPulldown, PlayerGroupAll(), false);
    if ((DialogControlGetSelectedItem(EventDialogControl(), EventPlayer()) == 1)) {
        gf_DespawnAllyHero();
        gv_allyHeroLoaded = false;

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:2100

    }
    else {
        lv_heroIndex = DataTableGetInt(true, ("ChangeHeroList" + IntToString(DialogControlGetSelectedItem(EventDialogControl(), EventPlayer()))));
        gv_pLAYER_AI_AllyHero = (DataTableGetString(true, ("HeroIndex_" + IntToString(lv_heroIndex))));
        gf_DespawnAllyHero();

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:2184

    gv_changeEnemyHeroPulldownVisible = false;
    DialogControlSetVisible(gv_tryMeModePanel.lv_changeEnemyPulldown, PlayerGroupAll(), false);
    if ((DialogControlGetSelectedItem(EventDialogControl(), EventPlayer()) == 1)) {
        gf_DespawnEnemyHero();
        gv_enemyHeroLoaded = false;

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/(10)trymemode.stormmapmap/MapScript.galaxy:2192

    }
    else {
        lv_heroIndex = DataTableGetInt(true, ("ChangeHeroList" + IntToString(DialogControlGetSelectedItem(EventDialogControl(), EventPlayer()))));
        gv_pLAYER_AI_EnemyHero = (DataTableGetString(true, ("HeroIndex_" + IntToString(lv_heroIndex))));
        gf_DespawnEnemyHero();

mods/heroesbrawlmods/brawlmapmods/coop/pvebrawluimod.stormmodbase.stormdata/LibPBUI.galaxy:1602

            }
            else {
                libUIUI_gf_UIDebugPanelSpawnOrSwapHeroForPlayer(libGame_gv_players[lv_itPlayer2].lv_heroIndex, libCore_gf_DataSkinsGetSkinIndexFromSkinLink((DataTableGetString(true, ("HeroIndex_" + IntToString(libGame_gv_players[lv_itPlayer2].lv_heroIndex) + "_SkinIndex_" + IntToString(DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, lv_itPlayer2)))))), 0, libCore_gf_GetTotalXPForLevel(10), lv_itPlayer2, lv_itPlayer2);
            }
        }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:3364

    }

    libSprt_gv_qACheatsSelectedBehavior = DialogControlGetSelectedItem(EventDialogControl(), lv_triggeringPlayer);
    return true;
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:3541

    }

    libSprt_gv_qACheatsSelectedSpawnUnit = DialogControlGetSelectedItem(EventDialogControl(), lv_triggeringPlayer);
    return true;
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:3990

    lv_itemCount = StringToInt(lv_itemCouintEditBoxContents);
    lv_currentPos = CameraGetTarget(EventPlayer());
    autoB40E258C_val = DialogControlGetSelectedItem(libSprt_gv_qACheatsControlsPanel.lv_spawnItemListPulldown, EventPlayer());
    if (autoB40E258C_val == 1) {
        libNtve_gf_CreateUnitsWithDefaultFacing(lv_itemCount, "RegenGlobeNeutral", 0, 1, lv_currentPos, null);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2027

    BankValueSetFromFlag(lv_localBank, "Debug Menu Options", "SavedHero", libUIUI_gv_uIDebugPanelSavedHero);
    BankValueSetFromFixed(lv_localBank, "Debug Menu Options", "HeroLevelXP", libCore_gf_GetTotalXPForLevel(FixedToInt(libNtve_gf_DialogItemValue(libUIUI_gv_uIDebugPanel.lv_levelSlider, lp_localPlayer))));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "HeroIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "SkinIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "MountIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_mountTypeDropdown, 1));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2028

    BankValueSetFromFixed(lv_localBank, "Debug Menu Options", "HeroLevelXP", libCore_gf_GetTotalXPForLevel(FixedToInt(libNtve_gf_DialogItemValue(libUIUI_gv_uIDebugPanel.lv_levelSlider, lp_localPlayer))));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "HeroIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "SkinIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "MountIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_mountTypeDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "MountVariation", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_mountVariationDropdown, 1));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2029

    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "HeroIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "SkinIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "MountIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_mountTypeDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "MountVariation", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_mountVariationDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "TrueHeroIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2030

    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "SkinIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "MountIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_mountTypeDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "MountVariation", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_mountVariationDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "TrueHeroIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "TrueSkinIndex", libCore_gf_DataSkinsGetSkinIndexFromSkinLink((DataTableGetString(true, ("HeroIndex_" + IntToString(DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1)) + "_SkinIndex_" + IntToString(DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, 1)))))));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2031

    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "MountIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_mountTypeDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "MountVariation", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_mountVariationDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "TrueHeroIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "TrueSkinIndex", libCore_gf_DataSkinsGetSkinIndexFromSkinLink((DataTableGetString(true, ("HeroIndex_" + IntToString(DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1)) + "_SkinIndex_" + IntToString(DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, 1)))))));
    BankSave(lv_localBank);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2032

    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "MountVariation", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_mountVariationDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "TrueHeroIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "TrueSkinIndex", libCore_gf_DataSkinsGetSkinIndexFromSkinLink((DataTableGetString(true, ("HeroIndex_" + IntToString(DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1)) + "_SkinIndex_" + IntToString(DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, 1)))))));
    BankSave(lv_localBank);
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2032

    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "MountVariation", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_mountVariationDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "TrueHeroIndex", DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1));
    BankValueSetFromInt(lv_localBank, "Debug Menu Options", "TrueSkinIndex", libCore_gf_DataSkinsGetSkinIndexFromSkinLink((DataTableGetString(true, ("HeroIndex_" + IntToString(DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_heroDropdown, 1)) + "_SkinIndex_" + IntToString(DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, 1)))))));
    BankSave(lv_localBank);
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2113

    DialogControlRemoveAllItems(libUIUI_gv_uIDebugPanel.lv_mountTypeDropdown, libCore_gv_playerGroupFromPlayer[lp_player]);
    lv_heroIndexStr = IntToString(lp_heroIndex);
    lv_skinIndex = libCore_gf_DataSkinsGetSkinIndexFromSkinLink((DataTableGetString(true, ("HeroIndex_" + lv_heroIndexStr + "_SkinIndex_" + IntToString(DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, lp_player))))));
    lv_mountCategoryCount = DataTableGetInt(true, ("HeroIndex_" + lv_heroIndexStr + "_MountCategoryCount"));
    auto8FC14C0D_ae = lv_mountCategoryCount;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:2149

    DialogControlRemoveAllItems(libUIUI_gv_uIDebugPanel.lv_mountBaseDropdown, libCore_gv_playerGroupFromPlayer[lp_player]);
    lv_heroIndexStr = IntToString(lp_heroIndex);
    lv_skinIndex = libCore_gf_DataSkinsGetSkinIndexFromSkinLink((DataTableGetString(true, ("HeroIndex_" + lv_heroIndexStr + "_SkinIndex_" + IntToString(DialogControlGetSelectedItem(libUIUI_gv_uIDebugPanel.lv_skinDropdown, lp_player))))));
    lv_mountCategoryStr = DataTableGetString(true, ("HeroIndex_" + lv_heroIndexStr + "_MountCategoryIndex_" + IntToString(lp_mountTypeIndex)));
    lv_mountCount = DataTableGetInt(true, ("Mounts_MountCategory_" + lv_mountCategoryStr + "_MountCount"));

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:10413

    }

    lv_heroIndex = DialogControlGetSelectedItem(EventDialogControl(), lv_triggeringPlayer);
    libUIUI_gf_UIDebugPanelPopulateSkinDropdownForPlayer(lv_triggeringPlayer, lv_heroIndex);
    libUIUI_gf_UIDebugPanelPopulateVoiceLineForPlayer(lv_triggeringPlayer, lv_heroIndex);

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:4161

    }

    libNCST_gv_nS_DebugStorySelectedIndex = DialogControlGetSelectedItem(libNCST_gv_nS_DebugStorySceneList, 1);
    DialogControlSetEnabled(libNCST_gv_nS_DebugStoryPlayButton, PlayerGroupAll(), true);
    libNCST_gf_NS_DebugStoryCheatUpdateSelection();

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:1500


    // Implementation
    autoC93DCDD8_val = DialogControlGetSelectedItem(libNCUI_gv_nU_MissionDifficultyDropdown, 1);
    if (autoC93DCDD8_val == 1) {
        return 1;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCUI.galaxy:7515

    TriggerEnable(libNCUI_gt_NU_VictoryRestartCancel, false);
    TriggerEnable(libNCUI_gt_NU_VictoryRestartRestart, false);
    auto119EE7F2_val = DialogControlGetSelectedItem(libNCUI_gv_NU_VSRestartDifficultyPulldown, 1);
    if (auto119EE7F2_val == libComC_gf_CC_DifficultyIndex(1)) {
        lv_difficulty = 1;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:565

    // Automatic Variable Declarations
    // Implementation
    return libCOUI_gv_cU_AIChoicePersonalities[DialogControlGetSelectedItem(libCOUI_gv_cU_AIChoiceListBox, lp_player)];
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:1773

    SoundChannelMute(PlayerGroupAll(), c_soundCategoryAmbient, false);
    SoundChannelMute(PlayerGroupAll(), c_soundCategoryDoodad, false);
    auto076F2A0C_val = DialogControlGetSelectedItem(libCOUI_gv_cU_CustomMutatorSpeedDropDown, 1);
    if (auto076F2A0C_val == 1) {
        GameSetSpeedValue(c_gameSpeedFaster);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:6949

    }

    if ((DialogControlGetSelectedItem(libCOUI_gv_cU_CommanderMutatorChallengePulldown, EventPlayer()) <= 1)) {
        auto3C17455A_ai = 1;
        auto3C17455A_ae = UserDataInstanceCount("Mutators")+1;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:6966

            libCOMU_gf_EnableDisableMutator(false, lv_indexMutator);
        }
        lv_selectedChallenge = libCOUI_gv_cU_CommanderMutatorChallengeList[(DialogControlGetSelectedItem(libCOUI_gv_cU_CommanderMutatorChallengePulldown, EventPlayer())-1)];
        auto2F8A2574_ae = UserDataFieldValueCount("MutatorChallenges", "Mutators");
        lv_challengeMutatorIndex = 1;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOUI.galaxy:7761

    }

    DialogControlSelectItem(libCOUI_gv_cU_CustomMutatorSpeedDropDown, PlayerGroupSingle(2), DialogControlGetSelectedItem(libCOUI_gv_cU_CustomMutatorSpeedDropDown, 1));
    return true;
}

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:6900


    // Implementation
    autoDBBBA3A0_val = DialogControlGetSelectedItem(libA3DDD02B_gv_pP_MLDifficultyPulldown, 1);
    if (autoDBBBA3A0_val == 1) {
        return 1;

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:9587

    TriggerEnable(libA3DDD02B_gt_PP_VSRestartCancel, false);
    TriggerEnable(libA3DDD02B_gt_PP_VSRestartRestart, false);
    lv_difficulty = libA3DDD02B_gf_PP_DifficultyFromIndex(DialogControlGetSelectedItem(libA3DDD02B_gv_pU_VSRestartDifficultyPulldown, 1));
    SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryMusic, 0.0, 0.5);
    SoundChannelSetVolume(PlayerGroupAll(), c_soundCategoryAmbient, 0.0, 0.5);