Forum Discussion
Request for Assistance with Scoring Logic in Storyline Test File
- 4 months ago
Hi Nedim, I just moved the Failure-Last Attempt trigger first on the base layer. That appeared to work. I tested several times, 3 failures, 1 failure and then 100%, and a 100%. All work as designed.
Nedim, can you explain the why the last attempt needs to occur first?
Thanks, Tina
Hi Nedim, I just moved the Failure-Last Attempt trigger first on the base layer. That appeared to work. I tested several times, 3 failures, 1 failure and then 100%, and a 100%. All work as designed.
Nedim, can you explain the why the last attempt needs to occur first?
Thanks, Tina
Let’s review the original trigger order:
The first trigger checks if the learner’s score is greater than or equal to the passing score. If true, it shows the Success layer. The second trigger also runs, but because the first condition isn’t met, it defaults to the else part which tells it to show the Failure layer no matter what.
As a result, both layers are triggered, but only the Failure layer is visible. That’s because in its layer properties, "Hide other slide layers" is enabled which hides the Success layer, even if it was shown first. To confirm this, if you uncheck "Hide other slide layers" in the Failure layer’s properties, you’ll see that the Success layer is also being shown, just hidden underneath.
By changing the order of the triggers, we technically get the same outcome: both the Success and Failure layers are shown. However, since Storyline executes triggers in the order they appear in the Triggers panel (top to bottom), placing the trigger that shows the Success layer last ensures it appears on top of the Failure layer.