Page 1 of 1
Table Support for script.set_event_filter
Posted: Wed Jun 03, 2020 4:19 am
by LuziferSenpai
Hey,
could we pls get table support, like we have in script.on_event, for script.set_event_filter?
Greetz,
Luzifer
Re: Table Support for script.set_event_filter
Posted: Thu Jun 04, 2020 6:33 am
by Rseding91
Why?
Re: Table Support for script.set_event_filter
Posted: Thu Jun 04, 2020 12:08 pm
by LuziferSenpai
So we can apply the filter to multiple events?
Same goes with script.on_event.
When you have a table full with event ids, you cant apply a filter to all of them ...
Re: Table Support for script.set_event_filter
Posted: Thu Jun 04, 2020 3:20 pm
by Rseding91
Not all events can be filtered the same way. Additionally you can just call the function multiple times with your filters if you want to set multiple events.
Adding in the extra code to do multiple is just extra complexity that doesn't need to exist.