MoveToInteractionLocation - ObjectReference

Member of: ObjectReference Script

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

SyntaxEdit

Function MoveToInteractionLocation(ObjectReference akTarget) native

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

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

See AlsoEdit