Arma 3 Scripting

Command in GUI Control - Menu

menuSetPicture

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

Description

Sets new picture into menu entry on given path. The picture will be replaced by a tick if the entry was set to checkable with menuSetCheck.

Syntax

Syntax 1

menuSetPicture [idc, path, picture]

Parameters:

Returns: Nothing

Syntax 2

control menuSetPicture [path, picture]

Parameters:

Returns: Nothing

Examples

Example 1

findDisplay 313 displayCtrl 120 menuSetPicture [[0, 1], "\a3\modules_f\data\iconunlock_ca.paa"];

See also

menuPicture