DispelSpell - Actor

Revision as of 16:26, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: 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

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

See Also