MoveToNode - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

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


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


  • 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



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

See Also