Background for Skyrim SE
Member of the DbSkseFunctions script
voidfunctionSetBookSpell(BookakBook, SpellakSpell)NativeGlobal

Description

Documentation Comment

Sets spell book tome teaches. If akSpell is none, removes TeachesSpell flag from book. (Book will no longer teach a spell.)
not save persistent, use a load game event for maintenance


Caveats


Parameters

BookakBook

SpellakSpell


Examples

Auto-Generated Example

Book myBook__akBook
Spell mySpell__akSpell

DbSkseFunctions.SetBookSpell(myBook__akBook, mySpell__akSpell)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.