How do you make a text Overlay subtract every 5 seconds?

I tried this on my own and it doesn’t work (well, my method didn’t)

2 Likes

You have a loop that lowers a counter connected to a property every five seconds. In the property device, have it transmit on a channel that makes the overlay block code run.

2 Likes

Wait, why do we need a counter?

1 Like

For the timer.
Basic idea is having a trigger that triggers itself (broadcasts and triggers on the same channe), having that trigger increment a Counter-Linked property, creating a channel in the “when property value changes, transmit on” setting and using that channel for the blockcode. (if you want to make the overlay update)

(Make the counter and property value 100 and the trigger blockcode to subtract from that property)

2 Likes

How do I make it go back up?

1 Like

You increment the same counter.

3 Likes

Wait, I realized I literally made a guide on this…

1 Like

Why did I get mentioned on this?

1 Like

idk.

1 Like

Nvm…I found out. Was this solved?

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.