Difference between revisions of "GetHasContact"

From GECK

(Created page with "{{Function |origin = JIP |summary = Returns whether the calling actor has '''physical contact''' (i.e. is "touching") with the collision geometry of the specified object/act...")
 
Line 1: Line 1:
 
{{Function
 
{{Function
 
  |origin = JIP
 
  |origin = JIP
  |summary = Returns whether the calling actor has '''physical contact''' (i.e. is "touching") with the collision geometry of the specified object/actor reference.
+
  |summary = Returns whether the calling actor has '''physical contact''' (i.e. is "touching") with the collision geometry of the specified object/actor reference (or, if a '''Form List''' is passed, with any reference in the list).
 
  |name = GetHasContact
 
  |name = GetHasContact
 
  |returnType = hasContact:0/1
 
  |returnType = hasContact:0/1
Line 7: Line 7:
 
  |arguments =  
 
  |arguments =  
 
   {{FunctionArgument
 
   {{FunctionArgument
   |Name = objectRef
+
   |Name = objectRefOrList
 
   |Type = ref
 
   |Type = ref
 
   }}
 
   }}
 
  |example = set bHasContact to actorRef.GetHasContact objectRef
 
  |example = set bHasContact to actorRef.GetHasContact objectRef
 +
 +
set bHasContact to actorRef.GetHasContact RefList
 
}}
 
}}
 
==See Also==
 
==See Also==
 +
*[[GetHasContactBase]]
 +
*[[GetHasContactType]]
 
*[[GetContactRefs]]
 
*[[GetContactRefs]]
 +
*[[GetObjectUnderFeet]]
 
[[Category:Functions_(JIP)]]
 
[[Category:Functions_(JIP)]]
 
[[Category:Actor Functions (JIP)]]
 
[[Category:Actor Functions (JIP)]]

Revision as of 11:10, 24 February 2017

A function added by the JIP NVSE Plugin.

Description

Returns whether the calling actor has physical contact (i.e. is "touching") with the collision geometry of the specified object/actor reference (or, if a Form List is passed, with any reference in the list).

Syntax

(hasContact:0/1) reference.GetHasContact objectRefOrList:ref

Example

set bHasContact to actorRef.GetHasContact objectRef
set bHasContact to actorRef.GetHasContact RefList

See Also

Personal tools