I am working on a simulation that requires multiple user key-presses for a trigger. For example: Ctrl ALT F B
In the trigger editor I can select Ctrl ALT and one character. Is there any way to have storyline recognise the entire sequence. If I take the Ctrl Alt out I still get just one character or key press.
I'm excited to see what other community members might suggest to help you achieve what you're trying to do.
My initial thought would be to create a variable that turns True once the user presses Ctrl+Alt+F, and then another trigger would call for the user pressing Ctrl+Alt+B, but only if the variable is True (which means they would have pressed Ctrl+Alt+F+B). This solution needs the user to press the keys in a specific other, so you would need to include instructions.
I've also seen other members using on-screen keyboards where the users would need to click the keys instead of pressing them.
Good luck, and I look forward to seeing other ideas!
Thank you Maria! I was stumped on how I could validate a series of key presses til I found your post. The variable idea worked perfectly! I added a screenshot of my triggers in case someone would need an example.
Adding a string or an array to the variable types that Storyline offers would be a great new option! Thanks, again.
2 Replies
Hi, Mark, and welcome to E-Learning Heroes! ✨
I'm excited to see what other community members might suggest to help you achieve what you're trying to do.
My initial thought would be to create a variable that turns True once the user presses Ctrl+Alt+F, and then another trigger would call for the user pressing Ctrl+Alt+B, but only if the variable is True (which means they would have pressed Ctrl+Alt+F+B). This solution needs the user to press the keys in a specific other, so you would need to include instructions.
I've also seen other members using on-screen keyboards where the users would need to click the keys instead of pressing them.
Good luck, and I look forward to seeing other ideas!
Thank you Maria! I was stumped on how I could validate a series of key presses til I found your post. The variable idea worked perfectly! I added a screenshot of my triggers in case someone would need an example.
Adding a string or an array to the variable types that Storyline offers would be a great new option! Thanks, again.