The setObjectTextureGlobal script command is not global during initialisation of init boxes of units. This has a knock on effect on effecting BIS_fnc_setUnitInsignia as it uses this command. So to reproduce it we will mimic setting an insignia on a soldier. I believe as the command says it is global it should be global all the time and not just during the mission. Note if someone joins in progress (JIP) later, they will see the texture fine, but any clients connected at the start will not see the texture.
Description
Description
Details
Details
- Legacy ID
- 2687725806
- Severity
- None
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
- Create an empty mission with a character for yourself and a NATO Rifleman (They have the texture slot for arm patchs) on the NATO rifleman place the following on their init:
if (isServer) then { this setObjectTextureGlobal [1,"\a3\UI_F_Bootcamp\Data\CfgUnitInsignia\bi_ca.paa"] };
- Observe in the editor, that the unit patch shows.
- Export to MPMissions and place on a dedicated server/someone else hosting.
- Observe that the texture is not set.
Event Timeline
Comment Actions
This is now fixed in 1.32 as it was mentioned in SPOTREP #00034
Fixed: Init message for setObjectTexture saved in MP serialization