Get3DDistanceToNiNode

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns the distance between a point in the world and a specified NiNode on a calling reference.

Syntax

[help]
(float) ref.Get3DDistanceToNiNode NiNode:string x:float y:float z:float

Example

set fDistance to easypeteRef.Get3DDistanceToNiNode "Bip01 Pelvis" 100 100 100 

See Also