MoveToNode - ObjectReference
Revision as of 16:04, 17 November 2015 by imported>Plplecuyer (→Parameters)
Member of: ObjectReference Script
Moves this object to the position (and rotation) of the specified node on the specified object's 3D
Syntax[edit | edit source]
Function MoveToNode(ObjectReference akTarget, string asNodeName, string asMatchNodeName = "") native
Parameters[edit | edit source]
- 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[edit | edit source]
None.
Examples[edit | edit source]
; Put the hilt of the sword in bob's hand
Sword.MoveToNode(Bob, "HandNode", "HiltNode")