Increase a variable at certain periods of the day

Post » Thu Jan 24, 2013 5:01 pm

Hi, I'm having a hard time trying to understand game time and how to manipulate it. I want to increase a variable at specific times, 4am, 6am, 6pm and 8pm. The problem is I can't seem to wrap my head around timer logic. I think "OnUpdateGameTime" event seems to work in favour of a solution but as I look closely at topics with examples of this event I find myself dumbfounded as to how I would make it fire at the specific times. If I use "RegisterForSingleUpdateGameTime", I can only put the timer in intervals, right? So does that mean when the update gets called I'll have to check the time and modify the register?? So confused.


Or is there an easier way?
User avatar
Krystina Proietti
 
Posts: 3388
Joined: Sat Dec 23, 2006 9:02 pm

Return to V - Skyrim