GetHitAttacker
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
When called from a OnHit/OnHitWith script block (or the corresponding NVSE event handlers), or from a ScriptEffectStart block in an Ammo form Impact Script, will return the actor reference (if any) by which the current hit was struck.
Syntax
(attacker:ref) reference.GetHitAttacker
Example
set rAttacker to targetRef.GetHitAttacker