Timer help counter

how do i make it so that when game starts it starts incrementing counter by 1 every second so that a barrier can deactivate after 30 seconds the game starts

First you need a lifecycle
it will broadcast on “gamestart”
then you need a trigger
set the trigger to broadcast on “gamestart” when it receives on “gamestart”
add a 1 second delay to the trigger, and set the max amount of trigger attempts to 29.
the counter should increment on “gamestart”
set a goal for the counter as 30.
when it reaches goal, broadcasts on “barrier”
“barrier” turns off the barrier

Edit: sorry for text wall, ping or reply if you need more help or explanation

2 Likes

Ok so mini guide time!
Lifecycle that transmits on channel abc on game start
trigger that has a delay of one, triggers when receiving on abc and def
make the trigger transmit on channel def when triggered
counter that has a target value of 30 and increments when receiving on def
barrier that deactivates on counter reaches target
oop @Suspnded_Arr0w_Shaft beat me to it

1 Like

thanks ill try it and mark solution which one works

1 Like

it didn’t work?



1 Like

the counter should increment on “start game” and the trigger should broadcast on “start game”

1 Like

or you could make it so that the trigger receives on start game and triggered

1 Like

got it thanks!!!

1 Like

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