menuSetAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (template:command argument fix)
Line 6: Line 6:
|eff=  |= Multiplayer Effects
|eff=  |= Multiplayer Effects
____________________________________________________________________________________________
____________________________________________________________________________________________
| Sets new action into menu entry on given path. |= Description
| Sets new action into menu entry on given path. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[menuSetAction]] [idc, path, action] |= Syntax
| [[menuSetAction]] [idc, path, action] |SYNTAX=
|p1= idc: [[Number]] |= Parameter 1
|p1= idc: [[Number]] |PARAMETER1=
|p2= path: [[Array]] |= Parameter 2
|p2= path: [[Array]] |PARAMETER2=
|p3= text: [[String]] |= Parameter 3
|p3= text: [[String]] |PARAMETER3=


| [[Number]] |= Return Value
| [[Number]] |RETURNVALUE=
<!--
<!--
|s2= control |= Alternative Syntax
|s2= control |= Alternative Syntax
Line 21: Line 21:
|r2=  |= Alternative Return Value
|r2=  |= Alternative Return Value
-->
-->
|x1=  |= Example 1
|x1=  |EXAMPLE1=
| ‎[[menuEnable]], [[menuExpand]], [[menuCollapse]], [[menuSetData]], [[menuSetValue]], [[‎menuSetCheck]], [[menuDelete]], [[menuAdd]], [[‎menuHover]], [[menuValue]], [[menuURL]], [[‎menuText]], [[menuSort]], [[‎menuSize]], [[menuEnabled]], [[‎menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuClear]], [[menuSetPicture]] |= See Also
| ‎[[menuEnable]], [[menuExpand]], [[menuCollapse]], [[menuSetData]], [[menuSetValue]], [[‎menuSetCheck]], [[menuDelete]], [[menuAdd]], [[‎menuHover]], [[menuValue]], [[menuURL]], [[‎menuText]], [[menuSort]], [[‎menuSize]], [[menuEnabled]], [[‎menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuClear]], [[menuSetPicture]] |SEEALSO=
}}
}}



Revision as of 14:43, 7 April 2019

Hover & click on the images for description

Description

Description:
Sets new action into menu entry on given path.
Groups:
Uncategorised

Syntax

Syntax:
menuSetAction [idc, path, action]
Parameters:
idc: Number
path: Array
text: String
Return Value:
Number

Examples

Examples:
Example needed

Additional Information

See also:
menuEnablemenuExpandmenuCollapsemenuSetDatamenuSetValue‎menuSetCheckmenuDeletemenuAdd‎menuHovermenuValuemenuURL‎menuTextmenuSort‎menuSizemenuEnabled‎menuCheckedmenuActionmenuShortcutTextmenuShortcutmenuPicturemenuDatamenuClearmenuSetPicture

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

Bottom Section