PlayerMoveToAndWait - Debug

From Creation Kit
Jump to: navigation, search

Member of: Debug Script

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

Syntax

Function PlayerMoveToAndWait(string asDestRef) native global

Parameters

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

Return Value

None

Examples

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

See Also