Arma 3 Scripting

Command in Game 2 Editor

addMenuItem

Also available as Markdown and JSON, or read the original wiki page.

Description

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).

Note

Some Old Editor Command

Syntax

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

Parameters:

Returns: Number

Examples

Example 1

See also

Game 2 Editor