Setting up "Choose Avatar functionality and displaying the selected avatar in rest of the project"
Hi All,
I have created a story for some quiz questions and the user has to choose an avatar before proceeding to the quiz.
But I am not able to figure out, how to display the character based on the user’s selection. For example, the two characters that I have used are John and Ellet. If I select John in the character selection page, John should appear in the result screen instead of Ellet.
I was able to achieve the same using Storyline but not able to figure that out in Captivate.
The idea that I am having is by assigning variable to the two characters: John and Ellet. For John I will have variable J with default value false and for Ellet the variable will be E with default value false. When user clicks on any of the character, for example if he/she clicks on John then J will turn to true and E will remain false.
This condition can be used in result slide, to display John instead of Ellet. There can be a hidden shape with two states: one for John and other for Ellet.
If J is true, change state of the shape to state John and if E is true, change state of shape to Ellet.
I am not sure about how to create true/false variable and assign them value when user clicks on the character button.
Kindly help me with this. Kindly share the sample if anyone in the community has created the avatar choose functionality for the user.
Thanks a lot in advance.
