MoveToInteractionLocation - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

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

Syntax

Function MoveToInteractionLocation(ObjectReference akTarget) native

Parameters

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

Return Value

None.

Examples

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

See Also