IsIgnoringFriendlyHits - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Returns whether this reference is ignoring friendly hits or not.

Syntax[edit | edit source]

bool Function IsIgnoringFriendlyHits() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether the reference is ignoring friendly hits

Examples[edit | edit source]

if MyReference.IsIgnoringFriendlyHits()
  Debug.Trace("We're ignoring friendly hits!")
endIf

See Also[edit | edit source]