Day Night System - By Interdpth & ZodiacDaGreat
View Single Post
July 29th, 2010 (1:38 PM).
Join Date: May 2008
Location: The Bay Area
Originally Posted by
Is there a way to set the clock in fire red? Or do you have to have ruby to do it.
do it but it wouldn't be easy. When the player sets the time on the clock in-game, an offset between the system time (what is read from the RTC) and the time entered by the player is calculated. Whenever the game needs to access the time again, it first reads the time from the RTC (which is the time on your computer) and then uses the offset to figure out what time it really is. If you created a clock script, you could compare the time that the player entered with the system time, calculate the difference, save it somewhere, and then, whenever the player accesses the time again, add the offset to the system time.
Pragmatically, though, it would be best to simply use the system time. Unless the player lies and enters some different time during the clock script, the two should be very similar.
View Public Profile
Send a private message to colcolstyles
Find all posts by colcolstyles
Find threads started by colcolstyles