Author Topic: Day/Night stuck at midnight.  (Read 581 times)

Legacy_Groove Widdit

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: +0/-0
Day/Night stuck at midnight.
« on: August 10, 2012, 10:26:11 pm »


               The day/night cycles in my mod normally until midnight, then stops in  full dark. It's a rurual outdoors toolset. Any help with this would be quite massively appreciated. Thanx!
               
               

               
            

Legacy_Groove Widdit

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: +0/-0
Day/Night stuck at midnight.
« Reply #1 on: August 10, 2012, 11:13:14 pm »


               Sorry! I didn't notice the other thread on this topic before I started this one. I used the module heartbeat script to fix my mod. Just for anyone's reference, here it is:
int iHour = GetTimeHour ();
int iMinute = GetTimeMinute ();
int iSecond = GetTimeSecond ();
int iMillisecond = GetTimeMillisecond();

SetTime(iHour, iMinute, iSecond, iMillisecond);