I seem to keep running into this design issue in my BTs.
I have an abort that triggers when a value changes - this works as expected.
But, in the branch under the abort, when the value or condition that triggered the abort becomes false, the abort branch exits.
I guess I'm expecting that once an abort branch starts that it will finish the branch before execution returns to lower priority branches.
One way I see around this is to set a flag that is turned on when the abort condition happens, then turned off by the abort branch itself at the point where I want the branch be considered complete.
I've seen you post about using parallel branches for similar scenarios but I don't want multiple branches running, I only want my abort branch to always finish once it's started.
Or maybe I shouldn't be using conditional aborts for this scenario? If that's the case what would replace it?
I have an abort that triggers when a value changes - this works as expected.
But, in the branch under the abort, when the value or condition that triggered the abort becomes false, the abort branch exits.
I guess I'm expecting that once an abort branch starts that it will finish the branch before execution returns to lower priority branches.
One way I see around this is to set a flag that is turned on when the abort condition happens, then turned off by the abort branch itself at the point where I want the branch be considered complete.
I've seen you post about using parallel branches for similar scenarios but I don't want multiple branches running, I only want my abort branch to always finish once it's started.
Or maybe I shouldn't be using conditional aborts for this scenario? If that's the case what would replace it?
Last edited: