Mod:Creation Kit/PlayerMoveToAndWait - Debug

Member of: Mod:Creation Kit/Debug Script

Teleports the player to the specified reference and does not return until they arrive.

Syntax
Function PlayerMoveToAndWait(string asDestRef) native global debugOnly

Parameters

 * asDestRef: The name of the reference to teleport to.

Return Value
None

Examples
Debug.PlayerMoveToAndWait("SecretChestRef")
 * Teleports the player to the secret chest and waits til they get there