Forum Discussion

KristinaHoward's avatar
KristinaHoward
Community Member
1 month ago

Variables

Hi,

Is there a way to create a variable  in Storyline 360 related to the amount of times the slide is returned to? I am trying to update my Jeopardy game. I would like it so that once the question is on its 3rd time being viewed, some buttons become disabled and one button and audio becomes active. 

Please let me know if you need more details. 

Thank you in advance,

Kristina 

2 Replies

  • Hi Kristina,

    Here's an idea you could try:

    • Create a number variable, such as one called "Slide3Visited" with a default value of 0
    • Add a trigger to the slide to say Adjust variable "Slide3Visited" Add value 1 to "Slide3Visited" when the timeline starts on this slide
    • Add other triggers to check on whether the "Slide3Visited" variable equals 3 or not and change the states of the things you want to turn off to "Hidden" or whatever you desire, or to play media. For example: Add a trigger to change the state of "Button1" to hidden when the timeline starts on this slide, on the condition that "Slide3Visited" equals 3 or more.
    • Make sure to put the Change State Triggers AFTER the Adjust variable trigger.

    If this answers your question, please mark it Solved. Otherwise, feel free to ask a follow-up question.