Arma 3 Scripting

Command in GUI Control - ListNBox

lnbSetPicture

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

Description

Sets the picture in the item with the given position of the 2D listbox.The picture is searched in the mission, directory, the dtaExt subdirectory of the campaign directory, and the dtaExt directory and the data bank (or directory).

Syntax

Syntax 1

lnbSetPicture [idc, [row, column], picturePathOrName]

Parameters:

Returns: Nothing

Syntax 2

ctrl lnbSetPicture [[row, column], picturePathOrName]

Parameters:

Returns: Nothing

Examples

Example 1

lnbSetPicture [1, [0, 0], "Picture"];

Example 2

_ctrl lnbSetPicture [[0, 0], "\A3\Ui_f\data\GUI\Cfg\Ranks\lieutenant_gs.paa"];

See also

lnbPicture · lnbSetPictureRight · lnbPictureRight