Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add OnFocusedChanged event #3

@DKFN

Description

@DKFN

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions