Results slide branching

I am editing someone else's storyline project.

There is  a quiz that allows learners to have 3 attempts to get 100%..  There is the Results slide with  3 layers - Success, Failure and No more tries.

On the 4th attempt of selecting the 'Have another go' button on the Results slide, it should display the No more tries layer but it allows me to go through another attempt.

The show layers for success and failure are Slide Triggers, and the No more tries is a button trigger on the 'Have another go' button as follows:

Show layer 'No more tries' when the user clicks if TriesCount is greater than 3

Can anybody help with why it doesn't display the layer.  This button has 2 other triggers on it:

  1. Reset Results....results slide when the user clicks
  2. Jump to slide (bank of questions)

Many thanks

15 Replies
Ashley Terwilliger-Pollard

Hi Wendy,

You'll want to check the trigger order here - the "show layer" trigger should be before the Jump to slide and reset results trigger. 

If you're still having difficulty with your file after checking that, would you be able to share the file here with us so that we could take a look. 

Wendy Farmer

Hi guys,

what Jayem did was great but my client has now changed their criteria.  I think I have too many triggers and I can't work out whats what.  Think I have been looking at it too long.  Anyway I have logged a support call but of course this is urgent and they want to launch tomorrow.  Iam sure there is a hero out there who can help me.

Here is my predicament.  There is a bank of questions.  The learner gets three attempts.  After each attempt they can review the quiz before they attempt again.  On successful completion - congratulations layer, on failed completion first or second time get failure layer, on 3rd attempt and failure get layer that says 'Sorry you didn't pass and you are are out attempts'. 

The issue is I can attempt 1, review quiz, attempt 2, review quiz but at the end of the second review I get the Sorry you didn't pass and you are out of attempts.  This shouldn't come up until the 3rd attempt.  Here are the triggers I have:

Nicola Fern

I'm just setting up to try and test this, but just reading it you have a little conflict with the failure layer and the no more tries one as the failure one is set to display if the triescount is less than or equal to 3, and the no more tries one if it's equal to 3 - so there might be a fight going on with that somewhere?  Hard to tell given I can't see your other layers and how they interact with the background.

Nicola Fern

Hi Wendy...I think if I've set my file up the way you have, that the problem is that the TriesCount increases by one every time the results slide is viewed...and it's viewed again each time you review the quiz, so increasing the TriesCount multiple times for each go.

I've attached my file and will try to come up with a way around it.

Nicola Fern

OK I think I fixed it...

I took the trigger to increase the triescount off the result slide and put it on the slide for the last question and attached it to the submit button.

I'm not sure if this will work for a question-bank generated quiz but certainly worked on my simple three question sample...

File attached.

Nicola Fern

One more and I'll shut up...

I think with the draw from question bank that you'll have to have a single fixed question slide after the draw can have your results slide consider them as one quiz in the setup for that, and have the submit button trigger like I described above.

I've tried it out and it works - story file attached. To preview this you'll have to preview by scene as both quizzes are included.


Ashley Terwilliger-Pollard

Hi Wendy,

Thanks for sharing the image here, although it did leave me with a few more questions. You mentioned the user takes the assessment, reviews it and then tries to take it a second time, does another review and that's when they see the message? Based on that, it sounds like maybe the count is wrong? So when I first see the results slide your variable adds 1, I then review and I'll return to the results slide (variable is now 2), I'll then do the assessment a second time return to the results slide (variable is now 3), and you click on review again - once you revisit the results slide you're out of attempts as the variable would now be at 4. So instead of starting the variable when the timeline starts, I'd set the variable to adjust based on clicking the "retry" button - and you'll just want to make sure it's before the jump to slide trigger. 

Also, looking at your layer triggers I see the Failure layer is set to be shown if Tries is less than or equal to 3, and No more tries layer is set to show if Tries equals 3. Are these layers overlapping, by design? If not, you may want to set Failure just to show if Tries is less than 3.

If you're still having difficulty, can you share the .story file here with us so that we can take a look!

Thanks Nicola for also working through another solution! 

Wendy Farmer

Hi Nicola,  tried your suggestions but I couldn't get it to work for me.  I scripted the triggers as you did but my counter just stayed on zero.  There was no trigger to add to the counter and I couldn't see any difference in the setup of your variable and mine.

Anyhow, after much playing around (with ideas from both you and Ashley got it to work. Here is a screenshot

Thanks again both of you for taking the time to post and help me out.