Change State of Button to Normal after Variables in other scenes are True
Aug 21, 2018
By
Lori Payawal
I have read other discussions, and I can't seem to get my triggers to work correctly.
I have a Main Menu, where I have made a button (Complete Course) initially disabled.
There are 4 quizzes throughout the course, and once they have reached the Results Slide for each of those quizzes, I have a variable that changes to true when the timeline starts.
On the main menu, I have that Complete Course state changing to normal after all those variables are true.
So the "Disable" part works fine. But after visiting all those results slides, and I return to the Main Menu, the Complete Course button state remains disabled and doesn't change to state=Normal.
I've attached my file. Help?? What am I doing wrong?
2 Replies
Nevermind! I figured out how to do this after reading this post:
https://community.articulate.com/discussions/articulate-storyline/triggering-a-state-change-via-variable-change-when-timeline-starts
Basically, what I had to do was:
1. Add new states to each of the buttons where I knew there was a quiz associated to it (State = QuizCompleted)
2. And then change the state of Complete Course to status = Normal, when the timeline starts if each of those shapes had a state = QuizCompleted. And then since one of the buttons doesn't have a quiz, I just also added the condition that the shape = visited.
3. Gave it a test, and when I first come to the menu the "Complete Course" button is disabled. I go through the course, pass all the quizzes, and visit the last chapter...come back to the Main Menu and voila! .....the "Complete Course" button is now showing as Normal.
Woo hoo 🎉
Way to go Lori! Thank you for chiming back in to share with the community as well 😁
This discussion is closed. You can start a new discussion or contact Articulate Support.