PlayerMoveToAndWait - Debug
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
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")