We would like to ask for a new parameter "secondaryContainer" in the InventoryOpened event.
- Legacy ID
- Operating System
- Windows 7
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.
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.