GetHitHealthDamage
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 health damage caused by the current hit.
Syntax
(healthDmg:float) reference.GetHitHealthDamage
Example
set fHealthDmg to targetRef.GetHitHealthDamage
Notes
- In order to determine if GetHitHealthDamage will return an accurate and viable result, one should check what type of OnHit event is running by using GetHitProjectile.