Difference between revisions of "SetClimateSunsetBegin"
Jump to navigation
Jump to search
imported>Haama (Created) |
imported>DragoonWraith |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
(nothing) SetClimateSunsetBegin time:short climate:ref | (nothing) SetClimateSunsetBegin time:short climate:ref | ||
Sets the time sunset begins as a number of | Sets the time sunset 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== | ||
*Use [[RefreshCurrentClimate]] after using this function. | *Use [[RefreshCurrentClimate]] after using this function. | ||
*The time parameter must have a value that is at least 1 greater than the value returned by GetClimateSunriseEnd (so at least 10 minutes later than the corresponding time), and be no greater than 119 (or 19:59), for the function to have an effect. | |||
==See Also== | ==See Also== | ||
*[[Climates]] | |||
*[[GetCurrentClimateID]] | *[[GetCurrentClimateID]] | ||
*[[RefreshCurrentClimate]] | *[[RefreshCurrentClimate]] |
Latest revision as of 08:29, 31 January 2011
A command for Oblivion Script Extender
Syntax:
(nothing) SetClimateSunsetBegin time:short climate:ref
Sets the time sunset 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 time parameter must have a value that is at least 1 greater than the value returned by GetClimateSunriseEnd (so at least 10 minutes later than the corresponding time), and be no greater than 119 (or 19:59), for the function to have an effect.