Mod:Creation Kit/IgnoreFriendlyHits - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Flags this reference as ignoring (or not ignoring) friendly hits. In other words, it won't turn hostile after several hits from a friendly opponent.

Syntax
Function IgnoreFriendlyHits(bool abIgnore = true) native

Parameters

 * abIgnore: Whether to ignore friendly hits or not.
 * Default: True

Return Value
None.

Examples
TempReference.IgnoreFriendlyHits TempReference.IgnoreFriendlyHits(false)
 * Tells this reference to ignore friendly hits
 * Tells this reference to no longer ignore friendly hits