SetLandTextureTraitNumeric

From GECK
Jump to: navigation, search


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