Changing the state of a button only after a pass score is achieved

I have a series of quizzes which are all accessible from a slide containing buttons that are linked to their respective quizzes.

What I want to do is have the button state change to visited, but only after the user has successfully completed the quiz with at least an 80% score. If the user has not achieved 80%, the buttons state must remain normal.

3 Replies
Christie Pollick

Hi, Robert -- 

With respects to the passing score of 80%, you would be able to adjust the state on the 'success' layer or if the button is not on the actual slide, you could adjust a variable on the 'success' layer. That way, when the user revisits the slide, change the state if the variable is equal to True.

You may find these links useful:

Adding and Editing States

Intro to Variables

Creating a Results Slide

Trina Rimmer

Hi Robert. I happened to have an example of what I think you're trying to do in my Storyline archives. Please see the attached .story file, below.

As Christie pointed out, the score variable is what you need to recall. In my example, I recalled it on the menu screen (the one with the buttons for accessing the quizzes). I just made the initial state of those buttons "disabled" until the learner's passing score on the previous quiz hit the point value I was looking for. 

Hopefully the links above, plus this working example will help you achieve the results you're looking for.

Let us know how your course turns out!