How to break Wait in Behaivior Tree?

I have wait Task in BT and i need to stop it if my Boolean Var Is True. How to do this?

Also it will be good if i can brake move to location on change bool

  • Add a Blackboard Based Condition decorator to the node you want to abort when the bool is false.
    • Click the decorator, and change the settings for it on the details panel, set the Blackboard Key for the bool you want.
    • Specify Key Query to be Is Set for true, or Is Not Set for checking false. You said you only want this to execute while the bool is false, then you’ll want to have this set to Is Not Set.
    • Now also set the Observer aborts to Self.
  • If you want sequence execution to continue on after this abort, make sure to add a Force Success decorator also.

Here’s a couple resources on how the Behavior Trees work: