Sequenced variables

Jul 24, 2014


Firstly love this site - it was one of the selling points for the product and I haven't been disappointed - I've learnt so much

My issue is I have a wolrd map and the user clicks on different countries to visit those slides and read their content.

When they return the country has a tick and the text box has changed to a message about that country. This is repeated for each country.

I've worked out how to do all this using variables and it all works fine if they visit the countries in the order I set them up in.

The problem I have is that if the user visits a country whose variable is at the bottom of the list first the text box doesn't change from that countries text when they visit another country

I hope this makes sense and any help would be hugely appreciated



9 Replies
Christine Hendrickson

Hi Stephen,

Welcome to E-Learning Heroes!

I realize that this may not be an option for you, but I wanted to suggest this, just in case it's something that might be easier and a little more functional for your course.

How about placing all of the content for the states on layers? I love the idea of the map, and I think this would work well, specifically if you don't need to control the order in which the countries/areas are selected.

However, if you need to control the order, perhaps restricting the order would work best with either disabled states or conditions.

Let us know how it goes!


Stephen Robinson

Hi Christine

Thanks for the above.

I wasn't 100% sure what you meant by putting it on layers so I've tried doing it where each country has a layer that displays on returning to the map. The only way I could see to do this was that the slide shows the new layer when the countries variable has been changed to true. This is exactly what I did with the states so I'm having the same problem.

The triggers are in the following order:






If the user selects the countries in this order it is fine but once they choose a trigger lower down it doesn't work when they select a higher one (i.e. if I select spain first the UK and Ireland will work but Korea and Australia won't)

If we can't work this out I can, as you suggest, restrict their journey and send them in the order I choose but would rather they had the freedom to go where they please

I've tried to upload the file to show you but it won't let me - am I missing something?

Sorry if this isn't clear and thanks in advance for any ideas


James McLuckie

Hi Stephen

I'm afraid I wasn't able to get your upload to work for me. However, I have quickly mocked up an example of the kind of functionality that Christine was talking about. Forgive me if I am wrong, but it sounds like you are building a simple click and reveal diagram, and would like the state of each country to change on the main map once the user has visited it?

It's a very simple process of having one slide with your map on the base layer. You then set up five separate layer - one for each country.

There are then five separate triggers - one for each part of the map the user clicks on. So (for example) Show Layer > UK > When user clicks on > UK.

I just had a simple 'Visited' state change applied to each of the shapes I had the learner click on. But you can do something much more sophisticated than this using graphics or more elegant shapes and text boxes.

Sorry if this isn't what you were looking for, but I knocked this up in five minutes to show you the functionality. Hopefully it gives you enough of a steer.

Stephen Robinson

Hi James

I have managed to do a work around by duplicating the Map slide and the user returns to the appropriate slide when coming back from each country.

Maybe not pretty but it seems to be working

The above is awesome though thank you because I was trying to work out where the state change triggers were only to now discover that 'Visited' and 'Hover' are automatic. I didn't know this and that is going to save me tonnes of time

Thanks again James and Christine and I'm looking forward to the day when I'm experienced enough to reply and help someone on their posts.

Stephen Robinson

Just to clarify - with the slide you created each box changed state upon returning. I can get it to work when it is different objects like the ticks over the countries as they have only one state change and one variable that affect them.

In my situation it is the same text box that changes each time they return to the main slide. There is the original text then when they come back from each country the text changes to something specific about that country

This means the triggers are set up as below:

Text Box One (Normal) changes state to Text Box One (Aus) when variable AusDep is True

Text Box One (Aus) changes state to Text Box One (Kor) when variable KorDep is True

Text Box One (Kor) changes state to Text Box One (Spa) when variable SpaDep is True

This works if they go in that order but if they visit Spain first the text box then doesn't change to Aus or Kor after visiting them.

I assume this is due to the order the triggers are in I'm just not sure how to fix it

Not urgent as I've got a work around I'd just like to know how to apply multiple state changes to an individual object based on multiple variables

Hope this makes sense


James McLuckie

Hi Stephen

Glad it helps. I think I see where you are coming from now.

It should be easy enough to do what you want by adding a numeric variable to your set up. Each time the learner visits a country's slide it adds 1 to the variable. (Let's call it "Counter.) You apply a condition that this only happens when the slide is being visited for the first time. You determine the first time visit by adding a true/false variable to each country's slide. I would have this set to false initially, but then set to true when the learner clicks whatever button it is they need to use to return to the map slide.

Rather than state changes (which can get messy), I would have whatever text/fgraphic you want to display on a layer that only displays if the counter is at a certain amount.

Again, have worked all this up for you very quickly. This way it doesn't matter which order the learner visits the country slides.

Stephen Robinson

Thanks James - I'm not on the computer that has Articulate right now but given I've been so slack at responding didn't want to wait till then to say thank you

I think I have managed a work around where the user returns to a different slide following each country and it seems to be working - it isn't pretty in the background but the user doesn't know so functional

I'll review your solution though as I don't like to give up on a challenge

Thanks again

This discussion is closed. You can start a new discussion or contact Articulate Support.