Page MenuHomeFeedback Tracker

Adding items to crate using script doesn't update the fullness-bar
Closed, ResolvedPublic

Description

If you add items to a crate using the commands: addMagazineCargoGlobal or addWeaponCargoGlobal the bar at the bottom of the crate inventory will not update to reflect how full it is, however, after adding a lot of items (Add what i assume is fill the crate over it's limit), the bar will still appear empty, but when trying to drag an item into the crate it will appear red, although it will show the bar with how much volume that item would add.

Details

Legacy ID
2335753982
Severity
Minor
Resolution
Open
Reproducibility
Always
Category
Visual-GUI
Steps To Reproduce

Put this script in your mission folder: http://pastebin.com/YCuWfFx2
Spawn a crate, put this in init field: [this] execVM "fillcrate.sqf";
Preview mission, open crate and attempt to put an item into it

Event Timeline

Goz3rr edited Steps To Reproduce. (Show Details)Mar 10 2013, 4:49 PM
Goz3rr edited Additional Information. (Show Details)
Goz3rr set Category to Visual-GUI.
Goz3rr set Reproducibility to Always.
Goz3rr set Severity to Minor.
Goz3rr set Resolution to Open.
Goz3rr set Legacy ID to 2335753982.May 7 2016, 12:10 PM
Goz3rr added a subscriber: Goz3rr.

Oops, no idea how to edit but the init field should be:

_nul = [this] execVM "fillcrate.sqf";

Closing due to lack of activity in over five months. If this issue is still reproducable for you, please create a new ticket for it or ask for this one to be re-opened.