GetWindDirection - Weather

From the CreationKit Wiki
Jump to navigation Jump to search

Requires: SKSE 1.06.00 or above.

Member of: Weather Script


Returns the wind direction of the weather object.

Syntax

float Function GetWindDirection() native

Return Value

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

Examples

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)


Notes

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


See Also