#game time
42 messages · Page 1 of 1 (latest)
Create a Float Variable, rename this to Game Timer, configure it to be synced
When the game started, set Game Timer to 900 (900 seconds = 15 minutes)
At 30hz, if the game is started, ask if the local player is the room authority
If the local player is the room authority, have them set Game Timer to Game Timer - 30hz_Delta_Time. This will decrease the variable by 1 every second (smoothly, so in half a second, it decreases by 0.5)
After setting Game Timer to Game Timer - 30hz_Delta_Time, check if Game Timer is less or equal to 0
If Game Timer is less or equal to 0, end the game
If Game Timer is not less or equal to 0, dont end the game
The blue thing to 900??
Its in seconds, not minutes
900 seconds = 15 minutes
I already said that
I got confused after the synced part
Do. I set the floor value 900
Float*
Can u exsplane step bye step
i litterally did
Sorry
"Game Timer" refers to the float variable, I told you I named it "Game Timer"
so anywhere you see "Game Timer" in my explanation, it means the float variable
That's as far as I got
I'm sorry for being a idiot
I'm stuck at the 30hz part
I give up I'm just annoying u trying to figure this out
"30hz" = an Event Reciver chip, configured to receive the event Update 30hz, which outputs roughly 30 times a second
30hz_Delta_Time = The "Delta Time" float output on the 30hz receiver
And how do the room. AUTHORITY thong
If Local Player is Room Authority
thats defined using your own logic
however your game works
How do I connect the hz and Delta time
Can u just make this a invention I'm too idiotic to figure😠it out or join me and do it
If u can do it for me my user name is Jordanweir33
?
??!!?!!!!!???????
Couldn't you just do an "Int Clock" since it's a whole number? I mean, it would take no idle CPU nor Net.
What's the thing not wired to anything
It’s an event definition you may not need that if your game logic works differently I just decided to put one there assuming your using events
I'm using alot
Is this for the same thing I helped you with the other day? Or something else
Yea
This method eliminates weird CV2 tick stuff
Just makes it so 1 = 1 second and not a bunch of CV2 ticks
"Int Clock" would need no tick or update stuff? nvm read your thing wrong
@mild yacht so this will make it 15 mins