Variables and States
Mar 26, 2018
Hello. Here's my problem. I'm using Storyline 2. I have 8 objects on a single slide that I want to change the state of when a correct text entry answer is entered and for this new state to remain until the end of the game. I am able to get the objects to change state but I cannot get more than one object to change at a time. For example, I answer question one correctly and the state changes, however when I answer the following questions correctly nothing happens. I can restart the preview and answer question two correctly and the state changes but then the same thing happens when I attempt to get other objects to change nothing happens. So it is working to a point. I'm using text entry boxes versus freeform questions. For the textentry it set to equal the value typed when control loses focus. I then have a submit button that when typed value equals the correct answer it jumps to the slide with the objects, where I would hope the learner could see that the object/s has changed. Any suggestions?
5 Replies
Hey Lisa
if you can share the .story file it will be easier for someone to try and offer a solution if we can see how the slide is setup. Just use the grey 'add attachment' button at the bottom of the post to upload the file.
Thank you.
Hi Lisa
SL has built in states e.g. selected, visited so sometimes using them in states can cause issues. I created a custom 'completed' state and used that in the trigger to change it's state. You had it set to when timeline starts on the object instead of on the slide.
Thank you so much. I appreciate this and I have learned for the future.
Glad that helped Lisa and good luck with your project.
This discussion is closed. You can start a new discussion or contact Articulate Support.