Salk Posted April 14, 2023 Posted April 14, 2023 (edited) Hello! The EE games have the AdvanceTime() function but I figure DayNight() can be properly used to advance time too although I fear that it might only truly work when it comes to advancing days, rather than hours. In fact, if I use DayNight(NOON) and the game time is ex. 4 PM, I guess time will be rewound 4 hours. Correct? If that is so, then there is no way to advance time via script for the classic game? Thanks! Edited April 14, 2023 by Salk Quote
argent77 Posted April 14, 2023 Posted April 14, 2023 Yes, it is possible to advance game time in a controlled manner via Time()/DayNight(), but it is somewhat convoluted because you have to cover every hour of a day (maybe less if you reduce accuracy). I've done something similar in one of the scripts for the Djinni Companion: https://github.com/Argent77/DjinniCompanion/blob/master/DjinniCompanion/scripts/a7q3tath.baf#L107-L322 Quote
jmerry Posted April 14, 2023 Posted April 14, 2023 DayNight() will never rewind time. If you go from 4 PM to noon, that's noon the next day. Rewinding time would play very badly with short-duration effects. Quote
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.