Difference between revisions of "SetClimateTraitNumeric"
Jump to navigation
Jump to search
imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Sets the value of a climate's numeric trait (determined by <i>traitID</i>). |name = SetClimateTraitNumeric |returnType = traitValue:int...") |
imported>Jazzisparis |
||
Line 28: | Line 28: | ||
}} | }} | ||
==See Also== | ==See Also== | ||
*[[GetClimateTraitNumeric]] | |||
[[Category:Functions_(JIP)]] | [[Category:Functions_(JIP)]] |
Revision as of 12:27, 28 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.