setObjectTextureGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.06|= Game version ____________________...")
 
(evaluation is redundant param, think we established with Karel Moricky it might have been copy paste left over)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set the texture of the given selection on all computers in a network session. Evaluation is a string expression executed on each client, if true on a client then the texture is set on that client. |= Description
| Set the texture of the given selection on all computers in a network session. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| obj '''setObjectTextureGlobal''' [selection,texture,evaluation] |= Syntax
| obj '''setObjectTextureGlobal''' [selection,texture] |= Syntax


|p1= obj: [[Object]]  |= PARAMETER1  
|p1= obj: [[Object]]  |= PARAMETER1  


|p2= [selection,texture,evaluation]: [[Array]]  |= PARAMETER2
|p2= [selection,texture]: [[Array]]  |= PARAMETER2


|p3= selection: [[Number]]  |= PARAMETER3  
|p3= selection: [[Number]]  |= PARAMETER3  


|p4= texture: [[String]]  |= PARAMETER4
|p4= texture: [[String]]  |= PARAMETER4
|p5= evaluation: [[String]]  |= PARAMETER5


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




|x1= <code>player setObjectTextureGlobal [0,"\MyAddon\blue.paa","side player == side _this"]</code>|= EXAMPLE1  
|x1= <code>player setObjectTextureGlobal [0,"\MyAddon\blue.paa"]</code>|= EXAMPLE1  
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[setObjectTexture]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 15:19, 11 November 2013

Hover & click on the images for description

Description

Description:
Set the texture of the given selection on all computers in a network session.
Groups:
Uncategorised

Syntax

Syntax:
obj setObjectTextureGlobal [selection,texture]
Parameters:
obj: Object
[selection,texture]: Array
selection: Number
texture: String
Return Value:
Nothing

Examples

Example 1:
player setObjectTextureGlobal [0,"\MyAddon\blue.paa"]

Additional Information

See also:
setObjectTexture

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