I'm trying to learn how to select objects in the right order. for example show layer XXX when objects 1,2,3 have been selected in the correct order. The order may be 2,3,1 and then show layer. I'm happy how to display the layer once all the objects have been selected, but its about selecting them in the correct order.
Looking at creating something like a safe they have to open to get to the next level, hope this makes sense.
6 Replies
Hi Martin,
How about adding 3 variables for storing the sequence of the clicks and a counter of clicks.
Like:
vClick1, vClick2, vClick3, vClickCtr
On a button click,
Adjust vClickCtr on every click or add 1.
If vClickCtr = 1,
vClick1 = Value of button 1
If vClickCtr = 2,
vClick2 = Value of button 2
If vClickCtr = 3,
vClick3 = Value of button 3
Check all 3 variables for your desired sequence.
if True,
- BINGO-
See attached a rough example how this might work.
Excellent thank you Michael
Michael this is great but how to reset everything to intial state if a learner do incorrect answer?
Hi Dragan - I attached an updated version of Michael's file to show one way to rest everything. Let us know if that's close to what you're going for.
Sorry, I missed that. What David said...:-)
This discussion is closed. You can start a new discussion or contact Articulate Support.