Difference between revisions of "CenterOnCell - Debug"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Mr.greywater
Line 15: Line 15:
== 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 ==

Revision as of 05:41, 20 August 2013

Member of: Debug Script

Teleports the player to the specified cell. (Same as the CenterOnCell console command)

Syntax

Function CenterOnCell(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
Debug.CenterOnCell("AwesomeCell")

See Also