Difference between revisions of "AddSpell"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>EConundrum
imported>Moorleiche2k
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Description==
==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. Note it is the Form ID of the spell you need to use with this command e.g. the Hexdecimal number note the unique text ID as previously stated. It is also worth noting the second digit of the Form ID may be different from that shown in the editor if multiple esp files are loaded try incrementing it if the console can't find te spell.
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.  
 
Note it is the '''Form ID''' of the spell you need to use with this command e.g. the Hexdecimal number note the unique text ID as previously stated. It is also worth noting the second digit of the '''Form ID may be different from that shown in the editor''' if multiple esp files are loaded try incrementing it if the console can't find the spell.


==Syntax==
==Syntax==
Line 7: Line 9:


==Example==
==Example==
  player.addSpell firebolt
  player.addSpell 0001C789
Adds Firebolt spell to the player
Adds Fireball spell to the player


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

Latest revision as of 06:51, 20 June 2012

Description[edit | edit source]

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.

Note it is the Form ID of the spell you need to use with this command e.g. the Hexdecimal number note the unique text ID as previously stated. It is also worth noting the second digit of the Form ID may be different from that shown in the editor if multiple esp files are loaded try incrementing it if the console can't find the spell.

Syntax[edit | edit source]

<ActorRef>.AddSpell SpellFORMID

Example[edit | edit source]

player.addSpell 0001C789

Adds Fireball spell to the player

See Also[edit | edit source]

RemoveSpell
EquipSpell
HasEquippedSpell

Papyrus Version[edit | edit source]

AddSpell - Actor