Changing "icon states" on scene completions
I'm building an e-learning course. I have a "Main Menu" from where the user can jump to the different scenes (each scene is represented with an icon). I wish to change the state of these icons when the user has completed the scene associated with that icon.
Here's what I did. I added a Project Variable (let's call it x). I initialised x with false, and added a trigger that set x to true when the timeline ends. This trigger was added on the last slide of the scene.
Then in the main menu slide, I added another layer with the changed icon. I then created a trigger which reads thus: "Show layer New Layer when the time starts If x is equal to True".
However, when I preview the project, and I complete the said scene the changed layer is not visible. When I am editing the slide (main menu), I can notice the changed icon state if I show/hide the added layer (so I surmise the error does not lie in the way I am handling layers).
Could someone please point out the error that I am committing here and what would be the correct way of achieving what I wish to achieve.