No repeat numbers on spinning wheel

Jul 01, 2020

Hi - I have a spinning wheel project in Storyline (360) and it is working well with the exception of repeating numbers (1-12 on wheel). Here's the js:

var randomnumber = Math.floor((Math.random(0)*12)+1);
var player = GetPlayer();


Any help on how to add something to stop from re-using number would be a big help. Thank you! 




Be the first to reply

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