Progress bar for the whole chapter - help needed.

Could anybody help me? I’ve got a following problem: I want to give to the user time to learn in particular chapter, and show him how does the time of training flows.


How can I make a Progress Bar which shows the flow of time, but for a whole chapter?

I’ve put Progress Bar for chapter and start it with following action:


On: Show

Action: Show


But after switching to the next page ( in this chapter) the Progress Bar starts to measure time form the beginning.


Also I want to show time flow measured from particular time to zero in MM:SS format.


I’ve used following solution:


Separately counting minutes:

Action

On: Timer

Timer: Interval: 60sec

Action: Modify Variable

Target: Var_1

Value: 1

Modification Type: Substract from Variable


Showed in minutes area.


After the time goes to one minute , it starts to measure seconds (showed in second area)

Simillar as above, but:


Timer Interval: 1sec

Target: Var_2


Unfortunately in this solution one minute can last forever, because after switching to the next page the interval starts to measure time from the beginning. The same happens when seconds are shown – one second can be showed by the period of several seconds, because of the loading of a new page.

Is there any possibility of measuring time from particular time to zero for one chapter?

Discussions have been disabled for this post