So, I am using RPG Maker VX Ace, and I would like to know if there is a way to make a character (NPC) say the time on your PC. For example: "Hey, Nova, what time is it?" and Nova would reply with "Oh, it's 8:58." If that's your system time, etc.
Read PC Time?
RPG Maker VXAce SupportIn Ruby, getting the time is as easy as calling
Time.now
but to get just the hour and minutes you'll have to do a little more work. I suggest you look into the Time class.
Time.now
but to get just the hour and minutes you'll have to do a little more work. I suggest you look into the Time class.
There is a script for that, http://www.rpgmakercentral.com/topic/3238-basic-real-time-system-time/
Do you have a working link for this?
time = Time.now
time.hour
time.min
That's it.
time.hour
time.min
That's it.
Original thread: https://forums.rpgmakerweb.com/threads/read-pc-time.72850/