Forum Discussion
LauraWhitton
3 years agoCommunity Member
Help with States dependent on Variables
Hi,
I'm working on a quick activity to incorporate into an ILT. All I'm looking to do is have the characters on the main slide change their state to "Happy" once the appropriate slide is accessed....
MariaCS
3 years agoStaff
Hi, Laura.
Thank you for sharing your .story file!
When you use the trigger "When the variable changes", that variable has to change on the same slide as the trigger, which is not the case with your Introduction slide. Instead, I suggest changing the trigger to "When the timeline starts if the variable is True".
You also need to check the order of triggers on each one of your slides. The trigger that changes the variable to True needs to happen before the user jumps back to the initial slide, or it won't execute:
I'm attaching the edited .story file with my suggestions. Let me know if that works!