Sorry, my bad - you also need to change the references to a_questionOrder:
In event 4 change:
-> txt_question: Set text to a_questions.At(0,a_questionOrder.At(currentQuestion),0)
to
-> txt_question: Set text to a_questions.At(0,currentQuestion,0)
In event 5 change:
-> txt_answer: Set text to a_questions.At(AdvancedRandom.Permutation(LoopIndex("j")),a_questionOrder.At(currentQuestion),0)
to
-> txt_answer: Set text to a_questions.At(AdvancedRandom.Permutation(LoopIndex("j")),currentQuestion,0)
// Set the "correct" instance value on the answer.
and
-> txt_answer: Set correct to a_questions.At(AdvancedRandom.Permutation(LoopIndex("j")),a_questionOrder.At(currentQuestion),1)
to
-> txt_answer: Set correct to a_questions.At(AdvancedRandom.Permutation(LoopIndex("j")),currentQuestion,1)
I've updated the demo to reflect these changes - the original actions are still there but disabled, in case you want to switch back. I also fixed a couple of other bugs, so it's worth grabbing again:
https://www.dropbox.com/s/qc9dourwsf4f7g6/quizTemplate2.c3p?dl=0
I have a couple questions (sorry, not undderstanding)
1. Is 'totalquestions' a function? (event 1)
2.What is BBoxRight (event 1)
3.What is "i" (event 3)
4.What does permutation mean for advanced random?
5.What does 'Self.selected=0?rgbEx(0, 0, 0):rgbEx(0, 0, 255)' mean? (event 16)
I'm sorry for all the questions :( But thnaks for all your help :)