SetWeatherTraitNumeric
Revision as of 12:40, 30 March 2015 by imported>Jazzisparis
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets the value of a weather's numeric trait (determined by traitID).
Syntax
(traitValue:float) SetWeatherTraitNumeric weather:ref traitID:int{0-20} newValue:float
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
SetWeatherTraitNumeric NVHooverDamWeather 4 0.75
Will set the Wind Speed of NVHooverDamWeather to 0.75.