Behavior Tree

I’m trying to remove a branch from my behavior tree once a task (that can only be completed once) has been completed. I created a new decorator that simply checks if the bb value = true, if so to skip. However it works fine then appears to reset.

Does it use the return value in order to progress or does it also require the return node?


Hey @Zedrophobe!

Yes, the return node is necessary, as that’s what determines whether or not the Decorator allows passage! That’s what it’s returning- True or False to the question “Should I continue down this behavior line?”

Hope that helps!