Problems with state changes and variables

Apr 18, 2017

Hello everyone, hope someone can help me with an issue I am having with a course. I have this slide which works as a "main menu" so that users can navigate to different topics, but not all items are unlocked for them to navigate freely. There is actually and enforcement for them to navigate in a desired sequence, so that the next item unlocks only when they have visited the prior one. 

 

I have set 2 different states for each one of the pictures, one for "Normal" and one for "Disabled", which shows the picture as greyed out and no cursor appearing when hovering. I set them up in the triggers to change from Normal to Disable when the Timeline starts. 

As well, I set a variable (IPCat), with a default value of 0, and set a trigger so that the value changes to "1" when the user clicks on the first picture (the one for IP Catalogue), and also a trigger to change state of the picture for Content BLocks (the one that follows in the sequence) to Normal, with the condition that Value of the IPCat variable has to be equal of greater than one.

 

 

 

 

I've been doing this, but when I click on the IP Catalogue pic, I go through the content and then come back, the icon for ContentBLocks is still greyed out, as if it didn't read the variable, the adjustment and the condition associated with it.  Weird part is that I tried to do a simple change of state, just by advising to change the state from Disable to Normal when timeline reached 10 seconds and it worked, but not with the variables. 

Due to confidentiality matters, I am not able to send the story file right now (I may send it later, but I would need to heavily edit the text and then save it as a separate project), so I wonder if maybe anyone knows what may be the cause of the problem. I think I am doing it correctly, but I am also new at this so, who knows. Thanks a lot!!!

3 Replies
Leslie McKerchie

Hello Marcela - It is certainly more difficult to help without seeing the file, but I have some thoughts - so let's give it a shot :)

The first thing I notice is that you have the picture set to Disabled when the timeline starts. 

If the user is going to another slide when they click IPCat and then returning to this slide, that is why you are seeing this behavior. If this is what is happening, you could add a condition for when IPCat is equal to 0 perhaps.

Walt Hamilton

Marcela,

It is likely that this is part of your problem:

 

The change in a variable (IPCat) can be observed by a trigger only on the same page that changes it. e.g. if the catalogue page changes it, triggers on the home page will not notice it changing.

While you are working up a version to post, take a look at this sample. The triggers you want are on the restricted page.

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