# Enable/Disable Help Panel Tech Tree Button
Grammar — showHide the tech tree button in the help panel for players
Flags —Native
|Action
Enables or disables the tech tree button on the help panel for the specified players.
# Arguments
playergroup
— Playersbool
<preset::Enable_Disable_Option> — Enable/Disable
Returns — void
native void HelpPanelEnableTechTreeButton(
playergroup inPlayerGroup,
bool inEnable,
);
# Related
Category: UI / Help Panel
- Help Item — preset —
int
- Destroy HelpItem —
void
— HelpPanelDestroyHelpItem - Last Created HelpItem —
int
<preset::HelpItem> — HelpPanelLastCreatedHelpItem - Display Help Page —
void
— HelpPanelDisplayPage - Create Tip —
void
— HelpPanelAddTip - Destroy All Tips —
void
— HelpPanelDestroyAllTips - Destroy All Tutorials —
void
— HelpPanelDestroyAllTutorials - Format Tip Title —
text
— libNtve_gf_FormatTipTitle - Clear All Tip Alerts —
void
— TipAlertPanelClear - Create Cheat —
void
— HelpPanelAddHint - Create Tutorial —
void
— HelpPanelAddTutorial - Create Message Log Entry —
void
— HelpPanelAddMessage - Enable/Disable Help Panel Tech Tree Button —
void
— HelpPanelEnableTechTreeButton - Enable/Disable Help Panel Tech Glossary Button —
void
— HelpPanelEnableTechGlossaryButton - Show/Hide Help Panel Tech Tree Race —
void
— HelpPanelShowTechTreeRace - Show/Hide Help For Unit —
void
— TechTreeUnitHelp - Set Help Panel Default Visibility —
void
— TechTreeUnitHelpDefault - Set Help Item Darkened When Viewed —
void
— HelpPanelSetHelpItemDarkenedWhenViewed
# Examples
campaigns/liberty.sc2campaign — base.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.sc2campaign — base.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.sc2campaign — base.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.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.sc2campaign/base.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.sc2campaign/base.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/void.sc2campaign — base.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.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);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:12459
// Automatic Variable Declarations
// Implementation
HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
}
mods/warcoop/warclassic.sc2mod — base.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");