Creating a variable or a state?

Nov 19, 2015

Hi.  I created a slide that has 7 buttons for the different parts of my project.  I want the learner to do them in succession.  I am not sure how to do this.  Can I make a variable on each button that allows it to be clicked when the previous part was finished?  I was thinking of a variable on the last slide of each part and a variable on then next part's button.  

3 Replies
Ralf  Baum

You will have to use the variable-function.

Yes, your idea is correct.

Make a variable (var_Part1) for the end slide of part 1 and adjust it to "1".

Then you'll make a new variable (var_Part2) at  the end slide of part 3 and adjust the variable also to "1"

The main idea is easy:

When has the user finished part 1?
When he arrives at the end slide of part1.

In technical terms:

If he has not visited the end slide of the part 1 the variable "var_Part1" = "0".

if he has visited the end slide of the part 1 the variable "var_Part1" = "1".

 

Then you'll go to the first slide. Change the initial state of every button to "deactivated"

Now you will have to make a trigger at start of the timeline.

Change state of button 2 at the start of the timeline when variable "var_Part1" = "1"

 

Here is a look at the conditions:

 

Then do this for every button.

 

Best regards
Ralf

Michael Shannon

Hey Carrie, you're on the right track. I wrote an entire step by step but then deleted it. I thought it might be better, and faster, if I just uploaded a file for you to dissect. There are many ways to do this but this one is fairly simple. The critical thing is paying attention to the order of your triggers. Look closely at the way they are ordered on the menu page. 

If you have any questions give me a shout. 

I was probably deleting my lengthy response when Ralf posted his (another way to do it).Maybe between the two of us you can come up with a working solution. Good luck. 

 

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