menuShortcutText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 9: | Line 9: | ||
| Returns a string containing shortcut text for menu item on the given path. {{Feature|Warning|This command is currently broken in Arma 3 2.00. It only returns shortcuts which do not use a modifier key (CTRL, ALT and SHIFT).}} | | Returns a string containing shortcut text for menu item on the given path. {{Feature|Warning|This command is currently broken in Arma 3 2.00. It only returns shortcuts which do not use a modifier key (CTRL, ALT and SHIFT).}} | ||
| [[menuShortcutText]] [idc, path] | |s1= [[menuShortcutText]] [idc, path] | ||
|p1= idc: [[Number]] | |p1= idc: [[Number]] |
Revision as of 23:14, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- GUI Control - Menu
Syntax
- Syntax:
- menuShortcutText [idc, path]
- Parameters:
- idc: Number
- path: Array
- Return Value:
- String
Alternative Syntax
- Syntax:
- control menuShortcutText path
- Parameters:
- control: Control
- path: Array
- Return Value:
- String
Examples
- Example 1:
findDisplay 313 displayCtrl 120 menuShortcutText [1, 8]; // Returns "#"
Additional Information
- See also:
- menuShortcut menuSetShortcut
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note