Forum Discussion
Variable if/else seems to fail
This is the problem Im having in a much longer module. I have 3 characters, I want 2 of the character selections to lead to one slide and the third a second slide.
I have added variables to track which of the 3 characters are selected. It works for the 2 characters but not the one ending up on a different slide.
Attached is the testing scene I made to try and figure out where I am going wrong. It behaves the same as my original file. In the test the female character should lead to the slide with the wide open mouth and the 2 male characters lead to the slide with the face hidden, both go through the slide of the macarons first. The macaron slide represents other slides in the original presentation. The path must be through another slide for my module to work.
- GarthYorko-TECommunity Member
On slide 1.1 move the adjust variable trigger to happen before the trigger to jump to another slide.
The triggers are executed from the top-down. Your current order of triggers mean that it jumps to another slide before the trigger to adjust a variable can happen.
That should fix your problem. See attached.
- SaraGallingerCommunity Member
Thanks, I cannot believe it was that "easy" a fix!