aburns89
(aburns89)
August 25, 2021, 3:57pm
1
Hi, all!
I’m trying to create a system whereby I can count up to a certain number in seconds and when that number is reached it reverts back to 0 and starts again. I feel like this should be simple enough, but I’ve searched and attempted myself with Timers but no luck.
Any help is appreciated, thanks.
Everynone
(Everynone)
August 25, 2021, 4:06pm
2
What you’ve described is just this:
It will fire an event every 10s. What’s the catch? What are we missing? Do you need to show the seconds counting 1 by 1 somewhere? Or display time?
aburns89
(aburns89)
August 25, 2021, 4:15pm
3
How do I get it to revert back to 0 and start again when it reaches a certain number? Thanks
Everynone
(Everynone)
August 25, 2021, 4:17pm
4
Revert what to 0? The timer is Looping. It will go back to 0 automagically after the time is up. You can observe what the timer does like so:
Another way to count something, punch the value into the Compare node:
aburns89
(aburns89)
August 25, 2021, 4:29pm
5
Thank you, the way I was using the Timer was causing it to count up indefinitely
1 Like