Just a mix of things without any thinking process for what or how to optimize but just an example of a logic structure with some elements you can do something like that.
Depending on what you need, this is one option, though I might need to add a node to make the process more straightforward⌠Ordered Trigger 3.mnprt (3.8 KB)
I did some experimenting yesterday (v 1.1.5) to find a way to impose some order on the outputs. So far, the output pins for a subgraph or a Script seem to be fired in the order that they are created. Not the display order, which can be modified in the Inspector, but the order that the pins are created or added.
I have subgraphs and scripts that take an event as a trigger to do something, produce some output values, then finally output a trigger event (as a sort of âdoneâ event) on the last pin created to propagate the event to the next downstream node/subgraph/script. Passing the event on the last created pin ensured that the values were computed and available before the event is forwarded.
Without internal details I cannot say for sure that this is always the case (or will always be the case) but it has been working that way for me so far (output order runs from first created pin to last created pin).
There are ways to do it, but the process gets a bit complicated. I know the node you mean from Plugdata, I used it quite a lot when building projects with Max for Live. And although I can already work with whatâs available in MNodes, adding a node like this would be interesting. Iâll see if I can add something similar.