nMenuItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 17: Line 17:
| Returns the total number of user-added menu items belonging to the given menu. {{Feature | 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
|s1=  map '''nMenuItems''' menuName


|p1= map: [[Control]]
|p1= map: [[Control]]

Revision as of 00:14, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Game 2 Editor

Syntax

Syntax:
map nMenuItems menuName
Parameters:
map: Control
menuName: String - "file" or "view"
Return Value:
Number

Alternative Syntax

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

Examples

Example 1:
-

Additional Information

See also:
-

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