Background for Skyrim SE
Member of the ObjectReference script
voidfunctionIgnoreFriendlyHits(boolabIgnore=true)Native

Description

Wiki Description

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.

Documentation Comment

Flags this reference as ignoring (or not ignoring) friendly hits


Caveats


Parameters

boolabIgnore=true

CK Wiki Description

Whether to ignore friendly hits or not.

  • Default:True

Examples

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

Auto-Generated Example

bool myBool__abIgnore

myObjectReference__toCallFunctionOn.IgnoreFriendlyHits(myBool__abIgnore)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.