Forum Discussion

TraceyDeCicco's avatar
TraceyDeCicco
Community Member
6 months ago

Random Number Generation Without Duplication

I am using the Random Number Generator feature to show slides based on this number. I would like to show each slide only once randomly. Is there a way to do this in Storyline 360 without using JavaScript?

  • Hi Tracey, Fun question! Yes, you can do this without using JavaScript. This can work using True/False variables to track whether a slide has been visited. However, I ran into an issue where I could get stuck on a slide if the number was repeated immediately. I created a workaround for that, but I think it could be more graceful, so I'm still playing around with that. If I come up with a different method, I'll share that; maybe someone else will have another idea for how to do this! 

  • Thanks for responding, GInger! I encountered the same issue where the same number was immediately produced by the random number generator. I am going to take a look at your file and see your workaround - thank you for attaching it. 

    Have a great day!