From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Set the texture of the given selection on all computers in a network session.
Not all objects can be textured this way. See getObjectTextures for supported texture selections.
- Multiplayer:
- The effect is JIP compatible.
- Problems:
- If executed from an object's init field (which should not be done anyway for GEGlobal commands), execution may happen too early and fail to broadcast over the network and to be JIP compatible.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- obj setObjectTextureGlobal [selection, texture]
- Parameters:
- obj: Object
- selection: Number or
2.10 String - Index of the selection. It is defined in the hiddenselection[] = {} array in the vehicle's config (starting with 0). If a string has given, it referee the hiddenSelection name or clan selection instead of the number index.
- texture: String
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- setObjectTexture getObjectTextures setObjectMaterial forceFlagTexture
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
- Killzone_Kid - c
- Posted on Oct 24, 2016 - 12:13 (UTC)
-
Sometimes it could be necessary to set default material on an object for the texture to take effect:
Courtesy of Larrow