CenterOnCellAndWait - Debug

From the CreationKit Wiki
Revision as of 05:40, 20 August 2013 by imported>Mr.greywater
(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 cell and does not return until they arrive.

Syntax

Function CenterOnCellAndWait(string asCellName) native global

Parameters

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

Return Value

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

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

See Also