GetGroundMaterial

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the material type of the object/terrain upon which the calling actor is standing.

Syntax

[help]
(materialID:int) actor.GetGroundMaterial

Example

set iMaterial to actorRef.GetGroundMaterial

Material Type IDs

0	Stone
1	Dirt
2	Grass
3	Glass
4	Metal
5	Wood
6	Organic
7	Cloth
8	Water
9	Hollow Metal