02-22-2011, 04:15 AM
Dear Habs11:
HOW THE HELL ARE YA, PAL!!! IT'S BEEN A WHILE!!!
There isn't a feature to say 'Change time to 12:pm, but it does have a system that says 'advance time by 1 hour'
One could create an algorythm with some of the below statements:
... to set up such a system. If it's 8:15am and you want it to be 10pm... Determine both clock minutes and clock hours... determine 'X' hours between (14 hours) and subtract suitable minutes (60 - 15minutes = 45)... 13 hours, 45 minutes. Then use .adjust minutes and .adjust hours accordingly.
If it's an event script (an inn for example)... well, I just showed you pseudocode to do it.
HOW THE HELL ARE YA, PAL!!! IT'S BEEN A WHILE!!!
There isn't a feature to say 'Change time to 12:pm, but it does have a system that says 'advance time by 1 hour'
Code:
# * $game_time.adjust_seconds(number) Increases or decreases the seconds
# * $game_time.adjust_minutes(number) Increases or decreases the minutes
# * $game_time.adjust_hours(number) Increases or decreases the hours
# * $game_time.adjust_days(number) Increases or decreases the days
# * $game_time.adjust_years(number) Increases or decreases the years
One could create an algorythm with some of the below statements:
Code:
# * $game_time.clock_seconds Returns the current seconds(ex 1-60)
# * $game_time.clock_minutes Returns the current minutes(ex 1-60)
# * $game_time.clock_hours Returns the current hours(ex 1-24)
If it's an event script (an inn for example)... well, I just showed you pseudocode to do it.