TMF icon indicating copy to clipboard operation
TMF copied to clipboard

AssignGear: clothing is not emptied

Open Boberro opened this issue 4 years ago • 2 comments

Since caching update to assign gear module, uniforms, vests and backpacks are not emptied from their preset content. eg. case 3: { // backpack private _backpack = selectRandom _x; if !(_backpack isEqualTo '') then { _unit addBackpack _backpack; }; };

Use of "clearAllItemsFromBackpack" is missing, so eg. rpg carrier is added with preset rpg-7 ammo and takes up space.

Boberro avatar Mar 22 '20 18:03 Boberro

Solution to that problem is to use the classnames for the empty backpacks instead of the filled ones, same for weapons. Adding filled backpacks and clearing them adds additional network traffic.

Freddo3000 avatar Mar 22 '20 18:03 Freddo3000

So is it a problem that was raised before and container emptying was removed deliberately? There's no warning as to what happens and units just get overly heavy for no reason. I'm not denying that modders should always create empty versions of their backpacks as default as "scope=1" filled versions (looks at Delta Hawk angrily)

Boberro avatar Mar 22 '20 18:03 Boberro