Background for Skyrim SE
Member of the DbSkseEvents script
eventOnPlayerChangeCellGlobal(CellakNewCell, CellakPreviousCell)

Description

Documentation Comment

Event triggered when the player moves from one cell to another
Note that if the akPreviousCell is unloaded it will be none.
This happens when the player fast travels to a new worldspace
or when the player moves outside of the current cell grid and the previous cell is unloaded.


Parameters

  1. CellakNewCell

  2. CellakPreviousCell


Examples

Auto-Generated Example

Scriptname MyCoolScript extends DbSkseEvents

event OnPlayerChangeCellGlobal(Cell akNewCell, Cell akPreviousCell)
    Debug.trace("Event received - OnPlayerChangeCellGlobal: akNewCell = " + akNewCell + " akPreviousCell = " + akPreviousCell)
endEvent
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.