Difference between revisions of "CenterOnCell"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scornett
 
imported>Terra Nova2
m (Added a new note concerning the use of this command and ambush setups.)
 
(2 intermediate revisions by 2 users not shown)
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 XMarker or 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==
==Reference==
==Reference==
None provided.
None provided.
<!-- [[GetAVInfo_Reference|List of functions that use GetAVInfo]]  (wiki) -->
<!-- [[GetAVInfo_Reference|List of functions that use GetAVInfo]]  (wiki) -->
==Papyrus Version==
[[CenterOnCell - Debug]]


[[Category:Console Commands]]
[[Category:Console Commands]]
[[Category: Designer Debug Tools]]
[[Category: Designer Debug Tools]]

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