linear questions using a table
nowherejay
Member, PRO Posts: 85
Hello,
If anyone has the same experience please let me know how you managed it. I have the two quiz/trivia templates from both Tshirtbooth and Gamesalad team. Both are great templates but I am trying to not randomize questions IE, ask the question in order from 1-whatever. My problem seems to be I am not quite sure how to change the code from something like *random(1,tablerowcount(game. questions)) to something that will only work in a linear progression. It seems strange to ask this but for my personal research project I need the questions to be linear so that they flow with the dialogues for the students.
anyone understand what I am trying to do? if you do help me out!
thanks in advance!
Jason tacker
Comments
You need to remove the random function from the expression. It's choosing a random row from the table.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
As @Braydon_SFX said, instead of Change Attribute game.questionNumber (or whatever it's called) to rabdom(...), you would use Change Attribute game.questionNumber to game.questionNumber+1.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User