addMenuItem: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 8: Line 8:


| Creates a new menu item. Menu can be "file" or "view",index is index,as returned from addMenu command. priority is optional and determines,where in the menu the item will reside (higher priority items first).  
| Creates a new menu item. Menu can be "file" or "view",index is index,as returned from addMenu command. priority is optional and determines,where in the menu the item will reside (higher priority items first).  
{{Informative | Some Old Editor Command}}
{{Feature | Informative | Some Old Editor Command}}


| map '''addMenuItem''' [menu or index,text,command,priority]
| map '''addMenuItem''' [menu or index,text,command,priority]

Revision as of 00:03, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Game 2 Editor

Syntax

Syntax:
Syntax needed
Parameters:
map: Control -
[menu or index,text,command,priority]: Array -
Return Value:
Return value needed

Examples

Example 1:
-

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