Arma 3 Scripting

menuEnable

  • Arma 3 v1.56

Command · Markdown · JSON · original wiki page

Description

Enables or disables menu entry on given path.

Syntax

Syntax 1

menuEnable [idc, path, enable]

Parameters:

Returns: Nothing

Syntax 2

control menuEnable [path, enable]

Parameters:

Returns: Nothing

Syntax 3

control menuEnable path

Caution

This information is obsolete as of Arma 3 v2.06. Reason: This old syntax is kept only for backward compatibility.

Parameters:

Returns: Nothing

Examples

Example 1

findDisplay 313 displayCtrl 120 menuEnable [0]; // old syntax, do not use

Example 2

findDisplay 313 displayCtrl 120 menuEnable [[0, 0, 1], false]; // since Arma 3 v2.06

See also

menuEnabled