Difference between revisions of "CenterOnCell - Debug"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Mr.greywater
 
Line 29: Line 29:
*[[Debug Script]]
*[[Debug Script]]
*[[CenterOnCellAndWait - Debug]]
*[[CenterOnCellAndWait - Debug]]
{{Languages|CenterOnCell_-_Debug}}

Latest revision as of 10:11, 8 November 2024

Member of: Debug Script

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

Syntax[edit | edit source]

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

See Also[edit | edit source]


Language: English  • українська