AddSpell

From the CreationKit Wiki
Revision as of 17:08, 2 December 2011 by imported>Scornett-Bot (Script running global find and replace: = for '''=)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

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

<ActorRef>.AddSpell SpellID 

Example

player.addSpell firebolt

Adds Firebolt spell to the player

See Also

RemoveSpell
EquipSpell
HasEquippedSpell

Papyrus Version

AddSpell - Actor