GetLandTextureTraitNumeric

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

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

Syntax

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

Land Texture Numeric Trait IDs

0	Material Type
1	Friction
2	Restitution
3	Texture Specular Exponent

Example

GetLandTextureTraitNumeric LScrubDirtCanyon01Grass 1

Will return the Friction of LScrubDirtCanyon01Grass.

See Also