# Set Dialog Item Toggled

Grammar — Set dialogItem Toggled flag to toggled for players
FlagsAction

Set a Trigger Dialog Item to be in the Toggled state. This is currently supported on Buttons.

# Arguments

  • int<control> — Dialog Item
  • bool — Toggled
  • playergroup — Players

Returns — void

void libNtve_gf_SetDialogItemToggled(
	int lp_dialogItem,
	bool lp_toggled,
	playergroup lp_players,
);

Category: Dialog / Dialog Item Tools

# Examples

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

    }
    if ((lp_upgrade == libSwaC_gv_zS_ArmyCustomUpgradeCurrent)) {
        libNtve_gf_SetDialogItemToggled(libSwaC_gv_zS_ArmyCustomUpgradeButtons[lv_index], true, PlayerGroupAll());
    }
    else {

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

    }
    else {
        libNtve_gf_SetDialogItemToggled(libSwaC_gv_zS_ArmyCustomUpgradeButtons[lv_index], false, PlayerGroupAll());
    }
}

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

                libNtve_gf_SetDialogItemText(libSwaC_gv_zS_KerriganUITierButtonLabel[lv_tier][lv_tierIndex], libSwaC_gf_ZS_KerriganUITierAbilityName(libSwaC_gv_zS_KerriganTechTierItems[lv_tier][lv_tierIndex]), PlayerGroupAll());
                if ((libSwaC_gv_zSX_KerriganTechTiers[lv_tier] == lv_tierIndex)) {
                    libNtve_gf_SetDialogItemToggled(libSwaC_gv_zS_KerriganUITierButtons[lv_tier][lv_tierIndex], true, PlayerGroupAll());
                    libNtve_gf_SetDialogItemStyle(libSwaC_gv_zS_KerriganUITierButtonLabel[lv_tier][lv_tierIndex], "KerriganCustomizationPanelAbilityNameSelected", PlayerGroupAll());
                }

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

                }
                else {
                    libNtve_gf_SetDialogItemToggled(libSwaC_gv_zS_KerriganUITierButtons[lv_tier][lv_tierIndex], false, PlayerGroupAll());
                    libNtve_gf_SetDialogItemStyle(libSwaC_gv_zS_KerriganUITierButtonLabel[lv_tier][lv_tierIndex], "KerriganCustomizationPanelAbilityName", PlayerGroupAll());
                }

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

        DialogControlSetVisible(lib281DEC45_gv_zSS_UITravelPlanetSelectedName[lp_planetIndex], PlayerGroupAll(), false);
        DialogControlSetVisible(lib281DEC45_gv_zSS_UITravelPlanetSelectedBorder[lp_planetIndex], PlayerGroupAll(), false);
        libNtve_gf_SetDialogItemToggled(lib281DEC45_gv_zSS_UITravelPlanetButton[lp_planetIndex], false, PlayerGroupAll());
        return ;
    }

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

    DialogControlSetVisible(lib281DEC45_gv_zSS_UITravelPlanetName[lp_planetIndex], PlayerGroupAll(), false);
    DialogControlSetVisible(lib281DEC45_gv_zSS_UITravelPlanetButton[lp_planetIndex], PlayerGroupAll(), true);
    libNtve_gf_SetDialogItemToggled(lib281DEC45_gv_zSS_UITravelPlanetButton[lp_planetIndex], true, PlayerGroupAll());
    DialogControlSetVisible(lib281DEC45_gv_zSS_UITravelSelectLabel, PlayerGroupAll(), false);
    DialogControlSetVisible(lib281DEC45_gv_zSS_UITravelPlanetSelectedName[lp_planetIndex], PlayerGroupAll(), true);

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

        DialogControlHookup(lib281DEC45_gv_zSS_UITravelPlanetFrame[lv_index], c_triggerControlTypeButton, "Button");
        lib281DEC45_gv_zSS_UITravelPlanetButton[lv_index] = DialogControlLastCreated();
        libNtve_gf_SetDialogItemToggled(lib281DEC45_gv_zSS_UITravelPlanetButton[lv_index], false, PlayerGroupAll());
    }
    DialogControlHookup(lib281DEC45_gv_zSS_UITravelPanel, c_triggerControlTypePanel, "MissionRewardUnitFrameTemplate");

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:906

    auto9588D1EE_val = gv_selectedStage;
    if (auto9588D1EE_val == 1) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:907

    if (auto9588D1EE_val == 1) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:908

        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
        PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), false);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:909

        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
        PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), false);
        PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(100.00, 100.00, 100.00));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:944

    }
    else if (auto9588D1EE_val == 2) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:945

    else if (auto9588D1EE_val == 2) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:946

        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
        PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), true);

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:947

        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
        PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), true);
        PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(40.00, 40.00, 40.00));

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:987

    }
    else if (auto9588D1EE_val == 3) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], true, PlayerGroupAll());

