Difference between revisions of "SetClimateSunriseBegin"
Jump to navigation
Jump to search
imported>WrinklyNinja m (corrected limit value) |
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 | 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 receive a value of 0 for midnight, and 143 for 23:50. | ||
==Notes== | ==Notes== |
Revision as of 08:27, 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 receive a value of 0 for midnight, and 143 for 23:50.
Notes
- 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).