control tvSetPicture [[path], name]

Operand types

control: Control
[[path], name]: Array

Type of returned value

Description

Sets picture to item selected by path.
IDC means id of parent Tree View.
Name is picture name. The picture is searched in the mission directory.

[path]: Array - Array containing numbers.
name: String

Used In

Arma3

Example

_ctrl tvSetPicture [ [0,0,0], getText (configFile >> "CfgWeapons" >> "optic_NVS" >> "picture")];
Search OFPEC COMREF