spin a wheel for random unique number in storyline

Sep 19, 2017

Hi folks,

I got stuck and need help in spin a wheel activity. Everything else is working fine but everytime I spin I should get unique selection of number means completed number should not be selected again. please help me guys. If this is possible through Javascript please provide  code for this.

 

Waiting for your valuable responses...

1 Reply
OWEN HOLT

Are you still working on this? The key is to use variables to track things and JavaScript Arrays. Define your array based on variables representing the possible numbers. Use a trigger to change the value to once the number has been selected, filter the array to remove 0's, and then pull a random number from the remaining value set.

I did something similar here using cards instead of a wheel.  Questions you get right are "removed" from the deck using the method I described above.

This discussion is closed. You can start a new discussion or contact Articulate Support.