# Set Custom Menu Dialog Item Shortcut
Grammar — Set the shortcut/hotkey of menuItem to__shortcut__ for players
Flags —Native
|Action
Sets the shortcut keyboard key of a specified Menu Item in the Custom Menu.
# Arguments
playergroup
— Playersint
<preset::GameMenuDialogItem> — Menu Itemtext
— Shortcut
Returns — void
native void UISetCustomMenuItemShortcut(
playergroup inPlayers,
int inMenuItemType,
text inText,
);
# 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 —