GetPrimitiveType

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns the type of the primitive of the calling reference. Return values are as follows:

1	Box
2	Sphere
3	Plane (collision only)

Syntax

[help]
(1-3:int) reference.GetPrimitiveType

Example

set sType to objectRef.GetPrimitiveType 

See Also