Arma 3 Scripting

Command in GUI Control - ListNBox

lnbSetColor

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

Description

Sets the color of the item with the given position of the 2D listbox. Color is in format Color (RGBA).

Syntax

Syntax 1

lnbSetColor [idc, [row, column], color]

Parameters:

Returns: Nothing

Syntax 2

ctrl lnbSetColor [[row, column], color]

Parameters:

Returns: Nothing

Examples

Example 1

_ctrl lnbSetColor [[0,0], [1,0,0,1]];

See also

lnbAddArray · lnbAddColumn · lnbAddRow · lnbClear · lnbColor · lnbCurSelRow · lnbData · lnbDeleteColumn · lnbDeleteRow · lnbGetColumnsPosition · lnbPicture · lnbSetColumnsPos · lnbSetCurSelRow · lnbSetData · lnbSetPicture · lnbSetText · lnbSetValue · lnbSize · lnbText · lnbValue