Change the state of a button on one scene from a trigger on anothe
I'm working on a project where I have a main menu with lesson buttons. When a lesson button is clicked, the user is taken to the first slide in the lesson scene. I have set up a button state that shows a checkmark icon on the lesson button, and I would like for that button state to appear on the main menu after the timeline of the last slide in the lesson starts.
This is what I have tried doing to set this up, but it's not working. I think I'm missing a small something or going about this completely wrong.
- On the Main Menu, I created a state for a Lesson button called "Completed Lesson." This includes the checkmark icon.
- I created a variable called "ShowCheckMark" and set the default to "False."
- On the Lesson button in the Main Menu, I created a trigger that states "Change state of Button" to "Completed Lesson" when Variable "ShowCheckMark" changes on Condition that ShowCheckMark is equal to True.
- On the last slide of the actual Lesson, I created a slide trigger that states "Set ShowCheckMark to equal to True when Timeline Starts."
After Previewing Entire Project and completing the lesson, the button on the Main Menu does not change states. Any suggestions? Am I doing this completely wrong?