setObjectMaterial: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (arma3 category)
Line 44: Line 44:
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Revision as of 14:55, 4 May 2013

Hover & click on the images for description

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

Notes

Bottom Section