Custom decorator not aborting

Hi so i’m having an issue with my custom decorator. Essentially when I return false inside of PerformConditionCheck I want the node to abort both lower prio and all child nodes. For some reason though it’s not aborting it just continues the moveTo command. I also tried doing it in C++ first however I was having the same issue there.
The issue seems to be similar to this: https://answers.unrealengine.com/questions/59870/custom-blueprint-decorator-not-triggering-abort.html

I’m using the launcher version of 4.7.2

Edit: I had the results print to screen and it only returns false for a very brief amount of time (like a fraction of a second) so maybe that has something to do with it?

i think this might help, at least it works for me. Btdecorator - AI - Unreal Engine Forums

Thanks! I think this is what I was looking for, but i’m still having some trouble with figuring out how to implement it. Where am I getting the 6 variables that are required for RequestExecution and then also where do I call it from (inside my custom decorator or somewhere else)? If I want to use TickNode am I running that code from within the decorator or somewhere else?

Maybe you had to look further in the ubtnode class, because there are several overloade requestExecution function with different signature, and what i use is a signature that just feed the ubtdecorator, and just write “this” in that, and i also called that in the tickNode with the same condition as calculateRawValue function. (If you had the conditional filter in that).

You can call the tick node, within your btdecorator(because it derives from ubtnode). Just don’t forget to set the flag bNotifyTick in your constructor

Awesome! Yeah I just missed that version of it somehow/didn’t realize TickNode was just a part of it. I got it all working now thanks!