Page MenuHomeFeedback Tracker

If you remove a Backpack from a box via clearBackpackCargo, it still takes some space inside the box.
Closed, ResolvedPublic

Description

If you want to remove backpacks from a box with the command "clearBackpackCargo",
the Backpack(s) are removed but they still take some space inside the box.

This happens even if the backpack is emtpy.
This problem causes, that you unable to place items inside a empty box, where enough backpacks are removed by "clearBackpackCargo" {F26416}

Details

Legacy ID
1120774685
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Menu UI
Steps To Reproduce

Without given Test-Pbo:

  • start the Editor
  • place a playerunit with a backpack
  • place a ammobox
  • write this into the init of the box:

clearItemCargo this;
clearMagazineCargo this;
clearWeaponCargo this;
clearBackpackCargo this;

  • start the mission
  • place your backpack inside the box.
  • aim at the box and execute "cursorTarget clearBackpackCargo" inside the debugconsole
  • notice, that the box is empty but the space-indiactor still indicate that something is takeing some space inside the box

With my given Test-Pbo:

  • start the mission inside the Editor
  • place your backpack inside one box.
  • aim at the box and execute "cursorTarget clearBackpackCargo" inside the debugconsole
  • notice, that the box is empty but the space-indiactor still indicate that something is takeing some space inside the box

Event Timeline

PumpkinDE set Category to Menu UI.
PumpkinDE set Reproducibility to Always.
PumpkinDE set Severity to None.
PumpkinDE set Resolution to Fixed.
PumpkinDE set Legacy ID to 1120774685.May 8 2016, 12:12 PM
PumpkinDE edited a custom field.

Does this happen if clearBackpackCargoGlobal is used instead of clearBackpackCargo?

Yes, makes no difference

Should be fixed from 1.57.134270