Adjust a variable by Minutes and seconds

Nov 04, 2020

Hi All,  

This is possibly something easy but i cant seem to do it

I would like a variable to add a 1:00 to a dummy digital clock (just with text), this is for a time management course, so dependant on their answer it may add 1min  3 min 5 min etc, to the clock,  im struggling to display it in minutes?

Any ideas

Thanks

Glen

 

 

1 Reply
Math Notermans

A bit ago helped with something similar here...
https://community.articulate.com/discussions/articulate-storyline/beginner-desperate-for-help

Proper calculation is the key. If you check the triggers on all code inthere you notice counting up to 60...then adding 1 to minutes and start counting seconds from 0 again..
The hh:mm:ss trick is the easiest one with triggers only.

Due to Storyline's rounding of Numeric Entries you will find a combo of Text and Numbers inthere...

If myNumber < 9 make me "0" + myNumber...
else not ;-)

This discussion is closed. You can start a new discussion or contact Articulate Support.