Reply To: [Bug] Graphs are not fully reset when Stoping and Starting again

NodeCanvas Forums Support [Bug] Graphs are not fully reset when Stoping and Starting again Reply To: [Bug] Graphs are not fully reset when Stoping and Starting again

#15127
Gavalakis
Keymaster

Hello again,

The EndAction(null) is a special EndAction call used when we want to interrupt the action and reset it completely. It is also used from within nodes like Behaviour Tree Action Node; when the node resets it calls EndAction(null) to interrupt the action and reset it, since in these cases we do not care about success or failure (this is why manually resetting all nodes afterwards also resets the action). So is the same case when the graph is to be stoped from within the action, meaning that we do not care about whether the action ended in success or failure. We just want to end and reset it. Thus in these cases, the special call EndAction(null) can be used.

Please let me know if this information helps.
Thank you!

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