MoveToInteractionLocation - ObjectReference

From the CreationKit Wiki
Revision as of 20:09, 5 September 2026 by HoodBot (talk | contribs) (Convert source tags to syntaxhighlight)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]