I need to show a timer countdown, so figured I would just display the time value of an activated timer. Unfortunately that is not an option from what I can tell. I've tried everything.... How can I display the timer on-screen or set a variable to the value of the timer, where I could then set a Text object set to that variable??
Thanks
How to display the current time of an activated Timer?
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
In the attached project there are two variables, "count" and "cound_down".
Ther timer, Timer 1 counts the "count" variable up every second. The timer is set to toggle the timer every 0.5 seconds.
So 0.5 seconds at Activate, then 0.5 seconds at Deactivate. So to Deactivate to Deactivate is 1 second.
The textbox buttons set the value to the timers "timeout".
So setting it to 0 will stop it and set it to 0.5 will start it.
The variable count_down just works backwards.
Both timers will stop at either 60 for the count variable and 0 for the count_down variable.
This is done by adding a set value action to set the timers to 0 to stop them, but an action filter stops the action until it reaches the desired value.
Regards,
Hopki
In the attached project there are two variables, "count" and "cound_down".
Ther timer, Timer 1 counts the "count" variable up every second. The timer is set to toggle the timer every 0.5 seconds.
So 0.5 seconds at Activate, then 0.5 seconds at Deactivate. So to Deactivate to Deactivate is 1 second.
The textbox buttons set the value to the timers "timeout".
So setting it to 0 will stop it and set it to 0.5 will start it.
The variable count_down just works backwards.
Both timers will stop at either 60 for the count variable and 0 for the count_down variable.
This is done by adding a set value action to set the timers to 0 to stop them, but an action filter stops the action until it reaches the desired value.
Regards,
Hopki
- Attachments
-
- timer.zip
- (12.44 KiB) Downloaded 159 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/