# Hide All Custom Menu Dialog Items
Grammar — Hide all custom menu dialog items for players
Flags —Native
|Action
Hides all the Custom Menu dialog items.
# Arguments
playergroup
— Players
Returns — void
native void UIClearCustomMenuItemList(
playergroup inPlayers,
);
# Related
Category: UI / Game Menu
- Abort Mission —
void
— TriggerAddEventAbortMission - Game Menu Item Selected —
void
— TriggerAddEventGameMenuItemSelected - Game Menu Item Selected —
int
<preset::GameMenuDialogItem> — EventGameMenuItemSelected - Set Game Menu Dialog Item Text —
void
— UISetGameMenuItemText - Set Game Menu Dialog Item Shortcut —
void
— UISetGameMenuItemShortcut - Show/Hide Game Menu Dialog Item —
void
— UISetGameMenuItemVisible - Show Custom Menu —
void
— UIShowCustomMenu - Show Standard Menu —
void
— UIShowStandardMenu - Set Custom Menu Dialog Item Text —
void
— UISetCustomMenuItemText - Set Custom Menu Dialog Item Shortcut —
void
— UISetCustomMenuItemShortcut - Show/Hide Custom Menu Dialog Item —
void
— UISetCustomMenuItemVisible - Hide All Custom Menu Dialog Items —
void
— UIClearCustomMenuItemList
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8305
gv_gameResult = 2;
Wait(4.0, c_timeGame);
UIClearCustomMenuItemList(PlayerGroupAll());
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton1, StringExternal("Param/Value/04238907"));
UISetCustomMenuItemVisible(PlayerGroupAll(), c_gameMenuDialogGenericButton1, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8467
gv_fighterMoveRightKeyDown = false;
gv_fighterMoveUpKeyDown = false;
UIClearCustomMenuItemList(PlayerGroupAll());
UISetCustomMenuItemVisible(PlayerGroupAll(), c_gameMenuDialogOptionsButton, true);
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton1, StringExternal("Param/Value/69974529"));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:8305
gv_gameResult = 2;
Wait(4.0, c_timeGame);
UIClearCustomMenuItemList(PlayerGroupAll());
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton1, StringExternal("Param/Value/04238907"));
UISetCustomMenuItemVisible(PlayerGroupAll(), c_gameMenuDialogGenericButton1, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:8467
gv_fighterMoveRightKeyDown = false;
gv_fighterMoveUpKeyDown = false;
UIClearCustomMenuItemList(PlayerGroupAll());
UISetCustomMenuItemVisible(PlayerGroupAll(), c_gameMenuDialogOptionsButton, true);
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton1, StringExternal("Param/Value/69974529"));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:8769
UISetGameMenuItemVisible(PlayerGroupAll(), c_gameMenuDialogAchievementsButton, false);
libNtve_gf_AddRemoveUIFrameTypeForGlobalFilterList(true, c_syncFrameTypeCommandPanel);
UIClearCustomMenuItemList(PlayerGroupAll());
UISetCustomMenuItemVisible(PlayerGroupAll(), c_gameMenuDialogOptionsButton, true);
if ((PlayerGroupCount(libCore_gv_activeHumanPlayers) > 1)) {