Breaking my brains over variables
Oct 10, 2014
I am working on a course which is outlined as follows:
2) Chapter 1
3) Chapter 2
3) Chapter 3
I'm not using a Menu, don't want that in this specific course.
On my last slide of the Introduction I have an overview of the three chapters with images for all three. The learner can click on the images to access the relevant chapter. After the learner completes a chapter, he gets back to the overview in the introduction.
What I would like is that if the learner works through chapter 1, an object keeps track of the progress in the overview slide. So if chapter 1 has 5 different subjects, the learner completes 2 and goes back to the overview, the object displays a "2/5" counter. This way, I can show the learner know how far he is.
I did the following:
1) On the overview page I inserted the tracking object (initial state: hidden with four extra states: 1/5, 2/5, 3/5, 4/5). On the image that goes to the right chapter, I added a state with a big, fat green checkmark.
2) I added a named Number variable, starting at 0.
3) In Chapter 1, whenever a learner completes a part, I've added a trigger that adds '1' to the Number variable. So there are 5 parts which each add '1' to the Number variable.
4) On the overview page I added a trigger that changes the state of the tracking object to the right state, depending on the right Number count.
5) If the learner completes all parts (and the Number count goes up to '5'), the big fat green check mark is displayed.
So far, so good, right? Thing is...the module isn't built linear and learners have a lot of freedom in choosing what they want to do in what order. So chances are that people will read the same chapter multiple times. So is there a way to make sure that if a learner goes through part 1 two times, the Number value doesn't jump to 2 (giving a false tracking object!)?
I have aproached this several times, but I can't seem to find a good workable solution.
Thanks for your time!
Ps. Can't upload the story, as it contains corporate information. Alas...