GetWeatherTraitNumeric
From GECK
A function added by the JIP NVSE Plugin.
Description
Returns the value of a weather's numeric trait (determined by traitID).
Syntax
(traitValue:float) GetWeatherTraitNumeric weather:ref traitID:int{0-20}
Weather Numeric Trait IDs
0 Layer 0 Cloud Speed 1 Layer 1 Cloud Speed 2 Layer 2 Cloud Speed 3 Layer 3 Cloud Speed 4 Wind Speed 5 Trans Delta 6 Sun Glare 7 Sun Damage 8 Precipitation Begin Fade In 9 Precipitation End Fade Out 10 Lightning Begin Fade In 11 Lightning End Fade Out 12 Lightning Frequency 13 Weather Classification 14 Lightning Color (RRRGGGBBB) 15 Fog Distance Day Near 16 Fog Distance Day Far 17 Fog Distance Night Near 18 Fog Distance Night Far 19 Fog Distance Day Power 20 Fog Distance Night Power
Weather Classifications:
0 None 1 Pleasant 2 Cloudy 4 Rainy 8 Snow
Example
GetWeatherTraitNumeric NVHooverDamWeather 4
Will return the Wind Speed of NVHooverDamWeather.