GetInteriorLightingTraitNumeric

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns the value of interior's numeric lighting trait (determined by traitID).

Syntax

[help]
(traitValue:float) GetInteriorLightingTraitNumeric interiorCell:ref traitID:int{0-15}

Interior Lighting Numeric Trait IDs

0	Ambient color R
1	Ambient color G
2	Ambient color B
3	Directional color R
4	Directional color G
5	Directional color B
6	Directional rotation XY
7	Directional rotation Z
8	Directional fade
9	Fog color R
10	Fog color G
11	Fog color B
12	Fog near
13	Fog far
14	Fog power
15	Fog clip distance

Example

GetInteriorLightingTraitNumeric PrimmNashResidence 0

Will return Red value of ambient interior lighting of PrimmNashResidence.

See Also