OnCellChange

Revision as of 23:23, 3 March 2017 by imported>Pintocat
< [[::Category:Functions|Category:Functions]]

A function added by the Lutana NVSE plugin.

Description

Event block type that calls the UDF when the player changes cells. The previous cell (ref) and the new cell (ref) are passed to to the UDF.

Syntax

SetEventHandler "OnCellChange" myUDF:userDefinedFunction


Example

SetEventHandler "OnCellChange" MyUDF

scn MyUDF

ref oldcell
ref newcell 

begin function {oldcell, newcell}

end function

See Also