Different States Of Button Depending Upon Your Answer

Oct 04, 2012

I'm not sure what I am missing here but here is what I am trying to accomplish.

After selecting the first character (orange circle) on 1.1 Review and answering the question at 1.3, whether you get the question right or wrong, you will be directed to 1.2 Review. Here the image of the orange button should change to either the Incorrect State or Correct State, depending upon if you selected the correct answer.

Can anyone help me out and let me know what I am missing in setting up the Orange button to change states? I have a couple variables set in the file Wrong1 and Correct1.

4 Replies
Matthew Graham

Hey, Mike!

I like your idea to change the states of the lobbyists according to whether or not you got the question right.  I was able to make it work by changing your trigger that changes the state to do it at the start of the timeline. 

Also, I'm not sure where you're going to go with the project, but you may find it easier sending the user back to the first slide instead of making a new one.

I've attached the edited version.

Adam Truckenmiller

Thanks Matthew for the help! Now the question is how do I make the character's state stay that way so it doesn't change when you rollover the image and cannot revisit the question again?

I originally wanted to keep the review slide as just one but what I have going on in the project is an iPad theme. (you can't see it the theme in the test file) but that is also why there is animation on the first Review slide, so it acts like an app, in this case the Review app, when first selecting it on the iPad.

Matthew Graham

You could set the first slide not to reset on return.  That way your states would stay the same and the intro animation would have already run.

 EDIT:  Hmmmm, let me think about that.  Setting it not to reset would make the state change check not work after the first question. 

You could add a condition for your pic hotspot that says "if var 1/2 = true/false" so that your link wouldn't work anymore if you've answered it.

This discussion is closed. You can start a new discussion or contact Articulate Support.