Arma 3 Scripting

lbColor

  • Local argument
  • Local effect
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.75

Command · Markdown · JSON · original wiki page

Description

Returns the text color of the item with the given index of the CT_LISTBOX or CT_COMBO with IDC of the topmost user dialog.

Syntax

Syntax 1

lbColor [idc, index]

Parameters:

Returns: Color (RGBA)

Syntax 2

control lbColor index

Parameters:

Returns: Color (RGBA)

Examples

Example 1

_colour = lbColor [101, 0];

Example 2

_color = _control lbColor 0;

See also

lbSetColor

Community notes

ffur2007slx2_5

More information on the CT_LISTBOX command family can be found here.