Novelty scripting reference > Scripted events > OnParagraph

OnParagraph

This event is called before a new dialogue paragraph is being displayed, giving you an opportunity to modify it or otherwise act on its content with scripts.


Implicit arguments

string &out paragraph
Paragraph text. This value can be changed.


Sample

event Novel.OnParagraph
{
	// Append an exclamation point to every paragraph 
	paragraph += "!";
}

Back to top