objectName setObjectMaterial [selectionNumber, material]

Operand types

objectName: Object
[selectionNumber, material] : Array

Type of returned value

Description

Sets material of object selection.
The selection number is defined through the hiddenselection[]={} array in the vehicle's config (starting with 0).

selectionNumber: Number
material: String

Used In

Arma3

Example

car setObjectMaterial [0,"A3Structures_FDataWindowswindow_set.rvmat"];
Search OFPEC COMREF