Arma 3 Scripting

tvSetValue

  • Local argument
  • Local effect
  • Arma 3 v0.74

Command · Markdown · JSON · 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