Page MenuHomeFeedback Tracker

"InventoryOpened" Event Handler fires twice per Inventory Open [VIDEO]
Closed, ResolvedPublic

Description

As seen on the video: http://www.youtube.com/watch?v=EIhhL8KZ3jw

What's more interesting is if EH is removed between 1st and 2nd firing, 2nd firing does not occur, which is useless workaround of course as 1st firing doesn't have any container information.

Details

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

Execute in editor

player addeventhandler ["InventoryOpened", {player sidechat str _this}];

Open inventory

Additional Information

opening inventory with script leads to the same double execution:

execute

player action ["gear", objnull]

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Scripting.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Fixed.
Killzone_Kid set Legacy ID to 3802611561.May 7 2016, 6:44 PM

should be fixed since DEV. 125058

Oooooh!!!! You are beast, man! You did not just fix double execution, you made the handler return the weaponholder as well when overridden, as it should! I'm more and more impressed by your dedication!

should be already fixed

Japa you are awesome man :D

MadDogX added a subscriber: MadDogX.May 7 2016, 6:44 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.