Get3DDistanceFromHitToNiNode
From GECK
A function added by the JohnnyGuitar 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, returns the distance between hit location and a specified NiNode on a calling reference.
Syntax
(float) ref.Get3DDistanceFromHitToNiNode NiNode:string
Example
set fDistance to EasyPeteRef.Get3DDistanceFromHitToNiNode "Bip01 Pelvis"