SetLightTraitNumeric
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets the value of a Light's numeric trait (determined by traitID).
Syntax
(traitValue:float) SetLightTraitNumeric light:ref traitID:int{0-6} newValue:float
Light Numeric Trait IDs
0 Radius 1 Red 2 Green 3 Blue 4 Falloff Exponent 5 FOV 6 Fade
Example
SetLightTraitNumeric BasementLightFillWarm 0 500
Will set the Radius of BasementLightFillWarm to 500.