Forum Discussion

JoeMcKee's avatar
JoeMcKee
Community Member
14 years ago

How do I create dynamic slide numbering (x out of 10 slides)?

I am trying to add dynamic slide numbering to my Storyline project.  I have 10 questions in a random question bank that I want to be numbered so the user knows what question they are on out of 10 slides.  I know this would involve using variables, but how would I go about it.

Any help would be appreciated!

9 Replies

  • Create a numeric variable, add a reference to your slide e.g.

    %YourVariableName% out of 10 

    Add a trigger to each question slide to add 1 to your variable when timeline starts

    If you plan to review the quiz then you will need to do this another way or else the question will become 11, 12 etc

  • Just add a true false variable to the number variable as a condition. Only have it add when the true false variable is false. Then automatically set it to true when timeline starts. This will stop a number variable from adding when revisiting the slide.

    • BabliGupta's avatar
      BabliGupta
      Community Member

      Hi Jesse, In case of revisiting the slide, when I am attempting further questions, I went to the previous slide from it and did the next from the same slide, It is not working 

  • but it wont keep the number of the slide every slide would show 10 out of 10, that is why I said it needed to be rethought 

  • JoeMcKee's avatar
    JoeMcKee
    Community Member

    I tried the method Phil suggested and it worked great!  My project is a game so the questions are not revisited, so that issue is not applicable.  Thanks for the help!

  • stevenrogers's avatar
    stevenrogers
    Community Member

    I also came across this, but was able to get around it by adding a simple trigger. When the person clicks the review button, it subtracts 10 (in your case) from the variable. This way when the person revisits, it basically starts counting back over.

  • Hi Phil,

    Thanks for this. Worked perfectly and just what I needed to finalise my project.

    Cheers,

    Debbie

  • Glad Phil was able to help you out here Debbie, and if you need anything else just let us know!