Difference between revisions of "DispelSpell - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Fg109
m (→‎See Also: added link)
 
Line 25: Line 25:
*[[Actor Script]]
*[[Actor Script]]
*[[DispelAllSpells - Actor]]
*[[DispelAllSpells - Actor]]
*[[Dispel - ActiveMagicEffect]]

Latest revision as of 17:06, 8 April 2012

Member of: Actor Script

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

Syntax[edit | edit source]

bool Function DispelSpell(Spell akSpell) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

See Also[edit | edit source]