RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] HELP!!!

Started by cjk, May 07, 2007, 01:16:37 AM

0 Members and 1 Guest are viewing this topic.

cjk

I need to know how to make an event that tells you the REAL time. Any way to do this?

Irock

This has been requested before.

It's impossible.

EDIT: Next time, please make a descriptive title, and post in the correct board.

cjk


Lackluster

Don't apologize to Irock look at his rep. He's hated.
.
.

Irock

Lackluster, rep doesn't mean anything.

That also doesn't contribute to his question at all.

Zeriab

Try putting this in a Call Script command.
p Time.now

That is probably not what you want and I suggest that you do it with scripts anyway.

If you just want to display it in the menu you can open the script editor, select Window_PlayTime and find these 4 lines: (make a backup of your game)
    @total_sec = Graphics.frame_count / Graphics.frame_rate
    hour = @total_sec / 60 / 60
    min = @total_sec / 60 % 60
    sec = @total_sec % 60


Replace them with these 4 lines:
    time = Time.now
    hour = time.hour
    min = time.min
    sec = time.sec



If you want more than this I suggest you post in the script request section ^_^