BIS fnc setObjectTexture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "|eff= local |= " to "|eff= local |MPEFFECTS= ") |
||
Line 8: | Line 8: | ||
|arg= glob |= | |arg= glob |= | ||
|eff= local |= | |eff= local |MPEFFECTS= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 00:15, 18 December 2019
Description
- Description:
- Set object textures.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [object, textures] call BIS_fnc_setObjectTexture
- Parameters:
- object: Object
- textures: String or Array of Strings
- Return Value:
- Boolean - true when done
Examples
- Example 1:
[player, "#(rgb,8,8,3)color(0,0,1,1)"] call BIS_fnc_setObjectTexture;
- Example 2:
[ vehicle player, [ "#(rgb,8,8,3)color(1,0,0,1)", "#(rgb,8,8,3)color(0,1,0,1)", "#(rgb,8,8,3)color(0,0,1,1)" ] ] call BIS_fnc_setObjectTexture; // identical to: // vehicle player setObjectTexture [0, "#(rgb,8,8,3)color(1,0,0,1)"]; // vehicle player setObjectTexture [1, "#(rgb,8,8,3)color(0,1,0,1)"]; // vehicle player setObjectTexture [2, "#(rgb,8,8,3)color(0,0,1,1)"];
Additional Information
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