GetHitLimbDamage

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

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 limb damage caused by the current hit.

To determine which limb was hit, use GetHitLocation.

If the hit is the result of an Explosion, will always return 0, even if the explosion dealt limb damage.

Syntax

[help]
(limbDmg:float) reference.GetHitLimbDamage

Example

set fLimbDmg to targetRef.GetHitLimbDamage 

See Also