Reply To: [Bug]elapsedTime property in ActionTask class always stay zero

NodeCanvas Forums Support [Bug]elapsedTime property in ActionTask class always stay zero Reply To: [Bug]elapsedTime property in ActionTask class always stay zero

#12691
Gavalakis
Keymaster

Hello again,

Thanks for the screenshots.
I can understand the confusion now. 🙂

Because you are using a Parallel, all it’s child nodes are always executed. Because though, the Parallel is set to return on “First Success Or Failure” and the condition on the right side, is indeed returning Failure, that means that the Action on the left, is immediately interrupted even though it still get’s the chance to execute for 1 frame because it is a child (even if indirect) of the Parallel node. But it still gets interrupted on that same frame.

If you want to just always run the child nodes of the Parallel regardless of what they return, then probably a good way to do this, would be to Decorate the condition on the right withe “Optional” Decorator, and as such the Parallel will not care for what status that condition returns.

Please let me know if that clarifies why this is happening, or not 🙂
Thanks.

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