# Enable/Disable Help Panel Tech Tree Button

GrammarshowHide the tech tree button in the help panel for players
FlagsNative | Action

Enables or disables the tech tree button on the help panel for the specified players.

# Arguments

Returns — void

native void HelpPanelEnableTechTreeButton(
	playergroup inPlayerGroup,
	bool inEnable,
);

Category: UI / Help Panel

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:654

    libCamp_gf_CreateCampaignTutorial(StringExternal("Param/Value/E32DC4BA"), StringExternal("Param/Value/FF5D68B7"), "Assets\\Textures\\ui_tutorial_cameraicon.dds", "Assets\\Textures\\video_tutorial_camera_control.ogv");
    libCamp_gf_CreateCampaignTutorial(StringExternal("Param/Value/A9737948"), StringExternal("Param/Value/5601198E"), "Assets\\Textures\\btn-command-move.dds", "Assets\\Textures\\video_tutorial_movement.ogv");
    HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
    libCamp_gf_AddUnitTypeToUnitHelpPanel("Marine", false, gv_p1_USER);
    libCamp_gf_AddUnitTypeToUnitHelpPanel("VikingFighter", false, gv_p1_USER);

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

    UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowButtons, false);
    UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowPings, false);
    HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
    HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
    StoryCreatePlanetPanel();

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1106

    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeCharacterSheetButton, false);
    UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowPings, false);
    HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
    HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:654

    libCamp_gf_CreateCampaignTutorial(StringExternal("Param/Value/E32DC4BA"), StringExternal("Param/Value/FF5D68B7"), "Assets\\Textures\\ui_tutorial_cameraicon.dds", "Assets\\Textures\\video_tutorial_camera_control.ogv");
    libCamp_gf_CreateCampaignTutorial(StringExternal("Param/Value/A9737948"), StringExternal("Param/Value/5601198E"), "Assets\\Textures\\btn-command-move.dds", "Assets\\Textures\\video_tutorial_movement.ogv");
    HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
    libCamp_gf_AddUnitTypeToUnitHelpPanel("Marine", false, gv_p1_USER);
    libCamp_gf_AddUnitTypeToUnitHelpPanel("VikingFighter", false, gv_p1_USER);

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

    UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowButtons, false);
    UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowPings, false);
    HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
    HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
    StoryCreatePlanetPanel();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2mapMapScript.galaxy:1106

    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeCharacterSheetButton, false);
    UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowPings, false);
    HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
    HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
    return true;

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

    libVCUI_gf_ShowSpearofAdunUI(false, c_transitionDurationImmediate);
    PlayerSetState(gv_p02_ENEMY, c_playerStateShowWorldTip, false);
    HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
    HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeAllianceButton, false);

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

    libVCUI_gf_ShowSpearofAdunUI(false, c_transitionDurationImmediate);
    PlayerSetState(gv_p02_ENEMY, c_playerStateShowWorldTip, false);
    HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
    HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
    UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeAllianceButton, false);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:12459

    // Automatic Variable Declarations
    // Implementation
    HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
    HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
}

mods/warcoop/warclassic.sc2modbase.sc2data/TriggerLibs/WarClassic.galaxy:1032

    UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowModifiers, true);
    UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowModifiersSmartCtrlAttack, false);
    HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
    HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
    DialogControlHookupStandard(c_triggerControlTypeImage, "UIContainer\\ConsolePanel\\ConsoleSkinTemplate\\InfoPanelImageContainer\\InfoPanelBackground");