DispelSpell - Actor

From the Fallout4 CreationKit Wiki
Revision as of 15:26, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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]