Difference between revisions of "AddSpell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Aubray1741
imported>Scruggs
Line 8: Line 8:


  AddSpell AbWeaknessNormalWeapons
  AddSpell AbWeaknessNormalWeapons
==Notes==
*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.


==See Also==
==See Also==

Revision as of 15:43, 29 May 2006

Adds spell item to calling actor. "Spells" include diseases, abilities, spells and powers . When an ability or disease is added it shows up as a current magical effect. When a spell or power is added it shows up as a castable power/spell. There are other important differences. See Spell for more info.

Syntax

AddSpell SpellID 

Example

AddSpell AbWeaknessNormalWeapons

Notes

  • 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.

See Also

RemoveSpell

Reference

List of functions that use AddSpell