Kohdi Posted February 16, 2013 Share Posted February 16, 2013 Hello all, I'm working on a script which uses the Wait utility to pause the script effects for a half hour. I'm wondering, however, if the time being counted is kept track of when, for example, a game is saved and then quit. Will the script resume where it was stopped, or should I factor in a new section for such an event? I ask because my script occasionally bugs and over-compensates for what I'm telling it to do, and I think it may be related to this kind of situation. Thanks for any replies. Link to comment Share on other sites More sharing options...
scrivener07 Posted February 17, 2013 Share Posted February 17, 2013 Use these http://www.creationkit.com/RegisterForSingleUpdateGameTime_-_Form http://www.creationkit.com/OnUpdateGameTime_-_Form 1.0 = 1 hour GAME time so use this for 30min Event OnInit() RegisterForSingleUpdateGameTime(0.5) EndEvent Event OnUpdateGameTime() ;do stuff EndEvent wait() uses real time so it will be very unpredictable. Link to comment Share on other sites More sharing options...
Recommended Posts