setObjectMaterialGlobal: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) 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]] |= | |p1= obj: [[Object]] |PARAMETER1= | ||
|p2= [selection,material]: [[Array]] |= | |p2= [selection,material]: [[Array]] |PARAMETER2= | ||
|p3= selection: [[Number]] |= | |p3= selection: [[Number]] |PARAMETER3= | ||
|p4= material: [[String]] |= | |p4= material: [[String]] |PARAMETER4= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[player]] [[setObjectMaterialGlobal]] [0, "A3\Structures_F\Data\Windows\window_set.rvmat"];</code>|= | |x1= <code>[[player]] [[setObjectMaterialGlobal]] [0, "A3\Structures_F\Data\Windows\window_set.rvmat"];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setObjectTexture]], [[setObjectTextureGlobal]], [[getObjectTextures]], [[setObjectMaterial]], [[getObjectMaterials]] |= | | [[setObjectTexture]], [[setObjectTextureGlobal]], [[getObjectTextures]], [[setObjectMaterial]], [[getObjectMaterials]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:37, 7 April 2019
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