Page MenuHomeFeedback Tracker

Vehicles inventory space is not cleared when removing parachutes from default vehicle storage.
Closed, ResolvedPublic

Description

If you remove the cargo from a vehicle that has parachutes in it by default, the vehicle's inventory is not being properly cleared.

Details

Legacy ID
620486923
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Config
Steps To Reproduce

Place a vehicle that by default has parachutes (Ex. CH Huron)

Place this code in the vehicle's init to remove all items through a script.

clearMagazineCargo this;
clearWeaponCargo this;
clearItemCargo this;
clearBackPackCargo this;

Preview the mission and you will see the vehicle's inventory is not empty.

Event Timeline

Pindrought set Category to Config.
Pindrought set Reproducibility to Always.
Pindrought set Severity to None.
Pindrought set Resolution to Fixed.
Pindrought set Legacy ID to 620486923.May 8 2016, 1:35 PM

Your code works just fine for me, tried it in the editor, all items get removed.

BIS_fnc_KK, I should have been more clear in my initial post. The items get removed, but the vehicle cargo space is not freed up. See this image: http://i.imgur.com/JzXbA9g.jpg

Note: This only happens with vehicles that spawn with parachutes in their inventory.

Ah, nice, let's find out why this happens then ;)

Should be fixed from 1.57.134270