Bee
Member
I have a game with daily goals, which I would like to reset at 3am every day (PST or whatever). I've been fiddling around with the existing functions and just can't wrap my head around it.
So I get the current date when a new game is started or when a game is loaded. If the game is loaded, how do I check if the time has gone past 3am from the day before?
As an added bonus, I also need to figure out how to get the time remaining to 3am so I can display how much time is left to complete the goal.
I'm frustrated I can't figure this out. Can somebody please help me?
So I get the current date when a new game is started or when a game is loaded. If the game is loaded, how do I check if the time has gone past 3am from the day before?
As an added bonus, I also need to figure out how to get the time remaining to 3am so I can display how much time is left to complete the goal.
I'm frustrated I can't figure this out. Can somebody please help me?