Copy link to clipboard
Copied
I am created a software simulation in Captivate 8. We use these for quizzes at the end of our courses. We give users 2 attempts to click on the correct area of the screen before moving to the next slide. I would like the first incorrect click to display a failure message that says "Try again" and the second incorrect click to display a different failure message that displays the correct answer or click and instructions to click to continue.
I have used the instructions I found on this post Want Different hint captions to appear , except for I have used a shared action on each slide.
The problem I am having is that the shared action only works on the first slide I preview. It doesn't matter which slide it is, as long as it's the first one I preview, it works. However, any subsequent slide only displays the second failure message and not the first failure message.
I have quadruple checked that the shared action of each slide has been updated with the correct parameters and each object has a unique name.
Does anyone know what might be causing this issue?
Thanks a million!
Kat
P.S. Once I get this part working, I am wondering if there is also a way to have the first failure message disappear after a certain period of time (similar to how the built in failure messages work.)
Forgot to ask in the old thread: do you not have to reset variables when entering a new slide? To debug create a text container (shape or captinn), insert the variable(s) and display it for the rest of the project. That will show you if my suspicion is correct.
Use the On Enter event of each slide to trigger the command
Assign v_attempt with 0
Copy link to clipboard
Copied
Forgot to ask in the old thread: do you not have to reset variables when entering a new slide? To debug create a text container (shape or captinn), insert the variable(s) and display it for the rest of the project. That will show you if my suspicion is correct.
Use the On Enter event of each slide to trigger the command
Assign v_attempt with 0
Copy link to clipboard
Copied
Thank you so much! Assigning v_attempt with 0 on enter of each slide worked. It was driving me crazy!
Copy link to clipboard
Copied
Sorry, should have thought about it right away, but I'm combining too much tasks at this moment.
Copy link to clipboard
Copied
No worries! I completely understand.