GetSpell - Book

From Creation Kit
Jump to: navigation, search

SKSE Member of: Book Script

Returns the spell that this book teaches. (This function requires SKSE)

Syntax

Spell Function GetSpell() native

Parameters

None

Return Value

Returns the spell that this book teaches.

Examples

Book Property spellBook Auto
 
Spell taughtSpell = spellBook.GetSpell()
Debug.Trace("This book teaches " + taughtSpell)

See Also