Difference between revisions of "GetHasContactBase"
Jump to navigation
Jump to search
imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns whether the calling actor has '''physical contact''' (i.e. is "touching") with the collision geometry of an object/actor referenc...") |
imported>Jazzisparis |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = JIP | |origin = JIP | ||
|summary = Returns whether the calling | |summary = Returns whether the calling reference (see '''Notes''', below) has '''physical contact''' (i.e. is "touching") with the collision geometry of an object/actor reference with the specified '''base form''' (or, if a '''Form List''' is passed, with any base form in the list). | ||
|name = GetHasContactBase | |name = GetHasContactBase | ||
|returnType = hasContact:0/1 | |returnType = hasContact:0/1 | ||
Line 10: | Line 10: | ||
|Type = ref | |Type = ref | ||
}} | }} | ||
|example = set bHasContact to | |example = set bHasContact to objectRef.GetHasContactBase baseForm | ||
set bHasContact to | set bHasContact to objectRef.GetHasContactBase baseFormList | ||
}} | }} | ||
==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 17:11, 20 March 2017
< [[::Category:Functions|Category:Functions]]
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 with the specified base form (or, if a Form List is passed, with any base form in the list).
Syntax
(hasContact:0/1) reference.GetHasContactBase baseFormOrList:ref
Example
set bHasContact to objectRef.GetHasContactBase baseForm
set bHasContact to objectRef.GetHasContactBase baseFormList
Notes
- The calling reference may be an actor, or an object whose model (NIF) has Phantom Shape-type collision geometry (see GetHasPhantom).