# Hide All Custom Menu Dialog Items

Grammar — Hide all custom menu dialog items for players
FlagsNative | Action

Hides all the Custom Menu dialog items.

# Arguments

  • playergroup — Players

Returns — void

native void UIClearCustomMenuItemList(
	playergroup inPlayers,
);

Category: UI / Game Menu

# Examples

campaigns/liberty.sc2campaignbase.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.sc2campaignbase.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.sc2mapMapScript.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.sc2mapMapScript.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.stormmodbase.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)) {