CenterOnCell - Debug
Member of: Debug Script
Teleports the player to the specified cell. (Same as the CenterOnCell console command)
SyntaxEdit
Function CenterOnCell(string asCellName) native global
ParametersEdit
- asCellName: The name of the cell to teleport to.
Return ValueEdit
None
NoteEdit
Known to freeze the application. Only for debug purposes. Recommended: Place a XMarkerHeading and use MoveTo - ObjectReference to move the player to another Cell.
ExamplesEdit
; Teleports the player to the awesome town
Debug.CenterOnCell("AwesomeCell")