Background for Skyrim SE
Member of the Debug script
floatfunctionPlayerMoveToAndWait(stringasDestRef)NativeGlobal

Description

Wiki Description

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

Documentation Comment

player.moveto functionality


Caveats


Parameters

stringasDestRef

CK Wiki Description

The name of the reference to teleport to.


Examples

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

Auto-Generated Example

string myString__asDestRef

float returnedValue = Debug.PlayerMoveToAndWait(myString__asDestRef)

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.