Reply To: How can I parallel execute all sub-node in an iterate decorator?

NodeCanvas Forums Support How can I parallel execute all sub-node in an iterate decorator? Reply To: How can I parallel execute all sub-node in an iterate decorator?

#10479
Gavalakis
Keymaster

Hello and sorry for late reply.

The Iterator decorator node will execute it’s child node for each element in the same frame. As long as you don’t have any actions bellow the Iterator that return Running, all iterations will be done in the same frame (in parallel), without the need of a Parallel node.
So the thing here is that you should no have any action beneath the Iterator that takes time to complete and as such this will make all projectiles be launced simultaneously.

Is having an action beneath the iterator that takes time to complete a requirement?

Thanks

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