Arma 3 Scripting

Command in Object Manipulation

setObjectMaterialGlobal

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

Description

Set the material of the given selection on all computers in a network session.

Syntax

obj setObjectMaterialGlobal [selection, material]

Parameters:

Returns: Nothing

Examples

Example 1

player setObjectMaterialGlobal [0, "A3\Structures_F\Data\Windows\window_set.rvmat"];

See also

setObjectTexture · setObjectTextureGlobal · getObjectTextures · setObjectMaterial · getObjectMaterials