I know this has been asked a number of times but I don’t seem to relate examples given to my particular case.
I’d like to achieve a simple Loop that iterates 10 times, and each time uses a variable that is first initialize to a number and then decrement by 1 on each iteration. So last iteration is initial_value - 10. The Loop can also end at any point if a condition is given.
I’m using a Set node just before the Loop, In that node I’m creating the variable that gets decremented. Except that it doesn’t get decremented, because on the second iteration, it still contains the original value.