Utilizing events instead of waiting for the timer poll would increase reactivity of behaviors.
For example, when seeking, even if a new target has been found it will wait for the next poll to switch to Combat.
Aditionally, this will allow to remove polling altogether for a few behaviors. Since they could only react to events for this.
Proposal usage:
function MyBehavior:OnFocusedChange(newFocused)
end
Utilizing events instead of waiting for the timer poll would increase reactivity of behaviors.
For example, when seeking, even if a new target has been found it will wait for the next poll to switch to Combat.
Aditionally, this will allow to remove polling altogether for a few behaviors. Since they could only react to events for this.
Proposal usage: