BIS fnc setObjectTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Multiplayer |GROUP1=")
m (Text replacement - "\[\[Category\:Function Group\: MP(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 53: Line 53:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: MP|{{uc:setObjectTexture}}]]
 
[[Category:Functions|{{uc:setObjectTexture}}]]
[[Category:Functions|{{uc:setObjectTexture}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setObjectTexture}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setObjectTexture}}]]

Revision as of 01:12, 10 October 2020

-wrong parameter ("globargument") defined!-LELocal
Hover & click on the images for description

Description

Description:
Set object textures.
Execution:
call
Groups:
Multiplayer

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

See also:
getObjectTexturessetObjectTexturesetObjectTextureGlobal

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