Difference between revisions of "CenterOnCellAndWait - Debug"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scornett
m (Reverted edits by Scornett-Bot (talk) to last revision by Rhavlovick)
 
imported>Mr.greywater
 
Line 16: Line 16:
== Return Value ==
== Return Value ==
None
None
== Note ==
Known to freeze the application. Only for debug purposes.
Recommended: Place a XMarkerHeading and use [[MoveTo - ObjectReference]] to move the player to another Cell.


== Examples ==
== Examples ==

Latest revision as of 05:40, 20 August 2013

Member of: Debug Script

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

Syntax[edit | edit source]

Function CenterOnCellAndWait(string asCellName) native global

Parameters[edit | edit source]

  • asCellName: The name of the cell to teleport to.

Return Value[edit | edit source]

None

Note[edit | edit source]

Known to freeze the application. Only for debug purposes. Recommended: Place a XMarkerHeading and use MoveTo - ObjectReference to move the player to another Cell.

Examples[edit | edit source]

; Teleports the player to the awesome town and waits til they get there
Debug.CenterOnCellAndWait("AwesomeCell")

See Also[edit | edit source]