MoveToInteractionLocation - ObjectReference

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Moves this reference to the location of the target reference's interaction location, also matching its rotation.

Syntax[edit | edit source]

Function MoveToInteractionLocation(ObjectReference akTarget) native

Parameters[edit | edit source]

  • akTarget: The target reference that contains the interaction location to move to.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Move Bob to where he can interact with the lever
Bob.MoveToInteractionLocation(SuperCoolLever)

See Also[edit | edit source]