Forum Discussion

JeffreyRiley-9e's avatar
JeffreyRiley-9e
Community Member
5 years ago

Struggling with Random Number in Storyline 360

I have a project where I ask the player to roll the dice and move the avatar. It works except the dice is always the same number. How do I get it to roll a different number every time?

Project attached, what am I missing? I have searched on this topic but I don't have the answer I want.

3 Replies

  • LoicBENARD's avatar
    LoicBENARD
    Community Member

    Hi, you maid a mistake on the layer "Audio-Java Layer".

    The event is not "when user click", but, when the layer start.

    Regards

  • OK, that worked. Now I have to figure out how to have the avatar move to the end if the number of positions equals 12. I think I need to change the trigger to equal to or greater than 12.

  • Thanks Loic, you saw what I missed and I did get the trigger to work and complete the game. Now I can make it more complex but this is a good start.