Difference between revisions of "SetLandTextureTraitNumeric"

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 Land Texture's numeric trait (determined by <i>traitID</i>). |name = SetLandTextureTraitNumeric |returnType = trait...")
 
imported>Jazzisparis
Line 25: Line 25:
}}
}}
==See Also==
==See Also==
*[[GetLandTextureTraitNumeric]]
*[[GetLandTextureTextureSet]]
*[[SetLandTextureTextureSet]]
*[[GetLandTextureNumGrasses]]
*[[GetLandTextureNthGrass]]
*[[LandTextureAddGrass]]
*[[LandTextureRemoveGrass]]
[[Category:Functions_(JIP)]]
[[Category:Functions_(JIP)]]

Revision as of 12:48, 28 March 2015

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

A function added by the JIP NVSE Plugin.

Description

Sets the value of a Land Texture's numeric trait (determined by traitID).

Syntax

[help]
(traitValue:int) SetLandTextureTraitNumeric landTexture:ref traitID:int{0-3} newValue:int

Land Texture Numeric Trait IDs

0	Material Type
1	Friction
2	Restitution
3	Texture Specular Exponent

Example

SetLandTextureTraitNumeric LScrubDirtCanyon01Grass 1 20

Will set the Friction of LScrubDirtCanyon01Grass to 20.

See Also