Building Word Search Game, Reveal Layer Variable Question?

Hello all!

I am building a word search game in Storyline and have a variable question. I've set the module setup to where a person looks for a word, when found the user clicks the word and a highlight effect layer appears over the word. I would like to be able to show another layer when all the words have been found.

How would I set a variable to trigger, once a certain number of the layers have been revealed?

*see screenshot for reference*

Thank you!

 

5 Replies
Walt Hamilton

The easiest way is to increment a numeric variable each time the user finds a word and clicks on it.  Then use this trigger: Show layer AnotherLayer when numeric variable changes if numeric variable > = (Don't forget Jurassic Park!) number of names.

Easiest, but not accurate, because it adds to the count every time the user clicks, even if they click on a previously found name.

Most accurate way is to set a T/F variable for each name. When the layer for that name shows, have it set the variable to True. Keep the numeric variable and increment it, then use this trigger: Show layer AnotherLayer when numeric variable changes if Jouhua = True AND Katherine + True, etc.