Difference between revisions of "OnCellChange"
Jump to navigation
Jump to search
imported>Pintocat (Created page with "{{Function |origin = LU |summary = Event block type that calls the UDF when the player changes cells. The previous cell (ref) an...") |
imported>Pintocat |
||
Line 26: | Line 26: | ||
[[Category:Functions_(Lutana)]] | [[Category:Functions_(Lutana)]] | ||
[[Category:Events_(Lutana)]] |
Revision as of 23:23, 3 March 2017
< [[::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