DispelSpell - Actor

Member of: Actor Script

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

SyntaxEdit

bool Function DispelSpell(Spell akSpell) native

ParametersEdit

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

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit