# 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
- [F] —
void
— Abort Mission — ( TriggerAddEventAbortMission ) - [F] —
void
— Game Menu Item Selected — ( TriggerAddEventGameMenuItemSelected ) - [F] —
int
[ preset::GameMenuDialogItem ] — Game Menu Item Selected — ( EventGameMenuItemSelected ) - [F] —
void
— Set Game Menu Dialog Item Text — ( UISetGameMenuItemText ) - [F] —
void
— Set Game Menu Dialog Item Shortcut — ( UISetGameMenuItemShortcut ) - [F] —
void
— Show/Hide Game Menu Dialog Item — ( UISetGameMenuItemVisible ) - [F] —
void
— Show Custom Menu — ( UIShowCustomMenu ) - [F] —
void
— Show Standard Menu — ( UIShowStandardMenu ) - [F] —
void
— Set Custom Menu Dialog Item Text — ( UISetCustomMenuItemText ) - [F] —
void
— Set Custom Menu Dialog Item Shortcut — ( UISetCustomMenuItemShortcut ) - [F] —
void
— Show/Hide Custom Menu Dialog Item — ( UISetCustomMenuItemVisible ) - [F] —
void
— Hide All Custom Menu Dialog Items — ( UIClearCustomMenuItemList )
# Examples
— None found —