menuAdd: 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
____________________________________________________________________________________________
____________________________________________________________________________________________
| Adds new submenu entry into item on given path. |= Description
| Adds new submenu entry into item on given path. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[menuAdd]] [idc, path, text] |= Syntax
| [[menuAdd]] [idc, path, text] |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]], [[menuSetAction]], [[menuDelete]], [[‎menuHover]], [[menuValue]], [[menuURL]], [[‎menuText]], [[menuSort]], [[‎menuSize]], [[menuEnabled]], [[‎menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuClear]], [[menuSetPicture]] |= See Also
| ‎[[menuEnable]], [[menuExpand]], [[menuCollapse]], [[menuSetData]], [[menuSetValue]], [[‎menuSetCheck]], [[menuSetAction]], [[menuDelete]], [[‎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:
Adds new submenu entry into item on given path.
Groups:
Uncategorised

Syntax

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

Examples

Examples:
Example needed

Additional Information

See also:
menuEnablemenuExpandmenuCollapsemenuSetDatamenuSetValue‎menuSetCheckmenuSetActionmenuDelete‎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