#Need Help in Making an In-Game Time System

1 messages · Page 1 of 1 (latest)

manic laurel
#

I don't know where to start with the circuits, btw i'm using rec room studio's screen space UI.

golden geode
#

Use event receiver update 30hz -> delay after delay(make sure it’s 60) -> delay cancel -> Int variable -> add 1

#

And then for the display

#

int variable -> To string -> Sting format name format (playtime: {0}) bring a player show subtitle connect the string format to the string inside the subtitle and the int variable the first one to the execution to the subtitle

#

@manic laurel if u need further advanced one @ me I can join and do it for you if u want

wispy tinsel
#

Nope that’s not the best way for many reasons

It’s
cpu expensive
unnecessary
and not really accurate

The best way imo is making a float variable and adding the delta time to it constantly at 30hz

Then you’ll have the amount of seconds the player has spent in the map and you can format it as you want

@golden geode @manic laurel

wispy tinsel
#

Yes you add the delta time to your float variable

golden geode
#

And if u want to format it into hours u use divide into 60?

#

And minutes modules it to 30?

wispy tinsel
#

that would be minutes not hours

golden geode
wispy tinsel
#

it’s seconds so
Divide by 60 to get minutes
Divide by 3600 to get hours
Divide by 86400 to get days

golden geode
#

Am getting confused

manic laurel
#

uh

golden geode
wispy tinsel
golden geode
#

So why we need to divide it into 60 if it’s already giving seconds

wispy tinsel
golden geode
#

Yea, I understand now

#

Thanks, new method I have learned

wispy tinsel
manic laurel
#

alr so how would i do this?

wispy tinsel
#

That’s so cute bucket man lmao

regal horizon
golden geode
#

@manic laurel I would prefer @wispy tinsel method since it’s accurate and less cpu and less chips

manic laurel
#

k

golden geode
#

And if u need help installing it I can do it for u if rayan can’t

wispy tinsel
golden geode
#

There

manic laurel
#

thats

#

wow

golden geode
#

And if we use the to string into the float?

manic laurel
#

thats all?

golden geode
#

It’s simply counting the seconds

wispy tinsel
# manic laurel thats all?

That’s going to be the amount of seconds for each player

You can format them to minutes hours days whatever you want

You’ll probably find plenty of ways to format them in the internet or in a help thread

#

If you want the amount of seconds to be saved even if they leave and rejoin

Configure the float variable and set it to cloud