MoveToNode - ObjectReference

From the CreationKit Wiki
Revision as of 13:54, 11 November 2011 by imported>Scornett (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: 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) 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.

Return Value

None.

Examples

; Move the sword to bob's hand
Sword.MoveToNode(Bob, "Hand")

See Also