Novelty scripting reference > Scripted events > OnExit

OnExit

This event is called at the end of a page.


Implicit arguments

Page@ sender
Handle to the page that has been exited.

Sample

event Novel.OnExit
{
	// Prints the name of any exiting page
	Print("Leaving page: " + sender.name);
}

Back to top