GetLightingTemplateTraitNumeric
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Description
Returns the value of a lighting template trait (determined by traitID).
Syntax
(traitValue:float) GetLightingTemplateTraitNumeric lightTemplate:form traitID:int{1-16}
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
GetLightingTemplateTraitNumeric UtilityDefaultTemplate 10
Will return Fog near value of UtilityDefaultTemplate.