menuAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - " <!-- |s2= control |p21= control: Control |p22= |p23= |r2= -->" to "")
Line 16: Line 16:
| r2= [[String]] - Action
| r2= [[String]] - Action


<!--
|s2= control
|p21= control: [[Control]]
|p22=
|p23=
|r2=
-->
|x1=  <code>[[menuAction]] [120, [1, 0]];</code>
|x1=  <code>[[menuAction]] [120, [1, 0]];</code>
|x2=  <code>[[findDisplay]] 313 [[displayCtrl]] 120 [[menuAction]] [1, 0];</code>
|x2=  <code>[[findDisplay]] 313 [[displayCtrl]] 120 [[menuAction]] [1, 0];</code>

Revision as of 01:11, 9 June 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:
menuSetAction

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