GetImpactMaterialType

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the Impact Material type used when the specified actor gets hit.

Syntax

[help]
(materialType:int) reference.GetImpactMaterialType baseActor:form

Material Type IDs

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

Example

set iImpactMat to RexRef.GetImpactMaterialType
set iImpactMat to GetImpactMaterialType Rex 

See Also