Get3DDistanceToNiNode
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Contents
Description
Returns the distance between a point in the world and a specified NiNode on a calling reference.
Syntax
(float) ref.Get3DDistanceToNiNode NiNode:string x:float y:float z:float
Example
set fDistance to easypeteRef.Get3DDistanceToNiNode "Bip01 Pelvis" 100 100 100