Difference between revisions of "SetClimateSunriseBegin"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
imported>DragoonWraith
 
(4 intermediate revisions by 3 users not shown)
Line 4: Line 4:
  (nothing) SetClimateSunriseBegin time:short climate:ref
  (nothing) SetClimateSunriseBegin time:short climate:ref


Sets the time sunrise begins as a number of 10 minute units since midnight.
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==
==Notes==
*Use [[RefreshCurrentClimate]] after using this function.
*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==
==See Also==
*[[Climates]]
*[[GetCurrentClimateID]]
*[[GetCurrentClimateID]]
*[[RefreshCurrentClimate]]
*[[RefreshCurrentClimate]]

Latest revision as of 08:29, 31 January 2011

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]