BIS fnc setObjectTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "glob " to "global ")
m (Text replacement - " " to " ")
Line 37: Line 37:
| [[getObjectTextures]], [[setObjectTexture]], [[setObjectTextureGlobal]]
| [[getObjectTextures]], [[setObjectTexture]], [[setObjectTextureGlobal]]
}}
}}




[[Category:Functions|{{uc:setObjectTexture}}]]
[[Category:Functions|{{uc:setObjectTexture}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setObjectTexture}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setObjectTexture}}]]

Revision as of 00:34, 1 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
object: Object
textures: String or Array of Strings
Return Value:
Return value needed

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

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