Difference between revisions of "SetClimateSunriseBegin"
Jump to navigation
Jump to search
imported>DragoonWraith |
imported>DragoonWraith |
||
Line 4: | Line 4: | ||
(nothing) SetClimateSunriseBegin time:short climate:ref | (nothing) SetClimateSunriseBegin time:short climate:ref | ||
Sets the time sunrise begins as a number of ten-minute units since midnight. There are 1,440 minutes in a day, thus there are 144 ten-minute units, thus you'll | Sets the time sunrise begins as a number of ten-minute units since midnight. There are 1,440 minutes in a day, thus there are 144 ten-minute units, thus you'll use a value of 0 for midnight, and 143 for 23:50 (but see note, below). | ||
==Notes== | ==Notes== |
Latest revision as of 08:29, 31 January 2011
A command for Oblivion Script Extender
Syntax:
(nothing) SetClimateSunriseBegin time:short climate:ref
Sets the time sunrise begins as a number of ten-minute units since midnight. There are 1,440 minutes in a day, thus there are 144 ten-minute units, thus you'll use a value of 0 for midnight, and 143 for 23:50 (but see note, below).
Notes[edit | edit source]
- Use RefreshCurrentClimate after using this function.
- The function will have no effect if the time parameter is less than 0 or greater than 59. This means that you cannot use this function to set a sunrise beginning time earlier than 00:00 or later than 09:59 (which is equivalent to 09:50 when you convert it to a short).