Well, there is a simple event system in there (I like simple). In practise you can check an event with a condition and send and event in many different ways, the simplest being the SendEvent action, but you can send an event from within any action/node or just directly through the GraphOwner or the Graph itself.
In the example tree above the first Accessor’s condition is a CheckEvent (“if [Attacked]”).
You could send that [Attacked] named event somehow (eg: owner.SendEvent(“Attacked”) or SendEvent Action) and the Dynamic Selector would respond. Keep in mind that an event is true only for one frame.
So in practise it’s just like another condition. Of course in the context of BTs the tree will still be evaluated hierarchicaly 🙂
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.