SetClimateSunsetBegin

From the Oblivion ConstructionSet Wiki
(Redirected from SetSunsetBegin)
Jump to navigation Jump to search

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.

See Also[edit | edit source]