Difference between revisions of "SetClimateSunsetBegin"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WrinklyNinja
m (corrected formatting)
imported>DragoonWraith
 
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 10 minute units since midnight.
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==

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.

See Also[edit | edit source]