Arma 3 Scripting

Command in GUI Control - ListBox

lbValue

Also available as Markdown and JSON, or read the 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