# Enable/Disable Help Panel Tech Glossary Button
Grammar — showHide the units button in the help panel for players
Flags —Native
|Action
Enables or disables the glossary button on the help panel for the specified players.
# Arguments
playergroup
— Playersbool
<preset::Enable_Disable_Option> — Enable/Disable
Returns — void
native void HelpPanelEnableTechGlossaryButton(
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/tstory01.sc2map/MapScript.galaxy:16723
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowPings, false);
HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
StoryCreatePlanetPanel();
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1107
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowPings, false);
HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:16723
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowPings, false);
HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
StoryCreatePlanetPanel();
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1107
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowPings, false);
HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:2566
PlayerSetState(gv_p02_ENEMY, c_playerStateShowWorldTip, false);
HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeAllianceButton, false);
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeMissionTimePanel, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:2566
PlayerSetState(gv_p02_ENEMY, c_playerStateShowWorldTip, false);
HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeAllianceButton, false);
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeMissionTimePanel, false);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:12460
// Implementation
HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
}
mods/warcoop/warclassic.sc2mod — base.sc2data/TriggerLibs/WarClassic.galaxy:1033
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowModifiersSmartCtrlAttack, false);
HelpPanelEnableTechTreeButton(PlayerGroupAll(), false);
HelpPanelEnableTechGlossaryButton(PlayerGroupAll(), false);
DialogControlHookupStandard(c_triggerControlTypeImage, "UIContainer\\ConsolePanel\\ConsoleSkinTemplate\\InfoPanelImageContainer\\InfoPanelBackground");
libNtve_gf_SetDialogItemRenderType(DialogControlLastCreated(), c_triggerRenderTypeHDR, PlayerGroupAll());