SetClimateSunriseEnd

From the Oblivion ConstructionSet Wiki
Revision as of 08:28, 31 January 2011 by imported>DragoonWraith
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(nothing) SetClimateSunriseEnd time:short climate:ref

Sets the time sunrise ends 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

  • Use RefreshCurrentClimate after using this function.
  • The time parameter must have a value that is at least 1 greater than the value returned by GetClimateSunriseBegin (so at least 10 minutes later than the corresponding time), and be no greater than 95 (or 15:59), for the function to have an effect.

See Also