Saving timer output in a variable
August 21, 2015 12:00 AM
Hello
I have a timer running on a page. I would like to capture the timer output once it is done counting. Is that possible? If so, how>
Thank you very much
Andrew
Discussion (2)
The way I get the value of a timer is to have a hidden timer that counts down 1 second and attach two Done Playing actions to it. One action adds one to a user-defined variable and the other restarts the timer. You can run it in sync with another timer that is displayed and counts normally.
You can see an example in this game. http://community.trivantis.com/shared-content/spot-game/
undefined
Thank you very much Wendy. I will take a closer look.
undefined
Discussions have been disabled for this post