Forum Discussion
Creating a character status change within a quiz
I am trying to change a character status when the user selects the correct answer within a quiz. I have created a slide with the quiz layout, but I don't want it to score anything. It is being used more as a knowledge assessement so I have not included a results slide. I want the character on the slide to change when the user selects the correct answer. I have created another state for the character, however, I can't setup a trigger that changes the character state with the correct answer selected and the Correct box showing. Does anyone have a suggestion?
21 Replies
Hi Evie,
The key is to add use a condition with the trigger.
The basic idea is...
Change state of Character to Happy when user clicks submit button (IF) (correct answer) is selected.
The conditions area can be activate by clicking on the plus sign (shown in image).
I've attached a .story file to demonstrate. I hope it helps! If not, let me know and we'll keep problem solving.
Mike
- DanielaSlaterCommunity Member
How do I open this .story file. I tried a few different ways but keep getting garbled data.
- AmyGCommunity Member
What about changing a character state to happy upon selecting correct answers? I have question slides with the correct answer set to a point value. So the trigger is set to change to happy when the user clicks submit and the condition that the score equals the point value. Neither the correct nor incorrect triggers are working consistently. I have checked them numerous times.
The characters are on the slide in neutral expression as the starting point. I don't have any additional states built, but I don't think I need them, as sometimes the trigger does make them happy.,\
Any suggestions?
Thanks.
Amy,
I'd have to see how you have this set up. Would be able to post a sample .story file? If it's proprietary, you can just recreate a clean version with no proprietary intel.
Thanks!
Mike
- TimHillierCommunity Member
Mike
I have a bug submission on a similar issue. Conditions do not seem to work on question slides or at least not in question banks.
Tim
- PeterAndersonFormer Staff
Thanks, Tim. Have you had a chance to send it in?
- TimHillierCommunity Member
Peter
Here is the case number - Case #00287831:
It showed a question with state changes that works on one slide the a question bank with that slide in it where it won't work.
Tim
- PeterAndersonFormer Staff
Got it. Thanks for catching that and sending it in. The QA guys are checking things out now.
- ToniKrasnicCommunity Member
Mike,
How about if there are two correct choices (AND, OR)?
Alternatively, is there a way to use "correct answer" and "incorrect answer" as the trigger for the state change of character? Thanks.
- LauraLowdenCommunity Member
Hi Toni,
I did something similar with a drag and drop interaction. When they drag the object over to the wrong area, he frowns. When correct, he smiles.
You'll notice that I created a character head, and put it on top of the "base layer" character because I added an easter egg of the look of surprised when hovered over. I then just changed the state of the head for the correct/incorrect facial expressions. I would guess this would work if you just did it to the whole character. I'm sharing my story file so you can see all the triggers. Hope it helps!
- DanielaCommunity Member
Thanks for this Laura.
- TimHillierCommunity Member
Laura;
I really like what you have done with this. The feedback audio layers and color changes are great.
Tim