llde / xOBSE

Oblivion Script extender source
243 stars 35 forks source link

RemoveEventHandler and OnKey events #225

Open qwertyasdfgh2 opened 5 months ago

qwertyasdfgh2 commented 5 months ago

The description of RemoveEventHandler states: "Two optional arguments can be supplied as key::value pairs to filter events according to the target and/or object. If both filters are omitted, all event handlers matching the script and event will be removed."

However, this doesn't seems to be the case for OnKeyEvents, you need to provide exact filters used to set the event, otherwise it doesn't get removed.