Spoiler
Scriptname gp_aaa extends ObjectReference Actor Property PlayerRef AutoActorBase Property target Auto Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) If akAggressor == PlayerRef Target = GetBaseObject() As ActorBase Debug.Notification(Target.GetLevel()) EndIfEndEvent