Forum Discussion
Unable to Make Completed Paths Complete in Bracnching Scenario
Hi,
I have created a branching scenario with three characters and nine possible paths. The learner has to choose one path for each character. I have a main slide that has all the three characters, and the learner returns to this slide after completing each path. I want to disable the characters that they have already selected. I created a variable at the end of each path (T/F), and whenever they press the button at the end of each path the variable changes true. I have a completed button on the main slide for each character that should change the normal state whenever the variable I mentioned before changes. I cannot make it work. What am I missing? Thank you!!
- JudyNolletSuper Hero
A trigger that runs when a variable changes will only work if that trigger is on the slide where the variable changes.
If you want another slide to do something based on the value of a variable that is changed somewhere else, you need a trigger that runs when the timeline starts -- and that has a condition so it will only run if the variable's value is what you want it to be (in this case, True).
If you don't want to replay the timeline of the main slide every time the user returns, you can put the triggers on a blank layer. This post has more info about that:
- OrsolyaKeres170Community Member
Thank you it is working now!
So glad to hear Judy could assist you, Orsolya! Thanks so much for sharing your knowledge with the community, Judy!
Have a great weekend and happy developing! ✨