GetSpell - Book

From the CreationKit Wiki
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) =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)

See Also[edit | edit source]