I've been running this program to watch for errors and I found that gFalse2 will sometimes have the value 0, while gFalse1 will have the data meant for gFalse2 which leads me to believe there is something wrong at line 15 because it is skipping the first interval of the loop and putting data only in the second. variable.
The array holds data like this [Answer,Question,FalseChoice1,...,FalseChoice5]
Image link in case this one is cut off http://i.imgur.com/4veqeFo.png
I'm trying to figure out a better way to randomly pick the second variable (gFalse2) so that it is not the same as gFalse1, what can I learn from this and how might I correct it?
loopindex works when you don't specify any name, so For "" from 0 to 1 OR since you gave it a name, you should be using: loopindex("setFalseChoicesLoop").
I didn't know that, thank you. Didn't fix the issue though
Develop games in your browser. Powerful, performant & highly capable.
just a thought...add another Array
it occurred to me but I'd prefer to keep it all in one array if possible. I'd also like to understand what's causing the problem exactly