Difference between revisions of "CenterOnCell"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Enter 77
(Added Papyrus version)
imported>Terra Nova2
m (Added a new note concerning the use of this command and ambush setups.)
 
Line 12: Line 12:


==Notes==
==Notes==
When you COC to a cell you will be placed at the [[COCMarkerHeading]] reference.  If there is not COCMarkerHeading you will be placed at the most recently placed [[Markers|XMarker]] or [[Markers|XMarkerHeading]] reference.
*When you COC to a cell you will be placed at the [[COCMarkerHeading]] reference.  If there is not COCMarkerHeading you will be placed at the most recently placed [[Markers|XMarker]] or [[Markers|XMarkerHeading]] reference.
 
*This command is known to break ambush scripts due to the way it handles loading cells, if you COC to a cell right after loading into the game world. To test ambush setups when traveling to the rooms via COC, you need a wait a few seconds when the games loads. Any other underlying issues with this command is still unknown.
<!--  
<!--  
==See Also==
==See Also==

Latest revision as of 04:08, 27 June 2014

This function will move player to specified cell.

Syntax[edit | edit source]

CenterOnCell CellName
COC CellName

Examples[edit | edit source]

COC EmbershardMine01

Will place you at the COCMarkerHeading in the cell EmbershardMine01.

Notes[edit | edit source]

  • When you COC to a cell you will be placed at the COCMarkerHeading reference. If there is not COCMarkerHeading you will be placed at the most recently placed XMarker or XMarkerHeading reference.
  • This command is known to break ambush scripts due to the way it handles loading cells, if you COC to a cell right after loading into the game world. To test ambush setups when traveling to the rooms via COC, you need a wait a few seconds when the games loads. Any other underlying issues with this command is still unknown.

Papyrus Version[edit | edit source]

CenterOnCell - Debug