Arma 3 Scripting

Command in GUI Control - Tree View

tvSetValue

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets scalar data to item on given path. IDC means id of parent Tree View. If the given value is not integer, it will be converted to integer

Syntax

Syntax 1

tvSetValue [idc, path, val]

Parameters:

Returns: Nothing

Syntax 2

ctrl tvSetValue [path, val]

Parameters:

Returns: Nothing

Examples

Example 1

tvSetValue [101, [0], 555];

Example 2

_ctrl tvSetValue [[0,0,0], 14];

See also

tvAdd · tvClear · tvCollapse · tvCount · tvCurSel · tvData · tvDelete · tvExpand · tvPicture · tvSetCurSel · tvSetData · tvSetPicture · tvSort · tvSortByValue · tvText · tvValue