State change based on a quiz score not working properly

Feb 15, 2017

Hi everyone,

First post here - I spend a lot of time reading the forums and usually I can find answers without needing to post a question!

I'm trying to help a colleague with a problem she's got: on a menu slide, there are three buttons, which change state depending on whether the chapter has been visited.

One of the buttons is for a quiz, and she's set a trigger to change the state of the button only if the quiz has been passed. The trigger she's used is to change the state of the button if Results.ScorePercent is greater than or equal to Results.PassPercent when the timeline starts.

I've added boxes to show me what the variables are set to - the PassPercent one is 80, and the ScorePercent one is being calculated based on the results of the quiz. It doesn't matter what score I get, the button always changes to the visited state when I get back to the menu.

Any thoughts? I've been looking at it for about an hour and for the life of me I can't see what's wrong...

3 Replies
Wendy Farmer

HI Kerry

visited state is a default SL state which activates once the user clicks the button. If you are using variables in your trigger I would recommend duplicating your visited state to create a custom state (completed or passed - call it what you want) and then delete the visited state, and use the 'completed/passed' state in your trigger.

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