OnCellExit
From GECK
A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.
Description
Passes the exited cell to the UDF when the player changes cells.
Syntax
(cell:form) OnCellExit UDFForm:UserDefinedFunction
Example
SetEventHandler "OnCellExit" MyUDF SetEventHandler "OnCellExit" MyUDF "first"::Cell SetEventHandler "OnCellExit" MyUDF "first"::FormListOfCells
Handler Script
A skeleton handler script for this event:
scn MyUDF ref rExitedCell BEGIN Function {rExitedCell} (code) END