setObjectMaterialGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
Line 16: Line 16:
| obj '''setObjectMaterialGlobal''' [selection, material] |= Syntax
| obj '''setObjectMaterialGlobal''' [selection, material] |= Syntax


|p1= obj: [[Object]]  |= PARAMETER1
|p1= obj: [[Object]]  |PARAMETER1=  


|p2= [selection,material]: [[Array]]  |= PARAMETER2
|p2= [selection,material]: [[Array]]  |PARAMETER2=


|p3= selection: [[Number]]  |= PARAMETER3
|p3= selection: [[Number]]  |PARAMETER3=  


|p4= material: [[String]]  |= PARAMETER4
|p4= material: [[String]]  |PARAMETER4=


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




|x1= <code>[[player]] [[setObjectMaterialGlobal]] [0, "A3\Structures_F\Data\Windows\window_set.rvmat"];</code>|= EXAMPLE1
|x1= <code>[[player]] [[setObjectMaterialGlobal]] [0, "A3\Structures_F\Data\Windows\window_set.rvmat"];</code>|EXAMPLE1=  
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setObjectTexture]], [[setObjectTextureGlobal]], [[getObjectTextures]], [[setObjectMaterial]], [[getObjectMaterials]] |= SEEALSO
| [[setObjectTexture]], [[setObjectTextureGlobal]], [[getObjectTextures]], [[setObjectMaterial]], [[getObjectMaterials]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:37, 7 April 2019

Hover & click on the images for description

Description

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

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

See also:
setObjectTexturesetObjectTextureGlobalgetObjectTexturessetObjectMaterialgetObjectMaterials

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes


Bottom Section