Hello,
I am wondering if there is a node that does the opposite of the DoN one, meaning that its intput needs to be fired X times before the output is fired once. X being an integer.
Currently I am using a MultiGate with empty outputs up to the last pin from which I put the rest of the script, but I find this solution not flexible because I cannot change the number of outputs dynamically.
I know I could increment an integer then do a check with a branch, but is there nothing simpler?
There’s no such flow control to my knowledge. However, flow control nodes are actually just macro (double-click on DoN to check for yourself)
So you should be able to create a DoOnceOnNth Macro looking like this:
That worked perfectly, thank you so much!