AddSpell
From GECK
A function included in the GECK for Fallout 3.
Contents
Description
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
[ActorRefr].AddSpell spellEffect:baseForm
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.
- With JohnnyGuitar NVSE, editorIDs can be used in console.