Difference between revisions of "SetClimateSunriseBegin"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WrinklyNinja
(Added note about limits to input parameter)
imported>WrinklyNinja
m (corrected limit value)
Line 8: Line 8:
==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 95. This means that you cannot use this function to set a sunrise beginning time earlier than 00:00 or later than 15:59 (which is equivalent to 15:50 when you convert it to a short).
*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==

Revision as of 15:24, 2 September 2010

A command for Oblivion Script Extender

Syntax:

(nothing) SetClimateSunriseBegin time:short climate:ref

Sets the time sunrise begins as a number of 10 minute units since midnight.

Notes

  • 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