Difference between revisions of "GetWeatherColor"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
Tag: Manual revert
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]



Latest revision as of 15:02, 21 December 2023

A command for Oblivion Script Extender

Syntax:

(color:short) GetWeatherColor rgb:short whichColor:short weather:ref whichTime:short

Returns the red, green or blue value of the specified weather color at the specified weather time.

RGB Values[edit | edit source]

 0:    Red
 1:    Green
 2:    Blue

Weather Colors[edit | edit source]

 0:    Sky Upper
 1:    Fog
 2:    Clouds Lower
 3:    Ambient
 4:    Sunlight
 5:    Sun
 6:    Stars
 7:    Sky Lower
 8:    Horizon
 9:    Clouds Upper
10:    Lightning

Weather Times[edit | edit source]

 0:    Sunrise
 1:    Day
 2:    Sunset
 3:    Night

See Also[edit | edit source]