Basic Game Time + Night/Day

Oh quite simple, they are there! When making a conditional branch go to the script option and you would use some functions there.

Examples! Yes! Say you want something to only occur at 4am, then in the script option you'd put: GameTime::hour? == 4

However if you want a range like that shop, little more complicated but still doable! You'd put: GameTime::hour? >= 9 and GameTime::hour? < 17

That puts it at only doing what's within the conditional branch if the time is between 9am and 5pm! (It uses a 24 hour clock, gotta remember)

Second Edit: Yes there was a way to change the clock time by a specified amount! But a bit of a runaround and complicated so instead I just

added a function for that, grab the new version. The function is GameTime::change(time)
I really appreciate you answering all these questions. It has helped me out greatly by simply observing. That being said, I must be a bit daft when it come to the command script because it gives me an error when I apply the Gametime script to door events (regarding shops opening and closing at certain times). I was wondering if at all that you could get a screenshot of how the script is supposed to be entered in the event when making it accessible only from 9 to 5.

Any help is greatly appreciated. Keep up the great work!!
Hi, I love this script!   

One question - I want to have the toggle clock be "tab" instead of "shift"...it says something about see input help for this, but I don't see any input help section of the script?  and of course I tried changing the :SHIFT to :TAB, but pressing tab in game doesn't do anything.
I keep getting "uninitialized constant GameTime:Window_Base' 

sorry if this seems really dumb, I've just never tried to use a script before
Epic i will have to use this! Great Work!

Survive ME
@Lapiz - are you trying to use a saved file or a new game? a lot of scripts, especially older ones doesn't work on files that were saved before the script was added
hi im new in scripts so can you tell me how to edit the old version of the time.

example i want to pause the tint and the time in my intro because its bugging the picture.
Ok, so I just installed your script, I love it, but I can't figure out how to make it real time (if it's possible) if it is possible could someone point out which option to change to make it real time, thanks.
Ok, so I just installed your script, I love it, but I can't figure out how to make it real time (if it's possible) if it is possible could someone point out which option to change to make it real time, thanks.
This version has an option for that.
Crap... Something Exploded....
I couldnt bear to read all through this whole topic. So, I wanted to ask: How do I add this script? Where do I add it in the script manager?
This topic wouldn't have told you.

I suggest you read this - it tells you how to use scripts
So, maybe I missed it.

What's the simplest, easiest way to quickly change the time to a current...er...time.
Hello how i can edit the scrip 

My game starts in the midghtnight =/ i want start in the morning ,, 

Another thing how i can disable the scrips in some Maps ? 

EDITED : Sorry for that.
Hello i have a question : 

I want to create a shop event that only works at night time , How i can do this ?
I really like your script and i find it very useful!

Can you please add day counter that can store day variable?

So whenever 24 hour passes day variable should go +1
Hello i have a question : 

I want to create a shop event that only works at night time , How i can do this ?
First configure script like this:

#Store current time in a variable?USE_VARIABLE = trueTIME_VARIABLE = 1Set "TIME_VARIABLE" to variable that you want to use to store current time.

Now in event just make Conditional Branch, and set that store is open if current time is less than 360 (6 am)
Hello, I like your script very much. Thank you for it. I'm interested how to make starting time 12:00 instead of 00:00. I was unable to find it.

Thanks for the time to read.
is there a way i can set an instant time change someting like set time to (the time i set it to)
Why does the time window, disappears when I press shift, to dash?
Why does the time window, disappears when I press shift, to dash?
Read the script, that's the button that is assigned to hide the clock. Change that if you don't want that feature.

Original thread: https://forums.rpgmakerweb.com/threads/basic-game-time-night-day.1079/