Variable problem
Oct 24, 2014
I've spent the better part of two days trying to work through my first attempt using variables. Generally, everything I've done makes sense but I cannot get this to work. In the section on generations, I have five items I want users to click on before being directed to a summary. First I set up variables for each of the five and set them to "false". Second, I created a trigger to switch the variable to "true" after the item was clicked. Finally, I created a trigger so that if each of the five were true that the presentation would move on to the summary.
The only thing that is not making sense is in the trigger wizard for the final step where I need to assign an "object". The "objects" I'm given as choices are the variables covered as conditions. I'm not sure why Storyline needs one of the same variables I've already indicated need to be true.
Does that make sense?
9 Replies
the object would be the slide wouldn't it? Move to next slide when timeline starts on this slide if all variables are True?
Hard to say without seeing it
The objects should be the actual objects that the user is clicking like a button or a shape.
Have a look at the attached file (here is the published version: http://dev.keypointlearn.com/xcl71_SL/SevenTopics/) and see if that gives you any ideas. This example has a menu slide wit seven items. When all are clicked a message is displayed that allows users to advance to a summary slide.
This is basically Storyline's way of asking you when you want the check to occur - i.e. at which point or event.
Hi Eric
I guess you are using 'When Variable Changes' to control the action. This will only work against one of the variables at a time, so you need to know what order the user will click the items amd put the trigger against the last one. Alternatively create a separate trigger for each object that has all the others referenced in the conditions, such as:
etc
Helen
This is how I did it, based on how I read your requirements. A trigger checking if all the variables were true had to be set when the user clicked each area, because they could click them in any order. Hope this helps.
There's more than enough people here to help you with this.
In this case though, you could use the 'visited' state to your advantage, then just one trigger to move to your summary slide.
Cheers,
Alex
Alexandros is right... if states can work for you in your situation, then they're a lot easier. I updated the example project I posted to include a 2nd slide for states. I whole lot less to maintain. :)
Thanks everybody! I spent the weekend "rejiggering" my course. I did ultimately go with variables as opposed to states though states did seem to be easier. It's just that I was working several possibilities simultaneously and this is what worked first. Whew! Going in to the week feeling much better.
This discussion is closed. You can start a new discussion or contact Articulate Support.