object setObjectTexture texture
Operand types
object :
Object texture :
Array
Type of returned value
Description
Textures object selections with texture named in array.
Array has the form [selection,"Texture"].
The selection number is defined in the config.cpp of the model using the hiddenselection[] = {} entry.
Numbering of the selections start with 0.
Used In
OFP/ArmA
Example
_objectname setobjecttexture [0,"\pboname\texture.paa"]
_objectname setobjecttexture [1,"\pboname\texture2.paa"]
- Select Game -
List All
Arma3 Only
Arma2:OA Only
Arma2 Only
ArmA Only
Elite
Original OFP
- Select Group -
objects
units
groups
vehicles
weapons
arrays
items
backpacks
buldozer
mines
uniforms
vests
tasks
locations
artillery
configs
UAVs
briefings
mission flow
sites
map
draw
leaderboards
markers
environment
game
dialogs
displays
namespaces
radio
channels
FSM
diagnostics
firing from vehicles
slingload
advanced flight model
DLC
weapon stabilization
suppression
waypoints
cutscenes
sound
mathematics
variables
script commands
multiplayer
Zeus
3D editor
3D draw
After reloading a saved game where setObjectTexture has been used, the set textures are no longer there.