Difference between revisions of "SetGrassTraitNumeric"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Jazzisparis
(Created page with "{{Function |origin = JIP |summary = Sets the value of a numeric trait (determined by <i>traitID</i>) of the specified <i>Grass</i> form. |name = SetGrassTraitNumeric |retu...")
 
imported>Jazzisparis
 
Line 47: Line 47:
==See Also==
==See Also==
*[[GetGrassTraitNumeric]]
*[[GetGrassTraitNumeric]]
[[Category:Functions_(JIP)]]
[[Category:Functions (JIP)]]
[[Category:Miscellaneous Functions (JIP)]]
[[Category:Grass Functions (JIP)]]

Latest revision as of 02:29, 29 March 2017

< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Sets the value of a numeric trait (determined by traitID) of the specified Grass form.

Syntax

[help]
(traitValue:float) SetGrassTraitNumeric grass:ref traitID:int{0-9} newValue:float

Grass Numeric Trait IDs

0	Density
1	Min. Slope
2	Max. Slope
3	Units from Water Amount
4	Units from Water Type (see below)
5	Position Range
6	Height Range
7	Color Range
8	Wave Period
9	Flags Bitmask (see below)

Units from Water Types:

0	Above - At Least
1	Above - At Most
2	Below - At Least
3	Below - At Most
4	Either - At Least
5	Either - At Most
6	Either - At Most Above
7	Either - At Most Below

Flags:

1	Vertex Lighting
2	Uniform Scaling
4	Fit to Slope

Example

SetGrassTraitNumeric GrassWasteland01 5 20

Will set the Position Range of GrassWasteland01 to 20.

See Also