Need to generate a unique consecutive random integer.
In pseudo code it would be something like this
1 Create local class variable of type int, lets call it _PrevIndex
In Loop
2 Generate random integer
3 Is this random integer = _PrevIndex?
4 If yes, go to 2
5 If no, continue and set _PrevIndex to this random integer
Sometimes the specific node connections throws my head for a spin. If I have the attached (which runs in a For Loop) , can anyone hep with the specific nodes and connections I would need for the above logic?