# Set Game Menu Dialog Item Shortcut
Grammar — Set the shortcut/hotkey of menuItem to __show|Text __for players
Flags —Native|Action
Sets the shortcut keyboard key of a specified menu item in the game menu. Allows customization of the F10 menu.
# Arguments
playergroup— Playersint<preset::GameMenuDialogItem> — Menu Itemtext— Shortcut
Returns — void
native void UISetGameMenuItemShortcut(
playergroup inPlayers,
int inMenuItemType,
text inShortcut,
);
# 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
— None found —