How Do I Make A Counter Count Down By Itself

Every 2 mins I want the counter to reset

a counter and a repeater trigger loop

3 Likes

uh just make the limit 120

1 Like

Make a trigger loop, where it has the same channel for both inputs.
Set the counter to have a target value of 120 and it should increase on that channel.
On target value reached, clear counter.

1 Like

what is a trigger loop?

This might explain it, sort of.

1 Like

a trigger that brodcasts the second trigger that brocasts the first trigger

2 Likes

I cant find anything called a trigger loop in devices
???

It’s not a device, it’s a concept. The trigger uses the same channel for both inputs.
It’s still the trigger device.

Yeah.

1 Like

do I use trigger when receiving on?

for both inputs of the triggers

It’s a trigger that triggers itself multiple times.
Like a repeater, but waaaaaay less memory
You make a trigger broadcast on its own channel when it’s triggered so it triggers itself again.

1 Like

OHHHHHH OK NOW I GET IT, thanks

1 Like

Lifecycle on game start → Start repeater
On repeater runs task → Decrease countdown
Countdown target reached → Run task
Change repeater stop strategy After period of time →After receiving on a channel so it will not stop.

1 Like

wait it is not working I made it where “When Triggered, Transmit On”
And when I start game the counter just wont go down

is the starting value supposed to be 120 or is the target value supposed to be 120?

The target should be 0. Make the trigger loop transmit a channel connected to the decrement value in the counter.

2 Likes

Remember there should be a one second delay for the trigger.

1 Like

do I do when target reached transmit on -

Yes. <Random stuff for 20 word limit>

1 Like

When it reaches the target make it transmit a channel to wherever you want it to activate or deactivate.

1 Like