Forum Discussion
Is there a way to randomly select a scene?
I have a course where I've created a content scene, and then I have a number of scenes that are setup as scenarios to test the learner's knowledge. The course is recurring training, so I'd like to randomize the scenario scenes so that learners aren't seeing the same one every time they take the course.
So, is there any way to setup a trigger to jump to a random scene?
Thanks in advance for the help.
v/r
Jay
- RonPricePartner
- JayCooperCommunity Member
Thanks Ron.
- RonPricePartner
Hey Jay,
I think the random variable option could be a good fit. I have attached a quick mockup of something that could possibly work.
- JayCooperCommunity Member
Ron,
Thanks much for the example. It kick started my thinking about how to do what I want to do. I'm going to use your example, but now I need to dust off my JS knowledge and create a script that will generate three random numbers.
thanks again!
Jay
- MathNotermans-9Community Member
That part is easy.
https://360.articulate.com/review/content/ef03fcd8-c587-4313-9bdf-97dc94537e46/review
And here is the Storyline of that sample.
- JudyNolletSuper Hero
There's no trigger for jumping to a random scene.
Here's an option that might work:
- Put the first part of each scenario on a question slide in a Question Bank (QB).
- Insert a draw from the QB that randomly picks one slide.
- Adjust the QB slides so they jump to the appropriate scene to continue the scenario.
Here are some User Guide entries that might help:
- MathNotermans-9Community Member
Conditions in combination with a random variable can do the trick. If var =1 gotoScene 1, if var =2...et. etc.
- RonPricePartner
Hey Jay -
Glad you have a solution. In the sample I created, I made sure there were no duplicates without script. But if you know Javascript, that might be a little more straightforward.
- JayCooperCommunity Member
Ron...if you have an example without using JS I wouldn't mind seeing it. Even if I don't use it in this particular application, it's always useful to see new ideas/possibilities.
Thanks!
Jay