Page MenuHomeFeedback Tracker

InventoryOpened event handler does not receive container parameter
Closed, ResolvedPublic


This says:

unit: Object - Object the event handler is assigned to
container: Object - connected container or weaponholder

But InventoryOpened event handler receives only unit, but not container.


Legacy ID
Steps To Reproduce
  1. "Box_NATO_Wps_F" createVehicle getPos player;
  2. player addEventHandler ['InventoryOpened', { player globalChat str _this; true }];
  3. open container, watch global chat.

Event Timeline

sms edited Steps To Reproduce. (Show Details)Jun 27 2014, 2:25 PM
sms edited Additional Information. (Show Details)
sms set Category to Scripting.
sms set Reproducibility to Always.
sms set Severity to None.
sms set Resolution to Fixed.
sms set Legacy ID to 3277802690.May 7 2016, 6:50 PM

Are you on stable? On dev it works with override.

sms added a subscriber: sms.May 7 2016, 6:50 PM
sms added a comment.Jun 27 2014, 6:03 PM

Yes, this is fixed already in dev branch. :-)

As far as it is already fixed in dev branch and the fix should be moved to stable with the next stable branch update, marking as resolved.

MadDogX added a subscriber: MadDogX.May 7 2016, 6:50 PM

Mass closing tickets marked as resolved more than 1 month ago.

If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.