Variable + normal states
Jun 05, 2017
Hello,
I have a main slide with 15 buttons linking to other slides. Each button goes to 1 slide and then goes back to the main slide. There is no order for the buttons to be visited / clicked.
I want the student to have to click on each button before being able to press next.
What I've done so far :
- Each button adds +1 to a variable
- Next button appears when variable reach 15. So when the user comes back to the main slide after visiting his last slide, he can press next and carry on.
Each button has a normal and visited states for each button. The triggers are set up to add +1 when user clics IF the button's state is "normal". So technically, if someone clicks on the same button twice, the variable should not change. The student then have to click on each of the 15 buttons to be able to press next.
My problem is : it doesn't work. I can click twice on the same button and the variable will go + 1 each time.
Am I missing something ?
Thanks !
9 Replies
Try changing the condition of the trigger to state is not Visited.
Hi Russell -
I tried changing the condition to not visited - didn't work either ! Thanks though.
It seems to work for me. Here is an example storyline 2 file for you to take a look at.
Thank you so much ! I think the problem comes from the language settings (I use Storyline in French).
I downloaded your example, everything works. Then I checked the triggers details and noticed the state would not appear in the condition window, because mine are in French. So I selected the French equivalent "visité" ... and it doesn't work anymore.
All the buttons that still have the English condition work. The one with the French condition doesn't.
I tried to reset the states in English manually in my file, it doesn't work. Not sure what to do from here but at least I know where it comes from.
That's interesting. I changed my language to french and changed the condition to visité.
After publishing the course it doesn't work. I suggest that you submit a case with articulate support and report this as a bug.
Here is another way of doing this that you can use as a work around. Instead of using States, I used 15 True/False variables.
The French version is known to have problems with state names, especially visited. Even in English, the built-in states (liked Visited) occasionally think they are normal, especially if you are using "in not = normal" as a condition.
Russell's method is the only way to be absolutely certain it will work.
It did work with 15 True/False. Thanks a lot !
Hi Pascaline,
The visited state was something that we had an issue with before in Storyline 2, and fixed partially in an update described here.
You'll see in that discussion that they also recommended using the variables.
This discussion is closed. You can start a new discussion or contact Articulate Support.