Difference between revisions of "AddSpell"

201 bytes added ,  14:53, 17 November 2006
→‎Notes: added note about Feather bug
imported>JOG
(yuck, another obsolete spoilerish pink block)
imported>Dev akm
(→‎Notes: added note about Feather bug)
Line 28: Line 28:
*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]].
*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]].
*Note that Feather does not work as an ability, so doing ''player.addspell AbMyFeatherBonus'' will have no effect, even though it will make the ability show up in the character's active effects list.
==See Also==
==See Also==
[[RemoveSpell]]
[[RemoveSpell]]
Anonymous user