Reply To: [Unexpected Behaviour] ConditionTask and BT

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

#16627
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!