# Set Help Panel Default Visibility
Grammar — Set help panel to inShow|Show/Hide units by default for player inPlayer
Flags —Native
|Action
Determines whether or not units show up in the help panel by default. Use the “Show/Hide Help For Unit” action to show or hide individual unit types.
# Arguments
int
— Playerbool
<preset::ShowHideOption> — Show
Returns — void
native void TechTreeUnitHelpDefault(
int player,
bool display,
);
# 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/challenges/advancedcommand.sc2map/MapScript.galaxy:325
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Ghost", true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:350
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Ghost", true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:663
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Marauder", true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:400
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "HighTemplar", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Sentry", true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:427
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Marauder", true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:614
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Marauder", true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:309
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Ghost", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Raven", true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zergcombat.sc2map/MapScript.galaxy:673
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Zealot", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Stalker", true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:329
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "SCV", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2map — MapScript.galaxy:325
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Ghost", true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/economy.sc2map — MapScript.galaxy:350
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Ghost", true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosscombat.sc2map — MapScript.galaxy:663
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Marauder", true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:400
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "HighTemplar", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Sentry", true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2map — MapScript.galaxy:427
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Marauder", true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancombat.sc2map — MapScript.galaxy:614
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Marauder", true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:309
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Ghost", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Raven", true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zergcombat.sc2map — MapScript.galaxy:673
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "Zealot", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Stalker", true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:329
}
TechTreeUnitHelpDefault(gv_pLAYER_USER, false);
TechTreeUnitHelp(gv_pLAYER_USER, "SCV", true);
TechTreeUnitHelp(gv_pLAYER_USER, "Marine", true);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:7042
// Implementation
TechTreeUnitHelpDefault(lp_player, false);
autoAB84843D_ae = libCamp_gv_TSC_TECHGROUP_LAST;
lv_index = libCamp_gv_TSC_TECHGROUP_FIRST;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7297
// Implementation
TechTreeUnitHelpDefault(1, false);
if (((libSwaC_gf_ZS_MissionisInstallation(libSwaC_gf_CurrentMap()) == true) || (libSwaC_gf_StoryMapTypeCheck(libSwaC_gf_CurrentMap(), c_mapKindUpgrade) == true))) {
return ;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6084
// Implementation
TechTreeUnitHelpDefault(1, false);
if ((libVoiC_gf_PC_MissionisInstallation(libVoiC_gf_CurrentMap()) == true)) {
return ;
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:2836
// Implementation
TechTreeUnitHelpDefault(1, false);
if ((libComC_gf_CC_CurrentMapIsInstallation() == true)) {
return ;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:6021
auto50679DB4_var = PlayerGroupNextPlayer(auto50679DB4_g, auto50679DB4_var);
if (auto50679DB4_var < 0) { break; }
TechTreeUnitHelpDefault(auto50679DB4_var, false);
}
libCOUI_gf_CU_HelpSetupMutatorTips();
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:5465
// Implementation
TechTreeUnitHelpDefault(1, false);
if (((libA3DDD02B_gf_PP_MissionisInstallation(libA3DDD02B_gf_CurrentMap()) == true) || (libA3DDD02B_gf_StoryMapTypeCheck(libA3DDD02B_gf_CurrentMap(), c_mapKindUpgrade) == true))) {
return ;