Changing variables when states change
Apr 08, 2016
Hi everybody, I want to change a variable depending on what state several characters have.
Let me explain: the user has the chance to pick the mood of several characters on a slide, and set them to either happy or sad. If all the characters are set to happy, the variable should be true; if all or some of the characters are set to sad the variable should be false. All of this should occur on the same slide.
I came up with this window when playing around with variables and thought that Articulate can do just what I was looking for: change variables depending on what states certain objects on a slide have.
Somehow, though, I'm having trouble getting it to work... It seems that variables can't be changed by states on a single slide - or what am I getting wrong? Any ideas?
6 Replies
Hi Ed
can you upload your .story file - easier for someone to help if they can play around with your setup.
Hi Ed,
I made a quick test and it works for me (a banner that displays "HAPPY" when both character have been clicked as "Happy".
Here are my triggers, just in case :
The trickiest part is to trigger a check that both variables are true (triggers must have a target, you cannot catch ANY mouseclick).
You don't even need variables actually!
Hi Wendy, hi Pierre, thanks so much for your quick replies. It looks like I had a bug somewhere. It now seems to work for me too! Here's an upload of my file, just for reference.
Thanks a million!
You're right Pierre, that's why I was curious to see Ed's setup as to why he was using variables.
Thanks again for the feedback. I need the variables to use the results on other slides. Now everything works just fine.
This discussion is closed. You can start a new discussion or contact Articulate Support.