Forum Discussion
Variable for 3 attempts not working
hi all,
can someone tell me what I am doing wrong with the final assessment? 3 attempts to pass it. After 3 attempts it should go to slide 1 of scene 2 but it is not working... somehow it does not add up the amount of attempts which should be case when one is pressing button 2 on slide 1.13 to reattempt the assessment. Who can tell me what i do wrong?
- WaltHamiltonSuper Hero
I'm not where I can look at your story right now, but I can tell you that by using the built-in feedback system, you can set the number of attempts to 3. Then set the appropriate triggers on the feedback layers. When it is answered correctly, the Correct layer shows. When answered incorrectly, the Try Again layer shows for the first two attempts. When it is answered incorrectly the third time, the Incorrect layer shows.
- DVANieuwegeinCommunity Member
Hi Walt,
After failing a test, they need to start all over again and get new questions. So the “question-attempt” is set to 1. That is why I need to work with the variable, which is not working at this point.
- PhilMayorSuper Hero
Looking at your setup you need to move the attempt count trigger above the jump to trigger (anything after jump to will not work).
I don't see anything else that controls attempts you probably want to change the jump trigger to have a condition of equal to or less than 3 on the attempt variable and an ELSE to go somewhere else if >3.
- DVANieuwegeinCommunity Member
hi Phil,
I've moved the trigger up so it is the first trigger on the page now and it is working! I did not change anything to the condition, moving up the trigger was sufficient. Thanks for the advice, really appreciate it.