PlayerMoveToAndWait - Debug

Member of: Debug Script

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

SyntaxEdit

Function PlayerMoveToAndWait(string asDestRef) native global

ParametersEdit

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

Return ValueEdit

None

ExamplesEdit

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

See AlsoEdit