Difference between revisions of "SetClimateSunriseEnd"
Jump to navigation
Jump to search
imported>WrinklyNinja (Added note about limits to input parameter) |
imported>DragoonWraith |
||
Line 4: | Line 4: | ||
(nothing) SetClimateSunriseEnd time:short climate:ref | (nothing) SetClimateSunriseEnd time:short climate:ref | ||
Sets the time sunrise ends as a number of | Sets the time sunrise ends 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:28, 31 January 2011
A command for Oblivion Script Extender
Syntax:
(nothing) SetClimateSunriseEnd time:short climate:ref
Sets the time sunrise ends 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 time parameter must have a value that is at least 1 greater than the value returned by GetClimateSunriseBegin (so at least 10 minutes later than the corresponding time), and be no greater than 95 (or 15:59), for the function to have an effect.