Forum Discussion
Trigger Condition Sequence Problem
I seem to be having a problem with my trigger sequence. I am using Storyline 3 Update 12: 3.12.24693.0 on a Windows 10 computer.
As an example, I created a 2 question assessment that should allow the user to take a maximum of 2 attempts at the assessment.
I have created 1 custom variable (AssessmentAttempts) to track the number of tries. The AssessmentAttempts variable increments when the first question slide is visited. The results page has 4 layers: 3 that are conditional layers and the base layer.
If they succeed on the first try, they should see the Success layer and be done. If they fail the first time they should see the 1st Failure layer with a button to restart the assessment. If they succeed on their 2nd try they should see the Success layer and be done. If they fail the 2nd attempt, they should see the 2nd Failure layer and be done.
Here are the triggers on the Results slide (in order):
Show Success layer when Results.ScorePoints >= Results.PassPoints AND AssessmentAttempts <= 2
Show 1st Failure layer when Results.ScorePoints < Results.PassPoints AND AssessmentAttempts <= 1
Show 2nd Failure layer when Results.ScorePoints >= Results.PassPoints AND AssessmentAttempts = 2
Unfortunately, this doesn't work like I think it should... Let me know if you need more details. Help?
Jon
- MariaCSStaff
Hi, Jon, and welcome to E-Learning Heroes! ✨
Thank you for sharing your .story file!
One of your triggers (Show 2nd Failure layer when Results.ScorePoints >= Results.PassPoints AND AssessmentAttempts = 2) was set to compare ScorePoints with PassPercent, which is why the success layer would not show up after the first attempt:
If you change either of those variables to match the other (ScorePoints with PassPoints or ScorePercent with PassPercent), it should work as expected.
Let me know if you have additional questions!
- JonNelsonCommunity Member
<facepalm>
Thank you! Let me fix that and see if there is anything else mis-typed :)