Difference between revisions of "SetClimateSunsetEnd"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(→‎See Also: Added Climates link)
imported>WrinklyNinja
(Added note about limits to input parameter)
Line 8: Line 8:
==Notes==
==Notes==
*Use [[RefreshCurrentClimate]] after using this function.
*Use [[RefreshCurrentClimate]] after using this function.
*The time parameter must have a value that is at least 1 greater than the value returned by GetClimateSunsetBegin (so at least 10 minutes later than the corresponding time) for the function to have an effect.
*The upper limit to the time parameter is 255, which equates to the latest time the sunset can end as being 18:39 the next day. While the sunrise end and sunset beginning cannot overlap, the sunset end and sunrise beginning can, though the in-game consequences of an overlap or a time value of over 143 (23:59) have not been tested.


==See Also==
==See Also==

Revision as of 15:30, 2 September 2010

A command for Oblivion Script Extender

Syntax:

(nothing) SetClimateSunsetEnd time:short climate:ref

Sets the time sunset ends as a number of 10 minute units since midnight.

Notes

  • Use RefreshCurrentClimate after using this function.
  • The time parameter must have a value that is at least 1 greater than the value returned by GetClimateSunsetBegin (so at least 10 minutes later than the corresponding time) for the function to have an effect.
  • The upper limit to the time parameter is 255, which equates to the latest time the sunset can end as being 18:39 the next day. While the sunrise end and sunset beginning cannot overlap, the sunset end and sunrise beginning can, though the in-game consequences of an overlap or a time value of over 143 (23:59) have not been tested.

See Also