Dispel

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Removes specified Actor Effect that is affecting an actor.

Syntax

[help]
[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.

See Also