setObjectMaterialGlobal

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.54
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.54

Description

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

Syntax

Syntax:
obj setObjectMaterialGlobal [selection, material]
Parameters:
obj: Object
[selection,material]: Array
selection: Number
material: String
Return Value:
Nothing

Examples

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

Additional Information

Multiplayer:
-
See also:
setObjectTexturesetObjectTextureGlobalgetObjectTexturessetObjectMaterialgetObjectMaterials

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes


Bottom Section