Difference between revisions of "AddSpell"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
||
Line 20: | Line 20: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1. | [[Category:Functions (GECK 1.1)]] | ||
[[Category:Game Effect Functions]] | [[Category:Game Effect Functions]] | ||
[[Category:Game Effect Functions (GECK 1. | [[Category:Game Effect Functions (GECK 1.1)]] | ||
[[Category:Actor Functions]] | [[Category:Actor Functions]] | ||
[[Category:Actor Functions (GECK 1. | [[Category:Actor Functions (GECK 1.1)]] | ||
Revision as of 10:45, 15 August 2009
Adds the actor effect to the calling actor, which will instantly be applied. The only types of actor effects used in the Vanilla Game are addictions and abilities.
Syntax
[ActorID.]AddSpell EffectID
Example
AddSpell StealthBoyInvisibilitySpell
Notes
- Be careful when using this function on non-unique actors. Adding an actor effect to an actor adds it to the base object, so any references that are later spawned from that base object will also have the effect.
- Like most functions, this one is a little different when used as a console command. When used as a console command the EffectID must be specified as a FormID.
See Also
- RemoveSpell
- Link to TES4 Construction Set Wiki: AddSpell