Arma 3 Scripting

lbValue

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

Command · Markdown · JSON · original wiki page

Description

Returns the additional integer value of the item with the given index of the CT_LISTBOX or CT_COMBO.

Syntax

Syntax 1

lbValue [idc, index]

Parameters:

Returns: Number - only integers

Syntax 2

control lbValue index

Parameters:

Returns: Number - only integers

Examples

Example 1

_value = lbValue [101, 0];

Example 2

_value = _control lbValue 0;

See also

lbSetValue · lbSortByValue

Community notes

ffur2007slx2_5

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