MoveToInteractionLocation - 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 Rhavlovick)
(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]