OnCellChange

From the Fallout3 GECK Wiki
Revision as of 19:59, 8 January 2017 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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