PlayerMoveToAndWait - Debug

From the CreationKit Wiki
Revision as of 13:53, 11 November 2011 by imported>Scornett (Reverted edits by Scornett-Bot (talk) to last revision by Rhavlovick)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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")

See Also[edit | edit source]