object setObjectTexture texture

Operand types

object: Object
texture: Array

Type of returned value

Description

Textures object selections with texture named in array.
Array has the form [selection,"Texture"].
The selection number is defined in the config.cpp of the model using the hiddenselection[] = {} entry.
Numbering of the selections start with 0.

Used In

OFP/ArmA

Example

_objectname setobjecttexture [0,"\pboname\texture.paa"]
_objectname setobjecttexture [1,"\pboname\texture2.paa"]
Search OFPEC COMREF