SetLightingTemplateTraitNumeric
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Description
Sets the value of a lighting template trait (determined by traitID).
Syntax
SetLightingTemplateTraitNumeric lightTemplate:form traitID:int{1-16} newValue:float
Lighting Template Numeric Trait IDs
1 Ambient color R 2 Ambient color G 3 Ambient color B 4 Directional color R 5 Directional color G 6 Directional color B 7 Fog color R 8 Fog color G 9 Fog color B 10 Fog near 11 Fog far 12 Directional XY 13 Directional Z 14 Directional fade 15 Fog clip distance 16 Fog power
Example
SetLightingTemplateTraitNumeric UtilityDefaultTemplate 10 50
Will set Fog near value of UtilityDefaultTemplate to 50.