Page MenuHomeFeedback Tracker

clearBackpackCargoGlobal does not update the capacity bar
Closed, ResolvedPublic

Description

deleting all backpacks with clearBackpackCargoGlobal from a vehicle does not update the capacity bar

Video: https://www.youtube.com/watch?v=c2agDeZMyik&feature=youtu.be

Details

Legacy ID
1114068804
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Sample Code:

  • spawn {

_veh = "C_Offroad_01_F" createVehicle position player;

for '_i' from 0 to 20 do {

		hint "Clear Cargo";
		clearBackpackCargoGlobal _veh;
		sleep 0.5;
		hint "Spawn Backpack";
		_veh addBackpackCargoGlobal ["B_Carryall_khk",1];
		sleep 0.5;

};

hint "Finished";

};

Event Timeline

Terror edited Steps To Reproduce. (Show Details)Sep 17 2015, 10:09 AM
Terror set Category to Scripting.
Terror set Reproducibility to Always.
Terror set Severity to None.
Terror set Resolution to Fixed.
Terror set Legacy ID to 1114068804.May 8 2016, 12:43 PM

code tested... same here!

Should be fixed from 1.57.134270