GetClimateTraitNumeric

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

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

Syntax

[help]
(traitValue:int) GetClimateTraitNumeric climate:ref traitID:int{0-6}

Climate Numeric Trait IDs

0	Sunrise Begin (minutes)
1	Sunrise End (minutes)
2	Sunset Begin (minutes)
3	Sunset End (minutes)
4	Volatility
5	Moons (0 - None, 1 - Masser, 2 - Secunda, 3 - Both)
6	Phase Length (days)

Example

GetClimateTraitNumeric WastelandClimate 2

Will return the Sunset Begin time of WastelandClimate.

See Also