campaigns/void.sc2campaignbase.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:988

    else if (auto9588D1EE_val == 3) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:906

    auto9588D1EE_val = gv_selectedStage;
    if (auto9588D1EE_val == 1) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:907

    if (auto9588D1EE_val == 1) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:908

        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
        PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), false);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:909

        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
        PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), false);
        PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(100.00, 100.00, 100.00));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:944

    }
    else if (auto9588D1EE_val == 2) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:945

    else if (auto9588D1EE_val == 2) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:946

        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
        PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), true);

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:947

        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());
        PortraitSetPaused(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), true);
        PortraitSetTintColor(PortraitGetTriggerControl(gv_victoryUI_Portraits[1]), Color(40.00, 40.00, 40.00));

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:987

    }
    else if (auto9588D1EE_val == 3) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], true, PlayerGroupAll());

campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2mapMapScript.galaxy:988

    else if (auto9588D1EE_val == 3) {
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[1], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[2], false, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[3], true, PlayerGroupAll());
        libNtve_gf_SetDialogItemToggled(gv_victoryUI_StageSelectButtons[4], false, PlayerGroupAll());

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

        libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArmyCategoryRoles[lv_categoryIndex], libVoiC_gf_PC_ArmyCategoryTitle(libVCUI_gv_pU_ArmyCategories[lv_categoryIndex]), PlayerGroupAll());
        if ((libVCUI_gv_pU_ArmyCategorySelectedIndex == lv_categoryIndex)) {
            libNtve_gf_SetDialogItemToggled(libVCUI_gv_pU_ArmyCategoryButtons[lv_categoryIndex], true, PlayerGroupAll());
            DialogControlSetVisible(libVCUI_gv_pU_ArmyCategoryButtonHighlight[lv_categoryIndex], PlayerGroupAll(), true);
            libNtve_gf_SetDialogItemStyle(libVCUI_gv_pU_ArmyCategoryNames[lv_categoryIndex], "Void_ArmyCategoryNameSelected", PlayerGroupAll());

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

        else {
            DialogControlSetVisible(libVCUI_gv_pU_ArmyCategoryButtonHighlight[lv_categoryIndex], PlayerGroupAll(), false);
            libNtve_gf_SetDialogItemToggled(libVCUI_gv_pU_ArmyCategoryButtons[lv_categoryIndex], false, PlayerGroupAll());
            libNtve_gf_SetDialogItemStyle(libVCUI_gv_pU_ArmyCategoryNames[lv_categoryIndex], "Void_ArmyCategoryName", PlayerGroupAll());
            libNtve_gf_SetDialogItemStyle(libVCUI_gv_pU_ArmyCategoryRoles[lv_categoryIndex], "Void_ArmyCategoryRole", PlayerGroupAll());

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

            libNtve_gf_SetDialogItemStyle(libVCUI_gv_pU_ArmyFactionDetail[lv_factionIndex], libVCUI_gf_PU_ArmyFactionStyle("Void_ArmyFactionDetail", libVoiC_gf_PC_ArmyUnitFaction(libVCUI_gv_pU_ArmyUnits[libVCUI_gv_pU_ArmyCategorySelectedIndex][lv_factionIndex]), true), PlayerGroupAll());
            DialogControlSetVisible(libVCUI_gv_pU_ArmyFactionNameLabel[lv_factionIndex], PlayerGroupAll(), true);
            libNtve_gf_SetDialogItemToggled(libVCUI_gv_pU_ArmyFactionButtons[lv_factionIndex], true, PlayerGroupAll());
            DialogControlSendAnimationEvent(libVCUI_gv_pU_ArmyFactionButtons[lv_factionIndex], PlayerGroupAll(), "Selected");
            libNtve_gf_SetDialogItemModel(libVCUI_gv_pU_ArmyFactionPortrait[lv_factionIndex], libVCUI_gf_PU_ArmyFactionGlowModel(libVoiC_gf_PC_ArmyUnitFaction(libVCUI_gv_pU_ArmyUnits[libVCUI_gv_pU_ArmyCategorySelectedIndex][lv_factionIndex])), PlayerGroupAll());

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

            libNtve_gf_SetDialogItemStyle(libVCUI_gv_pU_ArmyFactionDetail[lv_factionIndex], libVCUI_gf_PU_ArmyFactionStyle("Void_ArmyFactionDetail", libVoiC_gf_PC_ArmyUnitFaction(libVCUI_gv_pU_ArmyUnits[libVCUI_gv_pU_ArmyCategorySelectedIndex][lv_factionIndex]), false), PlayerGroupAll());
            DialogControlSetVisible(libVCUI_gv_pU_ArmyFactionNameLabel[lv_factionIndex], PlayerGroupAll(), true);
            libNtve_gf_SetDialogItemToggled(libVCUI_gv_pU_ArmyFactionButtons[lv_factionIndex], false, PlayerGroupAll());
            DialogControlSetVisible(libVCUI_gv_pU_ArmyFactionPortrait[lv_factionIndex], PlayerGroupAll(), false);
        }

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

        DialogControlSetVisible(libVCUI_gv_pU_BottomBarButtonSelectedDecoration[(lp_button)], PlayerGroupAll(), false);
    }
    libNtve_gf_SetDialogItemToggled(libVCUI_gv_pU_BottomBarButton[(lp_button)], lp_toggled, PlayerGroupAll());
}

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

            if ((libVCUI_gv_pU_SoAInventoryItems[lv_groupIndex][lv_itemIndex] == libVCUI_gv_pU_SoAActivePerks[lv_groupIndex])) {
                libNtve_gf_SetDialogItemTooltip(libVCUI_gv_pU_SoAInventoryButtons[lv_groupIndex][lv_itemIndex], libVCUI_gf_PU_SoAPerkTooltip(libVCUI_gv_pU_SoAInventoryItems[lv_groupIndex][lv_itemIndex]), PlayerGroupAll());
                libNtve_gf_SetDialogItemToggled(libVCUI_gv_pU_SoAInventoryButtons[lv_groupIndex][lv_itemIndex], true, PlayerGroupAll());
                libNtve_gf_SetDialogItemText(libVCUI_gv_pU_SoAInventorySelectedItemName[lv_groupIndex], libVoiC_gf_PC_PerkName(libVCUI_gv_pU_SoAInventoryItems[lv_groupIndex][lv_itemIndex]), PlayerGroupAll());
                DialogControlSetVisible(libVCUI_gv_pU_SoAInventoryShimmers[lv_groupIndex][lv_itemIndex], PlayerGroupAll(), true);

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

            }
            else {
                libNtve_gf_SetDialogItemToggled(libVCUI_gv_pU_SoAInventoryButtons[lv_groupIndex][lv_itemIndex], false, PlayerGroupAll());
                DialogControlSetVisible(libVCUI_gv_pU_SoAInventoryShimmers[lv_groupIndex][lv_itemIndex], PlayerGroupAll(), false);
                if ((libVCUI_gv_pU_SoAInventoryItems[lv_groupIndex][lv_itemIndex] != null)) {

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


    if (((EventDialogControl() == libVCUI_gv_pU_StarmapPlanetTitleName[1]) || (EventDialogControl() == libVCUI_gv_pU_StarmapPlanetButton[1]))) {
        libNtve_gf_SetDialogItemToggled(libVCUI_gv_pU_StarmapPlanetTitleName[1], true, PlayerGroupAll());
        DialogControlSendAnimationEvent(libVCUI_gv_pU_StarmapPlanetTitleCallout[1], PlayerGroupAll(), "Highlight");
        SoundPlayForPlayer(SoundLink("UI_Void_CelestialArray_PlanetHover", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);

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

    }
    else if (((EventDialogControl() == libVCUI_gv_pU_StarmapPlanetTitleName[2]) || (EventDialogControl() == libVCUI_gv_pU_StarmapPlanetButton[2]))) {
        libNtve_gf_SetDialogItemToggled(libVCUI_gv_pU_StarmapPlanetTitleName[2], true, PlayerGroupAll());
        SoundPlayForPlayer(SoundLink("UI_Void_CelestialArray_PlanetHover", -1), c_maxPlayers, PlayerGroupAll(), 100.0, 0.0);
        DialogControlSendAnimationEvent(libVCUI_gv_pU_StarmapPlanetTitleCallout[2], PlayerGroupAll(), "Highlight");

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


    if (((EventDialogControl() == libVCUI_gv_pU_StarmapPlanetTitleName[1]) || (EventDialogControl() == libVCUI_gv_pU_StarmapPlanetButton[1]))) {
        libNtve_gf_SetDialogItemToggled(libVCUI_gv_pU_StarmapPlanetTitleName[1], false, PlayerGroupAll());
        DialogControlSendAnimationEvent(libVCUI_gv_pU_StarmapPlanetTitleCallout[1], PlayerGroupAll(), "HighlightStop");
        libVoiC_gf_PC_ClearAnimationFromActor("STARMAPHOVER", ActorFrom("::external.HoverAlt"), 0.0);

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

    auto637F4114_val = lv_buttonClicked;
    if (auto637F4114_val == libPBUI_gv_curateHeroSelectionUI.lv_abilitiesInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;

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

    if (auto637F4114_val == libPBUI_gv_curateHeroSelectionUI.lv_abilitiesInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;
    }

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

    }
    else if (auto637F4114_val == libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_abilitiesInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;

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

    else if (auto637F4114_val == libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_abilitiesInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;
    }

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

    }
    else if (auto637F4114_val == libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_abilitiesInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;

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

    else if (auto637F4114_val == libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_abilitiesInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;
    }

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

    DialogControlSetEnabled(libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton, PlayerGroupAll(), false);
    DialogControlSetEnabled(libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton, PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_abilitiesInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton, false, PlayerGroupAll());

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

    DialogControlSetEnabled(libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton, PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_abilitiesInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton, false, PlayerGroupAll());
    autoD70C5296_g = libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false);

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

    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_abilitiesInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton, false, PlayerGroupAll());
    autoD70C5296_g = libGame_gf_PlayersOnTeamHeroes(libGame_gv_teamOrderIndex_C, false);
    lv_itPlayer2 = -1;

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

    DialogControlSetEnabled(libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton, PlayerGroupAll(), false);
    DialogControlSetEnabled(libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton, PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_abilitiesInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_talentsInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPBUI_gv_curateHeroSelectionUI.lv_brawlInfoButton, false, PlayerGroupAll());

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:1671

    autoDC6556C9_val = lv_buttonClicked;
    if (autoDC6556C9_val == libPVEU_gv_pvEUICurateHeroSelectionUI.lv_abilitiesInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:1672

    if (autoDC6556C9_val == libPVEU_gv_pvEUICurateHeroSelectionUI.lv_abilitiesInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;
    }

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:1676

    }
    else if (autoDC6556C9_val == libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_abilitiesInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:1677

    else if (autoDC6556C9_val == libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_abilitiesInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;
    }

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:1681

    }
    else if (autoDC6556C9_val == libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_abilitiesInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:1682

    else if (autoDC6556C9_val == libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton) {
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_abilitiesInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton, false, libCore_gv_playerGroupFromPlayer[EventPlayer()]);
        return true;
    }

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:1751

    DialogControlSetEnabled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton, PlayerGroupAll(), false);
    DialogControlSetEnabled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton, PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_abilitiesInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton, false, PlayerGroupAll());

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:1752

    DialogControlSetEnabled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton, PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_abilitiesInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton, false, PlayerGroupAll());
    autoDD982436_g = libPVEM_gf_PvEPlayersOnHumanTeam(false);

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:1753

    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_abilitiesInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton, false, PlayerGroupAll());
    autoDD982436_g = libPVEM_gf_PvEPlayersOnHumanTeam(false);
    lv_player = -1;

mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmodbase.stormdata/LibPVEU.galaxy:1854

    DialogControlSetEnabled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton, PlayerGroupAll(), false);
    DialogControlSetEnabled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton, PlayerGroupAll(), false);
    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_abilitiesInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_talentsInfoButton, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libPVEU_gv_pvEUICurateHeroSelectionUI.lv_brawlInfoButton, false, PlayerGroupAll());

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

    libUIUI_gv_uIDebugPanel.lv_playerNumber = DialogControlLastCreated();
    libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_announcerRadio, false, PlayerGroupAll());
    libNtve_gf_SetDialogItemToggled(libUIUI_gv_uIDebugPanel.lv_announcerRadio, true, PlayerGroupAll());
    DialogControlSetEnabled(libUIUI_gv_uIDebugPanel.lv_announcerRadioDropdown, PlayerGroupAll(), true);
    DialogControlSetEnabled(libUIUI_gv_uIDebugPanel.lv_voiceLineRadioHeroDropdown, PlayerGroupAll(), false);

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

    libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_announcerRadio, false, PlayerGroupSingle(lv_triggeringPlayer));
    libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_voiceLineRadio, true, PlayerGroupSingle(lv_triggeringPlayer));
    libNtve_gf_SetDialogItemToggled(libUIUI_gv_uIDebugPanel.lv_announcerRadio, true, PlayerGroupSingle(lv_triggeringPlayer));
    libNtve_gf_SetDialogItemToggled(libUIUI_gv_uIDebugPanel.lv_voiceLineRadio, false, PlayerGroupSingle(lv_triggeringPlayer));
    DialogControlSetEnabled(libUIUI_gv_uIDebugPanel.lv_announcerRadioDropdown, PlayerGroupSingle(lv_triggeringPlayer), true);

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

    libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_voiceLineRadio, true, PlayerGroupSingle(lv_triggeringPlayer));
    libNtve_gf_SetDialogItemToggled(libUIUI_gv_uIDebugPanel.lv_announcerRadio, true, PlayerGroupSingle(lv_triggeringPlayer));
    libNtve_gf_SetDialogItemToggled(libUIUI_gv_uIDebugPanel.lv_voiceLineRadio, false, PlayerGroupSingle(lv_triggeringPlayer));
    DialogControlSetEnabled(libUIUI_gv_uIDebugPanel.lv_announcerRadioDropdown, PlayerGroupSingle(lv_triggeringPlayer), true);
    DialogControlSetEnabled(libUIUI_gv_uIDebugPanel.lv_voiceLineRadioHeroDropdown, PlayerGroupSingle(lv_triggeringPlayer), false);

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

    libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_announcerRadio, true, PlayerGroupSingle(lv_triggeringPlayer));
    libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_voiceLineRadio, false, PlayerGroupSingle(lv_triggeringPlayer));
    libNtve_gf_SetDialogItemToggled(libUIUI_gv_uIDebugPanel.lv_announcerRadio, false, PlayerGroupSingle(lv_triggeringPlayer));
    libNtve_gf_SetDialogItemToggled(libUIUI_gv_uIDebugPanel.lv_voiceLineRadio, true, PlayerGroupSingle(lv_triggeringPlayer));
    DialogControlSetEnabled(libUIUI_gv_uIDebugPanel.lv_announcerRadioDropdown, PlayerGroupSingle(lv_triggeringPlayer), false);

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

    libNtve_gf_SetDialogItemAcceptMouse(libUIUI_gv_uIDebugPanel.lv_voiceLineRadio, false, PlayerGroupSingle(lv_triggeringPlayer));
    libNtve_gf_SetDialogItemToggled(libUIUI_gv_uIDebugPanel.lv_announcerRadio, false, PlayerGroupSingle(lv_triggeringPlayer));
    libNtve_gf_SetDialogItemToggled(libUIUI_gv_uIDebugPanel.lv_voiceLineRadio, true, PlayerGroupSingle(lv_triggeringPlayer));
    DialogControlSetEnabled(libUIUI_gv_uIDebugPanel.lv_announcerRadioDropdown, PlayerGroupSingle(lv_triggeringPlayer), false);
    DialogControlSetEnabled(libUIUI_gv_uIDebugPanel.lv_voiceLineRadioHeroDropdown, PlayerGroupSingle(lv_triggeringPlayer), true);

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

        DialogControlSetVisible(libNCUI_gv_nU_BottomBarButtonSelectedDecoration[(lp_button)], PlayerGroupAll(), false);
    }
    libNtve_gf_SetDialogItemToggled(libNCUI_gv_nU_BottomBarButton[(lp_button)], lp_toggled, PlayerGroupAll());
}

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

        libNtve_gf_SetDialogItemTooltip(libNCUI_gv_nU_UpgradesSubselectionItemButtons[lv_upgradeItemsIndex], libNCUI_gf_NU_UpgradesSubselectionTooltip(lp_unitSlot, lv_upgradeItemsIndex), PlayerGroupAll());
        if ((libNCUI_gv_nU_UpgradesSubselectionSelectedItem[lp_unitSlot] == lv_upgradeItemsIndex)) {
            libNtve_gf_SetDialogItemToggled(libNCUI_gv_nU_UpgradesSubselectionItemButtons[lv_upgradeItemsIndex], true, PlayerGroupAll());
        }
        else {

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

        }
        else {
            libNtve_gf_SetDialogItemToggled(libNCUI_gv_nU_UpgradesSubselectionItemButtons[lv_upgradeItemsIndex], false, PlayerGroupAll());
            if ((libNovC_gf_NC_ArmyTechItemStateCheck(libNCUI_gf_NU_UpgradesTechItemInSlot(lp_unitSlot, lv_upgradeItemsIndex), libNovC_ge_NC_ArmyTechItemState_Missed) == false) && (libNovC_gf_NC_ArmyTechItemIsNewFromIndex(libNCUI_gf_NU_UpgradesTechItemInSlot(lp_unitSlot, lv_upgradeItemsIndex), libNCUI_gv_nU_UpgradesTechItemUnitListIndex[lp_unitSlot][lv_upgradeItemsIndex]) == true)) {
                libNCUI_gf_NU_DialogItemNewStateSet(libNCUI_gv_nU_UpgradesSubselectionItemButtons[lv_upgradeItemsIndex], libNCUI_ge_NU_DialogItemNewState_NewItem);

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

    for ( ; ( (autoF655D332_ai >= 0 && lv_upgradeSlotIndex <= autoF655D332_ae) || (autoF655D332_ai <= 0 && lv_upgradeSlotIndex >= autoF655D332_ae) ) ; lv_upgradeSlotIndex += autoF655D332_ai ) {
        if ((lp_unitSlot == lv_upgradeSlotIndex)) {
            libNtve_gf_SetDialogItemToggled(libNCUI_gv_nU_UpgradesSelectionButtons[lv_upgradeSlotIndex], true, PlayerGroupAll());
        }
        else {

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

        }
        else {
            libNtve_gf_SetDialogItemToggled(libNCUI_gv_nU_UpgradesSelectionButtons[lv_upgradeSlotIndex], false, PlayerGroupAll());
        }
    }

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

        if ((libNCUI_gv_nU_UpgradesSubselectionSelectedItem[lv_slotID] == lv_itemID)) {
            DialogControlSetAnimationState(libNCUI_gv_nU_UpgradesSubselectionItemButtons[lv_itemID], PlayerGroupAll(), "SelectedState", "Selected");
            libNtve_gf_SetDialogItemToggled(libNCUI_gv_nU_UpgradesSubselectionItemButtons[lv_itemID], true, PlayerGroupAll());
            libNtve_gf_SetDialogItemText(libNCUI_gv_nU_UpgradesSubselectionItemTitle, libNCUI_gf_NU_UpgradesSubselectionItemTitle(lv_slotID, lv_itemID), PlayerGroupAll());
            libNtve_gf_SetDialogItemText(libNCUI_gv_nU_UpgradesSubselectionItemDescription, libNCUI_gf_NU_UpgradesSubselectionItemDescription(lv_slotID, lv_itemID), PlayerGroupAll());

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

        else {
            DialogControlSetAnimationState(libNCUI_gv_nU_UpgradesSubselectionItemButtons[lv_itemID], PlayerGroupAll(), "SelectedState", "Unselected");
            libNtve_gf_SetDialogItemToggled(libNCUI_gv_nU_UpgradesSubselectionItemButtons[lv_itemID], false, PlayerGroupAll());
        }
    }

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

    lv_resetEquipmentSlotIndex = 1;
    for ( ; ( (auto793408E9_ai >= 0 && lv_resetEquipmentSlotIndex <= auto793408E9_ae) || (auto793408E9_ai <= 0 && lv_resetEquipmentSlotIndex >= auto793408E9_ae) ) ; lv_resetEquipmentSlotIndex += auto793408E9_ai ) {
        libNtve_gf_SetDialogItemToggled(libNCUI_gv_nU_EquipmentSlotContainers[lv_resetEquipmentSlotIndex], false, PlayerGroupAll());
        libNCUI_gv_nU_EquipmentSlotContainersToggleState[lv_resetEquipmentSlotIndex] = false;
        auto6697A668_ae = libNCUI_gv_nUC_EquipmentItemCount;

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

            libNCUI_gv_nU_EquipmentSlotContainerItemButtonsToggleState[lp_equipmentID][lv_equipmentItemIndex] = true;
            libNCUI_gv_nU_Equipment_Subselection_SelectedItem[lp_equipmentID] = lv_equipmentItemIndex;
            libNtve_gf_SetDialogItemToggled(libNCUI_gv_nU_EquipmentSlotContainerItemButtons[lp_equipmentID][lv_equipmentItemIndex], true, PlayerGroupAll());
            libNtve_gf_SetDialogItemText(libNCUI_gv_nU_EquipmentSlotContainersSelectedTitle[lp_equipmentID], libNCUI_gf_NU_EquipmentSubselectionItemTitle(lp_equipmentID, lv_equipmentItemIndex), PlayerGroupAll());
            libNtve_gf_SetDialogItemText(libNCUI_gv_nU_EquipmentSlotContainersSelectedDescription[lp_equipmentID], libNCUI_gf_NU_EquipmentSubselectionItemDescription(lp_equipmentID, lv_equipmentItemIndex), PlayerGroupAll());

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

            libNCUI_gv_nU_EquipmentSlotContainerItemButtonsToggleState[lp_equipmentID][lv_equipmentItemIndex] = false;
            libNCUI_gv_nU_Equipment_Subselection_SelectedItem[lp_equipmentID] = 0;
            libNtve_gf_SetDialogItemToggled(libNCUI_gv_nU_EquipmentSlotContainerItemButtons[lp_equipmentID][lv_equipmentItemIndex], false, PlayerGroupAll());
            libNtve_gf_SetDialogItemText(libNCUI_gv_nU_EquipmentSlotContainersSelectedTitle[lp_equipmentID], StringToText(""), PlayerGroupAll());
            libNtve_gf_SetDialogItemText(libNCUI_gv_nU_EquipmentSlotContainersSelectedDescription[lp_equipmentID], StringToText(""), PlayerGroupAll());

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

            libNtve_gf_SetDialogItemTintColor(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex], Color(100,100,100), lv_playerSelf);
            libNtve_gf_SetDialogItemTintColor(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex], Color(100.00, 0.00, 0.00), lv_playerAlly);
            libNtve_gf_SetDialogItemToggled(libCOUI_gv_cU_CommanderButton[lv_commIndex], true, lv_playerSelf);
            libNtve_gf_SetDialogItemPaused(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex], false, lv_playerSelf);
            DialogControlSetVisible(libCOUI_gv_cU_CommanderButtonSelectionBorder[lv_commIndex], libCOOC_gv_cC_HumanPlayerGroup, true);

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

                libNtve_gf_SetDialogItemTooltip(libCOUI_gv_cU_CommanderButton[lv_commIndex], lv_availableTooltip, lv_playerAlly);
                libNtve_gf_SetDialogItemTooltip(libCOUI_gv_cU_CommanderButton[lv_commIndex], lv_unavailableTooltip, lv_playerSelf);
                libNtve_gf_SetDialogItemToggled(libCOUI_gv_cU_CommanderButton[lv_commIndex], true, libCOOC_gv_cC_HumanPlayerGroup);
                libNtve_gf_SetDialogItemTintColor(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex], Color(100,100,100), lv_playerAlly);
                libNtve_gf_SetDialogItemTintColor(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex], Color(100.00, 0.00, 0.00), lv_playerSelf);

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

                libNtve_gf_SetDialogItemTooltip(libCOUI_gv_cU_CommanderButton[lv_commIndex], lv_availableTooltip, libCOOC_gv_cC_HumanPlayerGroup);
                libNtve_gf_SetDialogItemTintColor(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex], Color(100,100,100), libCOOC_gv_cC_HumanPlayerGroup);
                libNtve_gf_SetDialogItemToggled(libCOUI_gv_cU_CommanderButton[lv_commIndex], false, libCOOC_gv_cC_HumanPlayerGroup);
                libNtve_gf_SetDialogItemPaused(libCOUI_gv_cU_CommanderButtonPortrait[lv_commIndex], true, libCOOC_gv_cC_HumanPlayerGroup);
            }

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

        if ((libCOOC_gf_CC_PerkStateCheck(lv_indexPerk, libCOOC_ge_CC_PerkState_Active, lv_playerCommander, lp_player) == true)) {
            DialogControlSetEnabled(libCOUI_gv_cU_CommanderItemButtons[lv_tierIndex], lv_playerSelf, true);
            libNtve_gf_SetDialogItemToggled(libCOUI_gv_cU_CommanderItemButtons[lv_tierIndex], true, lv_playerSelf);
        }
        else {

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

        else {
            DialogControlSetEnabled(libCOUI_gv_cU_CommanderItemButtons[lv_tierIndex], lv_playerSelf, false);
            libNtve_gf_SetDialogItemToggled(libCOUI_gv_cU_CommanderItemButtons[lv_tierIndex], false, lv_playerSelf);
        }
    }

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

            if ((libCOUI_gv_cU_CustomMutatorItems[lv_itemIndex] == "Random")) {
                DialogControlSetAnimationState(libCOUI_gv_cU_CustomMutatorItemButtons[lv_frameIndex], lv_updatePlayers, "SelectionState", "Random");
                libNtve_gf_SetDialogItemToggled(libCOUI_gv_cU_CustomMutatorItemButtons[lv_frameIndex], false, lv_updatePlayers);
            }
            else if ((libCOUI_gv_cU_CustomMutatorItemStates[lv_itemIndex] == true)) {

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

            else if ((libCOUI_gv_cU_CustomMutatorItemStates[lv_itemIndex] == true)) {
                DialogControlSetAnimationState(libCOUI_gv_cU_CustomMutatorItemButtons[lv_frameIndex], lv_updatePlayers, "SelectionState", "Toggled");
                libNtve_gf_SetDialogItemToggled(libCOUI_gv_cU_CustomMutatorItemButtons[lv_frameIndex], true, lv_updatePlayers);
            }
            else if (true) {

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

            else if (true) {
                DialogControlSetAnimationState(libCOUI_gv_cU_CustomMutatorItemButtons[lv_frameIndex], lv_updatePlayers, "SelectionState", "Normal");
                libNtve_gf_SetDialogItemToggled(libCOUI_gv_cU_CustomMutatorItemButtons[lv_frameIndex], false, lv_updatePlayers);
            }
        }