setObjectTextureGlobal (VBS1)

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Virtual Battlespace 1 version 2.12.142.12
Hover & click on the images for descriptions

Description

Description:
Set ObjectTextureGlobal

Syntax

Syntax:
obj setObjectTextureGlobal string
Parameters:
obj: Object
string: String
Return Value:
Nothing

Examples

Example:
Example needed

Additional Information

See also:
See also needed
Groups:

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

The standard setObjectTexture in OFP and VBS1 is local only, and addon developers have to create custom systems to verify that textures are mapped correctly for all instances of the model of a particular object across all client machines. setObjectTextureGlobal is a multiplayer intended command, that only needs to be executed once on the server, rather than once on each client machine. All other parameters and behaviors are identical to setObjectTexture. There is a bug in VBS1 2.12.14 where attempting to setObjectTextureGlobal a vehicle that no longer exists, causing a CTD. This is most commonly observed in high-refresh scenarios where a setObjectTextureGlobal command is sent before the script controlling machine recieves an update that the object no longer exists.

Bottom Section