Mod:Creation Kit/UnregisterForHitEvent - ScriptObject

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus Mod:Creation Kit/Category:Non-Delayed Native Functions Member of: ScriptObject

Unregisters this script from a OnHit event matching the filters given to this function. The filters must match the filters given to the RegisterForHitEvent function.

Only the script that unregisters for an event will stop receiving it. Other scripts attached to the same form, alias, or magic effect will still receive the event if they registered for it separately.

Parameters

 * akTarget: The ObjectReference, ReferenceAlias or RefCollectionAlias that is being hit.
 * akAggressorFilter: The filter to use for the aggressor.
 * Default: None
 * akSourceFilter: The filter to use for the source of the hit (weapon usually)
 * Default: None
 * akProjectileFilter: The node on the target to cast the LOS check to. If empty, will cast to the object's root.
 * Default: None
 * aiPowerFilter: Filter for a power attack
 * Default: -1
 * aiSneakFilter: Filter for a sneak attack
 * Default: -1
 * aiBashFilter: Filter for a bash attack
 * Default: -1
 * aiBlockFilter: Filter for a blocked attack
 * Default: -1
 * abMatch: If true, the filter must match the hit - if false, the filter must NOT match the hit (inverted filter)
 * Default: true

Return Value
None