OnBookFullyRead - ANDR PapyrusFunctions

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: ANDR_PapyrusFunctions Script

Event that gets triggered after being on the last page of a book for 10 seconds, aka "fully read". Needs to be registered first!

Syntax[edit | edit source]

Event OnBookFullyRead()

Parameters[edit | edit source]

None

Examples[edit | edit source]

Event OnInit()
	; this line is crucial for registering the function!
	RegisterForModEvent("ANDR_OnBookFullyRead", "OnBookFullyRead")
EndEvent

Event OnBookFullyRead()
	Debug.Notification("We fully read this book!")
EndEvent

Notes[edit | edit source]

  • This function needs to be registered using the exact line:
RegisterForModEvent("ANDR_OnBookFullyRead", "OnBookFullyRead")

See Also[edit | edit source]