Background for Skyrim SE
Member of the ObjectReference script
voidfunctionMoveToInteractionLocation(ObjectReferenceakTarget)Native

Description

Wiki Description

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

Documentation Comment

Moves this object to the position (and rotation) of the specified object's interaction position


Caveats


Parameters

ObjectReferenceakTarget

CK Wiki Description

The target reference that contains the interaction location to move to.


Examples

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

Auto-Generated Example

ObjectReference myObjectReference__akTarget

myObjectReference__toCallFunctionOn.MoveToInteractionLocation(myObjectReference__akTarget)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.