Arma 3 Scripting

addMenuItem

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · 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