Randomize Cases (not questions)
Oct 10, 2018
Hello,
I created a course where learners are randomly served 1 of 3 CASES (each with their own set of 5 questions). I did this by putting the screen that takes learners to each case in the question bank, but kept the questions themselves out. Learners get to keep trying until they pass - they are taken back to the title screen to pass through the "randomizer".
The issue is: Randomizing works at the first attempt, but the second or third attempts assigns me with the same case each time. See attached.
Can anyone tell me why Storyline isn't randomizing at the second and third attempts?
OR
Is there another way to randomize cases that I haven't thought of?
Ref: Case #01543586
Any help is greatly appreciated!
Note1: The attachment was the file I used to test the randomizing. I've already fixed the formatting and results slide or any other glitches you may notice.
Note2: I left the menu so it's easy to go back to the title screen.
5 Replies
Hi Kathy,
I had a quick play with your file and removed the question bank and changed the next button behaviour on the initial slide. It now generates a random number between 1 and 3. Based on that number it jumps to the equivalent case.
Hope this helps!
Thanks so much, Thomas!
And it does, indeed work!!
Unfortunately, the random number generator is available in SL360 only. My client is using SL3 - in which the trigger/variable is not editable. :(
I believe need to use javascript to replicate the random number generator in SL360.
Kathy, the first message in this thread https://community.articulate.com/discussions/building-better-courses/pulling-variables-into-javascript contains the javascript needed to generate a random number. Let us know if you need more help.
Thank you. The javascript worked!
The issue is still with support b/c the question bank isn't working.
Glad Michael was able to help you out with one task and I see that you are continuing to work with Christopher in support :)
This discussion is closed. You can start a new discussion or contact Articulate Support.