OnCellChange

From the Fallout3 GECK Wiki
Revision as of 23:23, 3 March 2017 by imported>Pintocat
Jump to navigation Jump to search
< [[::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

[help]
SetEventHandler "OnCellChange" myUDF:userDefinedFunction


Example

SetEventHandler "OnCellChange" MyUDF

scn MyUDF

ref oldcell
ref newcell 

begin function {oldcell, newcell}

end function

See Also