Abort sub-tree

xxchester

New member
Hello, I see that there is a "Stop Behavior Tree" action which does exactly what I need but it aborts the whole tree, not just the sub-tree that is calling it. What is the best way to get around this? I have changed my sub-tree like this adding aborts(which only returns failure) everywhere which seems very wrong.

1654607718642.png
Any guidance would be appreciated.
Thanks.
 
You should use conditional aborts for cases like this. There are a couple of videos on it and the docs also have a good explanation.
 
Top