Difference between revisions of "GetContactRefs"

From GECK

Line 1: Line 1:
 
{{Function
 
{{Function
 
  |origin = JIP
 
  |origin = JIP
  |summary = Returns an '''array_var''' containing all object/actor references whose collision geometry the calling actor has '''physical contact''' with (i.e. is "touching").
+
  |summary = Returns an '''array_var''' containing all object/actor references whose collision geometry the calling reference (see '''Notes''', below) has '''physical contact''' with (i.e. is "touching").
 
  |name = GetContactRefs
 
  |name = GetContactRefs
 
  |returnType = array_var
 
  |returnType = array_var
 
  |referenceType = reference
 
  |referenceType = reference
  |example = let aContactRefs := actorRef.GetContactRefs
+
  |example = let aContactRefs := objectRef.GetContactRefs
 
}}
 
}}
 +
==Notes==
 +
*The calling reference may be an actor, or an object whose model (NIF) has '''Phantom Shape'''-type collision geometry (see [[GetHasPhantom]]).
 
==See Also==
 
==See Also==
 
*[[GetHasContact]]
 
*[[GetHasContact]]

Revision as of 18:14, 20 March 2017

A function added by the JIP NVSE Plugin.

Description

Returns an array_var containing all object/actor references whose collision geometry the calling reference (see Notes, below) has physical contact with (i.e. is "touching").

Syntax

(array_var) reference.GetContactRefs

Example

let aContactRefs := objectRef.GetContactRefs

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