setObjectMaterial: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.50|= Game version ____________________...") |
No edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets material of | | Sets material of object selection. The selection number is defined through the [[CfgVehicles_Config_Reference#hiddenSelections | hiddenselection]][]<nowiki>=</nowiki>{} array in the vehicle's config (starting with 0). |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| obj '''setObjectMaterial''' material |= Syntax | | obj '''setObjectMaterial''' [selectionNumber, material] |= Syntax | ||
|p1= obj: [[Object]] |= PARAMETER1 | |p1= obj: [[Object]] |= PARAMETER1 | ||
|p2= material: [[Array]] |= PARAMETER2 | |p2= [selectionNumber, material]: [[Array]] |= PARAMETER2 | ||
|p3= selectionNumber: [[Number]] |= PARAMETER3 | |||
|p4= material: [[String]] |= PARAMETER4 | |||
| [[Nothing]] |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE |
Revision as of 13:24, 6 March 2013
Description
- Description:
- Sets material of object selection. The selection number is defined through the hiddenselection[]={} array in the vehicle's config (starting with 0).
- Groups:
- Uncategorised
Syntax
- Syntax:
- obj setObjectMaterial [selectionNumber, material]
- Parameters:
- obj: Object
- [selectionNumber, material]: Array
- selectionNumber: Number
- material: String
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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