GetCurrentBookPage - ANDR PapyrusFunctions: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
(Created page with "Category:Scripting Category:Papyrus Category:Latent Functions '''Member of:''' ANDR_PapyrusFunctions Script When in the book menu, returns the current page of the book as an Int. If not in the book menu, returns -1. == Syntax == <source lang="papyrus"> Int Function GetCurrentBookPage() global native </source> == Examples == <source lang="papyrus"> Debug.Trace("We are currently on page " + ANDR_PapyrusFunctions.GetCurrentBookPage() + " of the book.") </s...")
 
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Int Function GetCurrentBookPage() global native
Int Function GetCurrentBookPage() global native
</source>
</syntaxhighlight>
== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Debug.Trace("We are currently on page " + ANDR_PapyrusFunctions.GetCurrentBookPage() + " of the book.")
Debug.Trace("We are currently on page " + ANDR_PapyrusFunctions.GetCurrentBookPage() + " of the book.")
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==

Navigation menu