Novelty scripting reference > Scripted events > OnInit

OnInit

This event is called once at the very start of the game, before the first page is loaded.

This is a good place to put code to initialize your scripts that will run later during the game.


Implicit arguments

N/A


Sample

event Novel.OnInit
{
	Print("Game is starting.");
}

Back to top