Reply To: ConditionTask Methods

NodeCanvas Forums Support ConditionTask Methods Reply To: ConditionTask Methods

#13248
Gavalakis
Keymaster

Hey,

If you are referring to ConditionTasks executed in the context of an FSM (transitions), then you can use the “OnEnable” and “OnDisable” overrides for this.

In the context of Behaviour Trees and because a ConditionTask, has no proper time in which it can be considered “enabled/disabled”, the overrides are not called, but I am thinking that for the shake of consistency, they should be when the Behaviour Tree starts and stops respectively.

Let me know what you think.
Thanks!

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