Arma 3 Scripting

lnbSetColor

  • Local argument
  • Local effect
  • Arma 3 v0.50
  • First in Arma 2 v1.00

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