Forum Discussion

ToniBahnsen's avatar
ToniBahnsen
Community Member
2 years ago

Reset of a score keeper when user tries to redo an activity

In my sorting activity, the object is to sort the 5 grocery items into the correct locations (either a cart or a bin).  If user ends activity with anything other than 5 out of 5 score upon submitting selections, then feedback with a "please try again" comes up.  But when the user tries again, the score does not reset to 0 out of 5.  Can you help me fix this so the score resets to 0 out of 5 for each attempt at the activity. https://watch.screencastify.com/v/n2TuJ5ooAHx8vGizDQH5 

  • Hi Toni,

    Happy to help!

    If you're using a variable to keep track of scoring, you'll need to add an 'Adjust Variable' trigger to the slide (or one of your layers) to reset the value of the variable to 0 during a retry attempt. The reason for this is that variables retain their value for the duration of the course. 

    I'll be glad to show you how this can be done on your project file! Would you be willing to share a copy of your .storyline project file here or in private by opening a support case so we can make the necessary changes? We'll delete it when we're done!