Is it possible to stop time by script?

Post » Wed Aug 06, 2014 3:07 am

I'm making a location where I want to have always the same time of day. Is it possible to set the particular time in an interior cell by scripting?

Or I'll have to use a workaround, e.g. create a door which opens only at the desired time (a la door to the Cavern of Incarnate), and then execute command "Set timescale to 0" by script (and then reset timescale to the usual 10 once the player leaves the cell)?

User avatar
Mrs shelly Sugarplum
 
Posts: 3440
Joined: Thu Jun 15, 2006 2:16 am

Post » Wed Aug 06, 2014 2:20 pm

I would use something like
float oldTimeScaleset oldTimeScale to timescale
to store/restore original timescale, standard value is 30 but any user can have it customized
also, I would avoid setting timescale to 0, it could crash mods dividing by timescale,
better something like
set timescale to 0.001

you can change game time with e.g. 14:30
set gamehour to 14.5
User avatar
Amie Mccubbing
 
Posts: 3497
Joined: Thu Aug 31, 2006 11:33 pm


Return to III - Morrowind