GetSpell - Book
Revision as of 03:51, 10 May 2012 by imported>PurpleLunchbox (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Book Script Returns the spell that this book teaches. (This function requires SKSE) =...")
SKSE Member of: Book Script
Returns the spell that this book teaches. (This function requires SKSE)
Syntax[edit | edit source]
Spell Function GetSpell() native
Parameters[edit | edit source]
None
Return Value[edit | edit source]
Returns the spell that this book teaches.
Examples[edit | edit source]
Book Property spellBook Auto
Spell taughtSpell = spellBook.GetSpell()
Debug.Trace("This book teaches " + taughtSpell)