Reply To: How to restart a behavior tree ?!

NodeCanvas Forums Support How to restart a behavior tree ?! Reply To: How to restart a behavior tree ?!

#12216
Gavalakis
Keymaster

Hello,

You can simply call “StartBehaviour()” on the BehaviourTreeOwner to restart the owner’s assigned BehaviourTree.
Also, if the “repeat” property is checked in the BehaviourTreeOwner inspector, the behaviour will always automatically repeat without having to manually restart it, if that is what you are after by any chance.

Let me know if that works for you.
Thanks.

Join us on Discord: https://discord.gg/97q2Rjh