Description
Set the material of the given selection on all computers in a network session.
Syntax
obj setObjectMaterialGlobal [selection, material]
Parameters:
obj: Objectselection: Number or Arma 3 v2.10 Stringmaterial: String - material path. Since Arma 3 v2.20 using "#reset" would reset to default material.
Returns: Nothing
Examples
Example 1
player setObjectMaterialGlobal [0, "A3\Structures_F\Data\Windows\window_set.rvmat"];
See also
setObjectTexture · setObjectTextureGlobal · getObjectTextures · setObjectMaterial · getObjectMaterials