menuShortcutText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{( *)Warning( *)\|" to "{{$1Feature$2|$Warning$2|")
m (Text replacement - "([^ ])\|\$Warning( *)\|" to "$1|$2Warning$2|")
Line 7: Line 7:
|gr1= GUI Control - Menu
|gr1= GUI Control - Menu


| 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]
| [[menuShortcutText]] [idc, path]

Revision as of 00:32, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - Menu

Syntax

Syntax:
Syntax needed
Parameters:
idc: Number
path: Array
Return Value:
Return value needed

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:
See also needed

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