Dispel
From GECK
A function included in the GECK for Fallout 3.
Contents
Description
Removes specified Actor Effect that is affecting an actor.
Syntax
[ActorRefID].Dispel MagicID:ref
Example
Dispel MS13MezzedSpell
NPCRef.Dispel MS13MezzedSpell
Notes
- Dispel will act as a return statement if you attempt to dispel the spell you are currently scripting. For instance, in the following example, the messagebox will never show up.
- If Dispel is acting as an active return statement in a ScriptEffectUpdate block placed before a ScriptEffectFinish block in a Magic Effect script, it will prevent the ScriptEffectFinish block from running and the Magic Effect script will run for the full Duration of the spell.