Mod:Creation Kit/MoveToNode - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Moves this object to the position (and rotation) of the specified node on the specified object's 3D

Syntax
Function MoveToNode(ObjectReference akTarget, string asNodeName, string asMatchNodeName = "") native

Parameters

 * akTarget: The target reference that contains the interaction location to move to.
 * asNodeName: The name of the node to match position and rotation to.
 * asMatchNodeName: The name of a node on the moving reference to align with asNodeName.
 * Default: ""

Return Value
None.

Examples
Sword.MoveToNode(Bob, "HandNode", "HiltNode")
 * Put the hilt of the sword in bob's hand