Difference between revisions of "SetClimateTraitNumeric"
Jump to navigation
Jump to search
imported>Jazzisparis |
imported>Jazzisparis |
||
Line 30: | Line 30: | ||
*[[GetClimateTraitNumeric]] | *[[GetClimateTraitNumeric]] | ||
[[Category:Functions_(JIP)]] | [[Category:Functions_(JIP)]] | ||
[[Category:Climate Functions (JIP)]] |
Latest revision as of 15:05, 30 March 2015
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets the value of a climate's numeric trait (determined by traitID).
Syntax
(traitValue:int) SetClimateTraitNumeric climate:ref traitID:int{0-6} newValue:int
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
SetClimateTraitNumeric WastelandClimate 2 1050
Will set the Sunset Begin time of WastelandClimate to 5:30 PM.