When using removeallcontainers on a clothing item to other players you appear to be not wearing a uniform even though you can see your own uniform. {F22050}
Description
Details
- Legacy ID
- 3220995286
- Severity
- None
- Resolution
- Duplicate
- Reproducibility
- Always
- Category
- Config
case "r": // Rifleman
{
_unit adduniform _rmuniform;
removeallcontainers _unit;
_unit addheadgear _rmhelm;
_unit addbackpack _riflebackpack;
{_unit additem _bandage} foreach [1];
_unit addmagazines [_atmag ,1];
_unit addmagazines [_athe ,1];
_unit addvest _rmvest;
_unit addmagazines [_Rmag ,11];
_unit addmagazines [_hgrenade ,2];
_unit addmagazines [_pistolmag ,1];
_unit addweapon _r;
_unit addprimaryweaponitem _ir;
_unit addprimaryweaponitem _mrco;
_unit addweapon _pistol;
_unit addweapon _at;
_unit addweapon "ItemCompass";
_unit addweapon "ItemWatch";
//_unit additem _343radio;
_unit additem _nvg;
_unit assignitem _nvg;
_unit removeitem _gps;
};
We were attempting to restrict players to only using their vests to store ammo. But this seems to cause some synchronization issues.
Event Timeline
Is correct since the uniform is a container, thus it gets removed, but on ones own client the default uniform is displayed.
Shouldn't equipping the unit with a new uniform fix the issue?
My understanding of removeallcontainers is that it removes the item slots from clothing, bags and vests the idea of using it was to remove the item slots from the uniform so that the player could only store stuff in their bags and vest.