Forum Discussion
TimothyJohns518
3 years agoCommunity Member
Limit Number of Course Attempts
How can I limit a user from attempting a course no more than 3 times?
I've built a software simulation that includes a mix of multiple choice/true/false questions and I don't want the user taking...
JudyNollet
3 years agoSuper Hero
Hi, Timothy,
To limit the number of attempts, you have to track the number of attempts. Do that with a number variable.
- Give the variable a default value of 1. (That represents the 1st attempt.)
- Wherever they start a new attempt, add a trigger that adds 1 to the variable.
- Be sure this trigger comes before any "jump to..." trigger. (Storyline can't run a trigger if it's already left the slide the trigger is on.)
- For whatever trigger starts a new attempt, add a condition so it will only run if the value of the variable is less than 4.
All that will prevent them from taking more than 3 times. I also suggest that you have a message appear after the third failed attempt that tells them what they need to do.
To ensure they don't just exit the course and restart it from scratch, you also have to adjust the Resume feature in Player > Other. Be sure it's set to "Always resume."
Here's more info about conditions and variables:
Related Content
- 10 months ago
- 5 months ago
- 13 days ago
- 9 months ago