setObjectMaterialGlobal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 11: | Line 11: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Set the material of the given selection on all computers in a network session. | |descr= Set the material of the given selection on all computers in a network session. | ||
|s1= obj '''setObjectMaterialGlobal''' [selection, material] | |s1= obj '''setObjectMaterialGlobal''' [selection, material] |
Revision as of 21:20, 13 June 2021
Description
- Description:
- Set the material of the given selection on all computers in a network session.
- Groups:
- Object Manipulation
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