Background for Starfield
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


Parameters

  1. 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 Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.