SetClimateSunriseBegin

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

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).

See Also[edit | edit source]