menuSetShortcut: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
Lou Montana (talk | contribs) m (Text replacement - " |arma3Dev |2.01" to " |arma3 |2.02") |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| | |arma3 | ||
|2. | |2.02 | ||
|gr1= GUI Control - Menu | |gr1= GUI Control - Menu | ||
Line 19: | Line 19: | ||
| [[Nothing]] | | [[Nothing]] | ||
|s2= control [[menuSetShortcut]] [path, shortcut] | |||
| | |p21= control: [[Control]] | ||
| | |p22= path: [[Array]] | ||
| | |p23= shortcut: [[Number]] | ||
|r2= [[Nothing]] | |||
|r2= [[Nothing]] | |||
|x1= <Code>_ctrlMenuStrip [[menuSetShortcut]] [<nowiki>[</nowiki>0,0],2048 + 0x16]; {{cc|ALT + U}}</code> | |x1= <Code>_ctrlMenuStrip [[menuSetShortcut]] [<nowiki>[</nowiki>0,0],2048 + 0x16]; {{cc|ALT + U}}</code> | ||
|[[menuShortcut]] [[menuShortcutText]] | |seealso= [[menuShortcut]] [[menuShortcutText]] | ||
}} | }} | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 19:20, 24 February 2021
Description
- Description:
- Description needed
- Groups:
- GUI Control - Menu
Syntax
- Syntax:
- Syntax needed
- Parameters:
- idc: Number
- path: Array
- shortcut: Number
- Return Value:
- Return value needed
Alternative Syntax
- Syntax:
- control menuSetShortcut [path, shortcut]
- Parameters:
- control: Control
- path: Array
- shortcut: Number
- Return Value:
- Nothing
Examples
- Example 1:
_ctrlMenuStrip menuSetShortcut [[0,0],2048 + 0x16]; // ALT + U
Additional Information
- See also:
- menuShortcut menuShortcutText
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