setObjectTexture: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (command may need see also for Locality)
Line 20: Line 20:
   
   
|x1= <pre>_objectname setobjecttexture [0,"\pboname\texture.paa"]
|x1= <pre>_objectname setobjecttexture [0,"\pboname\texture.paa"]
_objectname setobjecttexture [1,"\pboname\texture2.paa"]  
_objectname setobjecttexture [1,"\pboname\texture2.paa"] </pre> |= Example 1
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. This command has also a bug: when a saved game is loaded the texture you have set will disappear and needs to be reset.</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 31: Line 30:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
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. This command has also a bug: when a saved game is loaded the texture you have set will disappear and needs to be reset.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 00:40, 5 August 2006

Hover & click on the images for description

Description

Description:
object setObjectTexture texture
Groups:
Uncategorised

Syntax

Syntax:
Nothing
Parameters:
object: Object
texture: Array
Return Value:
Return value needed

Examples

Example 1:
_objectname setobjecttexture [0,"\pboname\texture.paa"]
_objectname setobjecttexture [1,"\pboname\texture2.paa"] 

Additional Information

See also:
See also needed

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

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. This command has also a bug: when a saved game is loaded the texture you have set will disappear and needs to be reset.

Bottom Section