menuAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 14: Line 14:


|s2= control [[menuAction]] path
|s2= control [[menuAction]] path
|p21= control: [[Number]] |PARAMETER21=
|p21= control: [[Number]]
|p22= path: [[Array]] |PARAMETER22=
|p22= path: [[Array]]
| r2= [[String]] - Action
| r2= [[String]] - Action



Revision as of 19:09, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - Menu

Syntax

Syntax:
Syntax needed
Parameters:
[idc, path]: Array
idc: Number
path: Array
Return Value:
Return value needed

Alternative Syntax

Syntax:
control menuAction path
Parameters:
control: Number
path: Array
Return Value:
String - Action

Examples

Example 1:
menuAction [120, [1, 0]];
Example 2:
findDisplay 313 displayCtrl 120 menuAction [1, 0];

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