GetSpell - Book

From the CreationKit Wiki
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]