Difference between revisions of "AddSpell"

Jump to navigation Jump to search
163 bytes added ,  20:54, 6 June 2006
Added note on use as a console command. (FormID)
imported>Scruggs
imported>Decoup
(Added note on use as a console command. (FormID))
Line 12: Line 12:
*Addspell works only with spell types listed in the Spells section of the object window. It cannot be used to add leveled spells to an actor via script.
*Addspell works only with spell types listed in the Spells section of the object window. It cannot be used to add leveled spells to an actor via script.
*Be careful when using this function on non-unique actors. Adding an ability or spell to an actor adds it to the base object, so any references that are later spawned from that base object will also have the spell.
*Be careful when using this function on non-unique actors. Adding an ability or spell to an actor adds it to the base object, so any references that are later spawned from that base object will also have the spell.
*Like most functions, this one is a little different when used as a console command. When used as a console command the SpellID must be specified as a [[FormID]].
==See Also==
==See Also==
[[RemoveSpell]]
[[RemoveSpell]]
Anonymous user

Navigation menu