Restarting tasks

h2rra

New member
I'm new to BD and have watched multiple videos so far. One thing I'm struggling with is figuring out what's the logic with restarting tasks. Currently I have a very simple tree - agent is Idle, it is aborted when he sees something, moves closer to it and should go back to Idle, but the repeater task was failed by abort and it never restarts.




tree1.jpg
 
If there is nothing to run then the behavior tree will stop and you will need to start it up again. You can do this by either enabling Restart When Complete on the Behavior Tree component or you can place a repeater at the root that will indefinitely repeat and not end on failure.
 
Top