Background for Fallout 4
Member of the Actor script
boolfunctionDispelSpell(SpellakSpell)Native

Description

Wiki Description

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

Documentation Comment

Dispel a spell from this actor


Caveats


Parameters

SpellakSpell

CK Wiki Description

The Spell whose effects you want to dispel.


Examples

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

Auto-Generated Example

Spell mySpell__akSpell

bool returnedValue = myActor__toCallFunctionOn.DispelSpell(mySpell__akSpell)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.