Using a variable name with the Show command

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

Discussion (1)

I don't think so. But it's easy to do by adding JavaScript.

Discussions have been disabled for this post