Mod:Creation Kit/DispelSpell - Actor

Member of: Mod:Creation Kit/Actor Script

Will dispel all magic effects from this actor that came from the given spell.

Syntax
bool Function DispelSpell(Spell akSpell) native

Parameters

 * akSpell: The Spell whose effects you want to dispel.

Return Value
True if at least one effect was dispelled from the actor.

Examples
LuckyGuy.DispelSpell(BadPoisonSpell)
 * Dispel the poison spell from the lucky guy