The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: cjk on May 07, 2007, 01:16:37 AM

Title: [RESOLVED] HELP!!!
Post by: cjk on May 07, 2007, 01:16:37 AM
I need to know how to make an event that tells you the REAL time. Any way to do this?
Title: Re: HELP!!!
Post by: Irock on May 07, 2007, 01:19:08 AM
This has been requested before.

It's impossible.

EDIT: Next time, please make a descriptive title, and post in the correct board.
Title: Re: HELP!!!
Post by: cjk on May 07, 2007, 01:21:06 AM
Sorry
Title: Re: [RESOLVED]HELP!!!
Post by: Lackluster on May 07, 2007, 01:22:26 AM
Don't apologize to Irock look at his rep. He's hated.
Title: Re: [RESOLVED]HELP!!!
Post by: Irock on May 07, 2007, 01:28:15 AM
Lackluster, rep doesn't mean anything.

That also doesn't contribute to his question at all.
Title: Re: [RESOLVED] HELP!!!
Post by: Zeriab on May 08, 2007, 11:27:47 PM
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 ^_^