View Single Post
06/19/15, 07:52 AM   #7
ZOS_ChipHilseberg
ZOS Staff!
Premium Member
Yes this person is from ZeniMax!
Join Date: Oct 2014
Posts: 551
What I think you're saying is there will be a way when we register the event to provide a set of filters or possibly a filtering function that would be checked prior to the event callback being invoked?
Here is an example:
Lua Code:
  1. control:AddFilterForEvent(EVENT_POWER_UPDATE, REGISTER_FILTER_UNIT_TAG_PREFIX, "boss")
The advantage is that we can filter very cheaply in C++ and we don't have to pay the price of going into the VM only for it to early out.

On a separate, but related note, has there been any ongoing work to evaluate what is causing certain events to be a bit....spammy?
We can look into it. Are there any other examples you have?
  Reply With Quote