Reply To: [Unexpected Behaviour] ConditionTask and BT

NodeCanvas Forums Support [Unexpected Behaviour] ConditionTask and BT Reply To: [Unexpected Behaviour] ConditionTask and BT

#14527
Gavalakis
Keymaster

Hello again,

So, I’ve made the changes so that OnEnable and OnDisable are called in Behaviour Tree nodes.
For your information, OnEnable is called when the BT node was Resting and is now active.
OnDisable is called when the BT node is reset back to Resting.

This handles correctly the Timeout example, as well as other cases other people have pointed out.
It will be part of the next update. 🙂

Thanks!

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