Difference between revisions of "GetHasContactType"

From GECK

 
Line 19: Line 19:
 
*[[GetContactRefs]]
 
*[[GetContactRefs]]
 
*[[GetObjectUnderFeet]]
 
*[[GetObjectUnderFeet]]
[[Category:Functions_(JIP)]]
+
[[Category:Functions (JIP)]]
[[Category:Actor Functions (JIP)]]
+
[[Category:Misc Reference Functions (JIP)]]

Latest revision as of 03:14, 29 March 2017

A function added by the JIP NVSE Plugin.

Description

Returns whether the calling reference (see Notes, below) has physical contact (i.e. is "touching") with the collision geometry of an object/actor reference whose base type matches the specified type code.

Syntax

(hasContact:0/1) reference.GetHasContactType typeID:int

Example

set bHasContact to objectRef.GetHasContactType 28

Notes

  • The calling reference may be an actor, or an object whose model (NIF) has Phantom Shape-type collision geometry (see GetHasPhantom).

See Also

Personal tools