MoveToNode

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Moves the calling reference to the specified target reference, at the world position of the specified Node in the target's loaded 3D model.

  • Arguments 3-5 are optional, and may be used for positioning the calling reference at the specified X/Y/Z offset, relative to the node.

Syntax

[help]
(success:0/1) reference.MoveToNode target:ref nodeName:string offsetX:float offsetY:float offsetZ:float

Example

objectRef.MoveToNode targetRef "Scene Root"
objectRef.MoveToNode targetRef "Scene Root" 0 48 96 

See Also