GetLightTraitNumeric

From the Fallout3 GECK Wiki
Revision as of 04:30, 28 March 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns the value of a Light's numeric trait (determined by <i>traitID</i>). |name = GetLightTraitNumeric |returnType = traitValue:floa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Returns the value of a Light's numeric trait (determined by traitID).

Syntax

[help]
(traitValue:float) GetLightTraitNumeric light:ref traitID:int{0-6}

Light Numeric Trait IDs

0	Radius
1	Red
2	Green
3	Blue
4	Falloff Exponent
5	FOV
6	Fade

Example

GetLightTraitNumeric BasementLightFillWarm 0

Will return the Radius of BasementLightFillWarm.

See Also