Hi everybody
I have a problem to solve and I would like to ask for some help from you.
I have a sequence of frames and three options that change the order of this sequence according to the positioning of each frame. I need to register the result of the last change in a variable.
For example, the first frame sequence is 3210 (i.e. frame 3 at position 1, frame 2 at position 2, frame 1 at position 3, and frame 0 at position 4)
Then appears the first sequence changer (1432) that will define the positions of the frames of the first sequence of frames (3210). Based on this initial sequence, frame 3, which is the one in position 1, remains in it. Then we have frame 0, which is in position 4, then frame 1 which is in position 3, and frame 2 which is in position 4. Result: 3012
A new sequence changer appears: 2314. This will change the result of the previous sequence (3012) to 0132
Finally, the last sequence changer: 4132, which will transform the result of the penultimate sequence changer to 2031
It is this last value (in this case, 2031) that I need access to.
Could someone give me suggestions on how to get this sequence in the background and only receive the final value?