GetSunGlare - Weather

From Creation Kit
Jump to: navigation, search

Source: SKSE 1.06.00

Member of: Weather Script

Returns the sun glare percentage of the weather object.


float Function GetSunGlare() native

Return Value

The Sun glare percentage as specified by the weather form field.


  • The value returned will always be between 0.0 and 1.0, with 0.0 being no Sun glare and 1.0 being maximum Sun glare.


Weather property SkyrimCO Auto ;Filled by SkyrimCO weather form.
float sunGlare = SkyrimCO.GetSunGlare()
Debug.Trace("The sun glare of SkyrimCO is " + (sunGlare * 100) + "%.")

See Also