# Show/Hide Game UI
Grammar — showHide game UI for players
Flags —Action
Shows or hides the entire game UI. When shown, the UI will be set back to the visibility state of before it was hidden.
# Arguments
bool
[ preset::ShowHideOption ] — Show/Hideplayergroup
— Players
Returns — void
void libNtve_gf_HideGameUI(
bool lp_showHide,
playergroup lp_players,
);
# Related
Category: UI / Game UI
- [F] —
void
— Set Screen Mode — ( UISetMode ) - [F] —
void
— Set Minimum Letterbox Height — ( UISetMinimumLetterboxHeight ) - [F] —
void
— Show/Hide Game UI — ( libNtve_gf_HideGameUI ) - [F] —
void
— Add/Remove UI Frame Type For Global Filter List — ( libNtve_gf_AddRemoveUIFrameTypeForGlobalFilterList ) - [P] — UI Frame Flag
- [F] —
bool
— UI Frame Flag Check — ( libNtve_gf_UIFrameFlagCheck ) - [F] —
void
— For Each UI Frame — ( ) - [F] —
void
— Show/Hide UI Frame — ( UISetFrameVisible ) - [F] —
void
— Set BattleNet Button Offset — ( UISetBattleNetButtonOffset ) - [F] —
void
— Clear BattleNet Button Offset — ( UIClearBattleNetButtonOffset ) - [F] —
bool
— UI Frame Is Visible — ( UIFrameVisible ) - [F] —
void
— Show/Hide World — ( UISetWorldVisible ) - [F] —
void
— Show/Hide Achievement Panel — ( AchievementPanelSetVisible ) - [F] —
void
— Show/Hide Mouse Cursor — ( UISetCursorVisible ) - [F] —
void
— Enable/Disable Mouse Cursor Auto Hide — ( UISetCursorAutoHide ) - [F] —
void
— Enable/Disable Drag Selection — ( UISetDragSelectEnabled ) - [F] —
void
— Set Hot Key Profile — ( UISetHotkeyProfile ) - [F] —
void
— Lock Ally Color Setting — ( UIUnitColorStyleOverride ) - [F] —
void
— Unlock Ally Color Setting — ( UIUnitColorStyleClearOverride ) - [F] —
void
— Lock Flyer Helper Display — ( UIFlyerHelperOverride ) - [F] —
void
— Unlock Flyer Helper Display — ( UIFlyerHelperClearOverride ) - [F] —
void
— Lock Status Bar Display — ( UIStatusBarOverride ) - [F] —
void
— Unlock Status Bar Display — ( UIStatusBarClearOverride ) - [F] —
void
— Set Achievement Toast Style — ( UISetAchievementToastStyle ) - [F] —
void
— Set Minimap Background Color — ( UISetMiniMapBackGroundColor ) - [F] —
void
— Show/Hide Minimap Camera Field of View — ( UISetMiniMapCameraFoVVisible ) - [F] —
void
— Set Minimap Bounds — ( UISetMiniMapBounds ) - [F] —
void
— Enable/Disable Command Type — ( UISetCommandAllowed ) - [F] —
void
— Turn Ability Highlight On/Off — ( UISetButtonHighlighted ) - [F] —
void
— Turn Button Highlight On/Off — ( UISetButtonFaceHighlighted ) - [F] —
void
— Set Command Type Disabled Message — ( UISetCommandDisallowedMessage ) - [F] —
void
— Show/Hide Resource — ( UISetResourceVisible ) - [F] —
void
— Enable/Disable Selection Type — ( UISetSelectionTypeEnabled ) - [F] —
void
— Launch Nydus Link — ( UILaunchNydusLink ) - [F] —
void
— Show/Hide Message Log — ( UIMessageLogPanelSetVisible ) - [F] —
void
— Set Targeting Order — ( UISetTargetingOrder ) - [F] —
void
— Enable/Disable Hotkey — ( UISetHotkeyAllowed ) - [F] —
void
— Target Mode Updated — ( TriggerAddEventTargetModeUpdate ) - [F] —
void
— Resources Requested — ( TriggerAddEventResourceRequest ) - [F] —
void
— Resources Traded — ( TriggerAddEventResourceTrade ) - [F] —
abilcmd
— Target Mode Ability Command — ( EventTargetModeAbilCmd ) - [F] —
int
[ preset::TargetModeState ] — Target Mode State — ( EventTargetModeState ) - [F] —
int
— Resource Requested Amount — ( EventResourceRequestAmount ) - [F] —
int
— Resource Traded Amount — ( EventResourceTradeAmount ) - [F] —
int
— Resource Traded Recipient — ( EventResourceTradeRecipient )
# Examples
# campaigns/liberty.sc2campaign
// L4068
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L8907
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L2894
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L2896
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L3076
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L3988
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L4804
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L5246
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L5726
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L5853
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L5076
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L705
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L1175
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L4068
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L8907
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L2894
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L2896
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L3076
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L3988
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L4804
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L5246
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L5726
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L5853
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L5076
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L705
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L1175
libNtve_gf_HideGameUI(false, PlayerGroupAll())
# campaigns/libertystory.sc2campaign
// L2027
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L10036
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L11663
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L13470
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L13593
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L13735
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L13803
libNtve_gf_HideGameUI(true, PlayerGroupAll())
# campaigns/swarm.sc2campaign
// L9860
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L9931
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L9860
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L9931
libNtve_gf_HideGameUI(true, PlayerGroupAll())
# campaigns/swarmstory.sc2campaign
// L14166
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L14970
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L14999
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L15300
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L15312
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L16259
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L22900
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L22920
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L23217
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L23244
libNtve_gf_HideGameUI(true, PlayerGroupAll())
# campaigns/swarmstoryutil.sc2mod
// L2200
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L7341
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L7609
libNtve_gf_HideGameUI(false, PlayerGroupAll())
# campaigns/void.sc2campaign
// L3796
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L3849
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L3851
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L3796
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L3849
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L3851
libNtve_gf_HideGameUI(true, PlayerGroupAll())
# campaigns/voidstory.sc2campaign
// L504
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L516
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L1288
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L9965
libNtve_gf_HideGameUI(true, PlayerGroupAll())
# campaigns/voidstory.sc2campaign
— VoidCampaignMissionLib.galaxy
// L1457
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L6654
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L6672
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L6818
libNtve_gf_HideGameUI(false, PlayerGroupAll())
# campaigns/voidstory.sc2campaign
// L4643
libNtve_gf_HideGameUI(false, PlayerGroupAll())
# campaigns/voidstory.sc2campaign
// L5503
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L5870
libNtve_gf_HideGameUI(true, PlayerGroupAll())
# mods/missionpacks/novacampaign.sc2mod
// L5773
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L5791
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L5904
libNtve_gf_HideGameUI(false, PlayerGroupAll())
# mods/missionpacks/novacampaign.sc2mod
// L3987
libNtve_gf_HideGameUI(false, PlayerGroupAll())
# mods/missionpacks/novacampaign.sc2mod
// L3828
libNtve_gf_HideGameUI(false, PlayerGroupAll())
# mods/missionpacks/novacampaign.sc2mod
// L568
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L579
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L1057
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L3599
libNtve_gf_HideGameUI(true, PlayerGroupAll())
# mods/starcoop/starcoop.sc2mod
// L4620
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L4659
libNtve_gf_HideGameUI(true, PlayerGroupAll())
// L4683
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L4758
libNtve_gf_HideGameUI(true, PlayerGroupAll())
# mods/starcoop/starcoop.sc2mod
// L5904
libNtve_gf_HideGameUI(false, PlayerGroupSingle(lp_player))
# mods/voidprologue.sc2mod
// L6986
libNtve_gf_HideGameUI(false, PlayerGroupAll())
// L7807
libNtve_gf_HideGameUI(false, PlayerGroupAll())