GetLandTextureTraitNumeric

Revision as of 15:15, 30 March 2015 by imported>Jazzisparis
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

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

Syntax

(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