Forum Discussion

FredGood's avatar
FredGood
Community Member
15 days ago

Want to make a secret test button on my quiz results slide...How?

I want to make an tiny invisible "test" button on my results slide, so my SME and I can fail the test, then hit the secret invisible button to set the variables and refresh, and show the "Success" layer. 

I tried creating a trigger to adjust the variable "Set variable Quiz1.PassPercent to value 100", and even "Set Quiz1.PassPoints to value 100", but no combination seems to work to show the success layer.

What's the magic recipe to make this happen? 

2 Replies

  • FredGood's avatar
    FredGood
    Community Member

    *I got it to show the "Success" layer, but I can't force the score to enable the items that show up if they get 100%... (a little trophy appears)

  • The quiz-scoring variables can't be adjusted with triggers. Storyline just ignores triggers that try to do that. I assume that's to prevent the built-in functions from being messed up. 

    Although you can't change the value of a score variable, you can pull its value. 

    For example, based on my understanding of what you want to do, add a trigger to your secret button that shows the Success layer that sets a custom number variable to the value of the ScorePercent variable. Also add a trigger that shows the trophy when the Success layer's timeline starts with the condition that the custom variable = 100%.

    I'd also suggest that testing include verifying that passing the quiz works as it should, including passing with <100% and passing with 100%.