Forum Discussion
Project.SlidesViewed decreases mid-course
I have a course with a pre-test in the middle. Before and during the pre-test, the value of Project.SlidesViewed increases with each slide, as you would expect.
Shockingly, after the pre-test, the value of Project.SlidesViewed decreases!
Why would this happen?
3 Replies
- NedimCommunity Member
That's an odd issue. I’m unable to reproduce it. Could you please upload a mockup or a simplified version of your project (without any sensitive information) so someone can take a closer look?
- SamHillSuper Hero
Yes, that's a problem. Project.SlidesViewed should not ever decrease. You may have found a bug.
Make sure you don't have any triggers in your SL file where you are setting the value of Project.SlidesViewed. Use the variable viewer to check and see where references to the variable occur and then check those slides to make sure the variable isn't being assigned a value.
I'm probably telling you something you already know, but just in case: Project.SlidesViewed increments automatically on slides that have not yet been visited, and so you don't need to assign values to Project.SlidesViewed.
- GaryWeinfurtherCommunity Member
Solved. There was a "Reset results slide" trigger hidden in a layer after the pre-test. That apparently reduces the value of Project.SlidesViewed by the number of pre-test slides.
Related Content
- 2 years ago