注意事项

Notes

In MP this command has only local effect. If you want to change a texture on all clients, you have to execute this command on each client (or setObjectTextureGlobal). This command has also a bug: when a saved game is loaded the texture you have set will disappear and needs to be reset.

Instead of bitmaps, procedural textures can be used.
The syntax for those is #(argb,8,8,3)color(R,G,B,A), where R,G,B stands for Red, Green, Blue, and A stands for Alpha, all values can be anything between 0 and 1 (including decimals). e.g.
_obj setObjectTexture [0,'#(argb,8,8,3)color(0,1,0,1)']
would color myObj in flat green. See Procedural Textures for more details.

Also works with absolute path and .jpg files.
_obj setObjectTexture [0, "C:\Folder\Folder\Texture.paa"];
_obj setObjectTexture [0, "C:\Folder\Folder\Texture.jpg"];
Texture can also be blank:
_obj setObjectTexture [2,""];
This will make the texture selection invisible on certain units without an error message. In some cases this is a desirable effect

Bottom Section

It is also possible to apply texture to unit's backpack, as it also has hidden selection (unfortunately does not work for vests)
(backpackContainer player) setObjectTexture [0,'#(argb,8,8,3)color(0,0,0,1)']
Also keep in mind that player's custom texture is being reset when you open BIS Arsenal (even without changing any gear)