Using a variable name with the Show command

jm
Community Member Posts: 21
I've created a series of questions for a game I'm developing. I would like to randomly determine which question to display and do so using a single show action. Currently, I first use an action to generate a random number, then a series of other actions each set to show a specific question if the random number corresponds to that question's number. That makes for a rather long list of actions and cluttered structure.
When using the show command, can a variable name be added to an object name? For example, instead of this
Show Object_1
something like
Show Object[Var(QNumber)]
Thanks,
J-M
When using the show command, can a variable name be added to an object name? For example, instead of this
Show Object_1
something like
Show Object[Var(QNumber)]
Thanks,
J-M
Comments
Categories
- 35.8K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 323 CenarioVR®
- 190 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products