PlayerMoveToAndWait - Debug

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Debug Script

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

Syntax[edit | edit source]

Function PlayerMoveToAndWait(string asDestRef) native global debugOnly

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None

Examples[edit | edit source]

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

See Also[edit | edit source]