GetWindDirection - Weather

From Creation Kit
Jump to: navigation, search

Requires: SKSE 1.06.00 or above.

Member of: Weather Script

Returns the wind direction of the weather object.


float Function GetWindDirection() native

Return Value

The Wind Direction in degrees as specified by the weather form field.


Weather property SkyrimCloudyMA Auto ;Filled by SkyrimCloudyMA weather form.
float windDirect = SkyrimCloudyMA.GetWindDirection()
Debug.Trace("The weather object SkyrimCloudyMA has a wind direction of " + windDirect)


  • The value returned will always be between 0.0 and 360.0.

See Also