Conditional abort problem

nRedux

Member
BehaviorScreenshot.png

The disabled tasks don't matter for my question. Regarding the left most branch of the enabled portion of the tree: I have a within distance task with an inverter and conditional aborts on the parent sequences up the chain (in the places I believe I need them). I want the left most branch to run any time the agent is not within distance of the target. At the moment it only seems to abort consistently if it is within distance however. So it's doing the exact opposite of what I want, in spite of the inverter. Any ideas?
 

Justin

Administrator
Staff member
I want the left most branch to run any time the agent is not within distance of the target.
Based on your screenshot that is what it looks like it is doing. Within Distance is returning failure and the leftmost branch is running because Within Distance returned failure. Your conditional abort will only reevaluate when the tasks beneath the Random Selector are active.
 
Top