Multi-digit entry for Trigger

Sep 24, 2022

Hello,  

While this is my first post,  I've found this board priceless while learning Storyline 3 over the past two years!!

 

Briefly,   I'm completing a software simulation for my portfolio and have finally figured out how to provide a means of entry via keypad OR mouse for my gamified assessment.  (A big thanks to the user who shared the timer code in this scene!)

However,  my issue is my Trigger to show the "Incorrect - try again!" layer is not working properly.  

The correct answer is 4 4 5 5.   However,  the Trigger does not cause the Incorrect layer to appear if ANY of the four digits are correct  (e g,  4 3 2 1,  7 8 9 5 both fail to trigger the Incorrect layer.      I intended for Incorrect to appear if any of the four digits are incorrect.

 

If any one may have any suggestion or other approaches I can pursue to produce the same,   I'd appreciate it!!

Thanks, Ross

2 Replies
Michael Hinze

Have a look at the attached and see if that's what you wanted. I changed the baselayer trigger to show the Correct layer if the Counter>5. Then, on the Correct Layer, I added a trigger that immediately shows the Incorrect layer if any (OR) of the variables is incorrect.