Reply To: [Unexpected Behaviour] ConditionTask and BT

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

#16628
driiade
Participant

    I think it’s logic to call OnEnable in this case :
    -Condition was not checked last graph update and now we check it.

    For OnDisable : Condition was checked last graph update but not anymore. It happen if the current running Leaf change in various way : a Decorator not anymore running, a conditionTask not anymore running etc.

    It’s very hard to implement timeout without this because when BehaviourTree pause for example I had trouble to fix this.