So on one of my scenes, you can choose the order that different colored orbs have to be deposited.
Like so:
https://i.imgur.com/58mRrnv.png
If the player doesn't deposit the orbs in the correct order, it doesn't count towards the score.
At a different place, I am using a for loop like the one below:
for i in range(0, orbcolororder.size()):
print (orbcolororder[i])
print ("printed i")
I added the "printed i" line to make sure that there wasn't a random number being output somewhere, because when I run this loop, for the first value of the array, it prints 3, which is the position of "Blue" in the set of strings you can choose from in the dropdown above.
For the second value (and subsequent ones) of the array, it prints the string "Blue," or whatever the string value that the second position in the array is instead of the index.
I don't really care which way it prints, I can use either for what I'm doing, I just need it to be consistent.
Any help would be greatly appreciated.