Reply To: Bug (?): OnStop() called after executing interrupting Action; Not atomic?

NodeCanvas Forums Support Bug (?): OnStop() called after executing interrupting Action; Not atomic? Reply To: Bug (?): OnStop() called after executing interrupting Action; Not atomic?

#14059
Gavalakis
Keymaster

Hello again,

Thank you very much for your kind feedback on NodeCanvas, as well as for the further details provided on the subject at hand.
I completely understand your points and I can see how calling OnStop before the next action OnExecute is called can be convenient. Even though it would be a hard task to make this happen considering the current Behaviour Trees implementation, I will definetely look at that possibility. It could probably be achieved with some delegate callback that will be called before an action is executed so that the previous running action if any is stopped, but I can’t confirm anything until I investigate this further, and which I will definetely do.

Thank you!

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