Arma 3 Scripting

lbText

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

Command · Markdown · JSON · original wiki page

Description

Returns the shown text of the item with the given index of the CT_LISTBOX or CT_COMBO.

Syntax

Syntax 1

lbText [idc, index]

Parameters:

Returns: String

Syntax 2

control lbText index

Parameters:

Returns: String

Examples

Example 1

_text = lbText [101, 0];

Example 2

_text = _control lbText 0;

See also

lbAdd · lbSetText

Community notes

ffur2007slx2_5

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