Page MenuHomeFeedback Tracker

Extend "InventoryOpened" event handler
Closed, ResolvedPublic


We would like to ask for a new parameter "secondaryContainer" in the InventoryOpened event.


Legacy ID
Operating System
Windows 7
Steps To Reproduce

Drop an item onto ground next to a car, ammo crate or any other vehicle that has a container.
Open the inventory of that item on the ground.
You will see a "GROUND" tab and a "CRATE" tab.

Only the container of the "GROUND" tab is passed to InventoryOpened.

Additional Information

The InventoryOpened event fires when the player opens the inventory of a container, which works perfect. What we are missing in this event handlers is the secondary container being passed to that event. Currently, there is no reliable way to identify the secondary container of RscDisplayInventory when the player opens the inventory dialog.

Event Timeline

Eichi edited Steps To Reproduce. (Show Details)Oct 14 2015, 12:01 PM
Eichi edited Additional Information. (Show Details)
Eichi set Category to Scripting.
Eichi set Reproducibility to N/A.
Eichi set Severity to None.
Eichi set Resolution to Open.
Eichi set Legacy ID to 2073806764.May 8 2016, 12:57 PM
Eichi added a subscriber: Eichi.May 8 2016, 12:57 PM

"InventoryOpened" now returns second connected container

BIS_fnc_KK closed this task as Resolved.Nov 1 2016, 10:36 PM
BIS_fnc_KK changed Resolution from Open to Fixed.
BIS_fnc_KK edited Steps To Reproduce. (Show Details)
BIS_fnc_KK edited Additional Information. (Show Details)
BIS_fnc_KK set Operating System to Windows 7.