nMenuItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 7: Line 7:
|gr1= Game 2 Editor
|gr1= Game 2 Editor


| Returns the total number of user-added menu items belonging to the given menu. {{Informative | Some Old Editor Command}}
| Returns the total number of user-added menu items belonging to the given menu. {{Feature | Informative | Some Old Editor Command}}


| map '''nMenuItems''' menuName
| map '''nMenuItems''' menuName

Revision as of 01:09, 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
menuName: String - "file" or "view"
Return Value:
Return value needed

Alternative Syntax

Syntax:
map nMenuItems index
Parameters:
map: Control
index: Number
Return Value:
Number

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