Btdecorator

So i made a decorator that gonna filter some values, and if it met it’s gonna fired the task below it. The things is i think my task can’t auto call out the running task when the value was not met(abort the current running node). It’s like, it can filter the value when it STARTING firing the node, but hopeless to backout when the node ALREADY fired. I think blackboard decorator is doing the right things. I tried to look at blackboard decorator, but i still can’t find what am i missing.

C++ or BP?

Cpp…

I’ll assume you want to know how to make a BT decorator “abort” the lower-priority task. All you need to do is call RequestExecution on related BehaviorTreeComponent. Ideally you’d call it as a response to a event called by BT component - TickNode should be ideal for you.

Cheers,

–mieszko