steve40 Posted November 5, 2012 Share Posted November 5, 2012 (edited) @acidzebra: maybe set the timescale to an even bigger value (50000) and add a 1 second wait before fast travelling? Although I'd be worried about lag on a user's PC possibly causing unpredictable travel times. Edited November 5, 2012 by steve40 Link to comment Share on other sites More sharing options...
acidzebra Posted November 5, 2012 Author Share Posted November 5, 2012 @acidzebra: maybe set the timescale to an even bigger value (50000) and add a 1 second wait before fast travelling? Although I'd be worried about lag on a user's PC possibly causing unpredictable travel times. My thoughts exactly, I'll stick with the earlier slightly complex script I posted which works well, and damn the GameDaysPassed glovar. Link to comment Share on other sites More sharing options...
dylbill Posted January 31, 2020 Share Posted January 31, 2020 (edited) @acidzebra: maybe set the timescale to an even bigger value (50000) and add a 1 second wait before fast travelling? Although I'd be worried about lag on a user's PC possibly causing unpredictable travel times.My thoughts exactly, I'll stick with the earlier slightly complex script I posted which works well, and damn the GameDaysPassed glovar. @acidzebra: maybe set the timescale to an even bigger value (50000) and add a 1 second wait before fast travelling? Although I'd be worried about lag on a user's PC possibly causing unpredictable travel times. Hey, while I know this thread is really old, 8 years old, I didn't find anywhere else on how to advance game time with papyrus, so I thought I'd share my solution here in case someone else is interested. It was Steve40's comment that advancing the GameHour global variable would actually advance the GameDaysPassed global that got me to a working function: GlobalVariable Property GameHour Auto AdvanceTime(14, GameHour.GetValue()) ;advances time by 2 weeks, keeping the same hour of day at the end. Function AdvanceTime(Int Days, Float Hour) Int I = 0 While I < Days I += 1 GameHour.SetValue(24) ;advances time by 1 day Utility.Wait(0.2) If I >= Days GameHour.SetValue(Hour) ;sets time of day on the last iteration. Endif EndWhile EndFunctionThis will advance the GameDaysPassed GV, keeping the weekday correct. Edited January 31, 2020 by dylbill Link to comment Share on other sites More sharing options...
Recommended Posts