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

Description

Wiki Description

Removes the specified spell from this actor.

Documentation Comment

Removes the specified spell from this actor - returns true on success


Caveats


Parameters

SpellakSpell

CK Wiki Description

The spell to remove from this actor.


Examples

; Removes the sheep spell from the player
if (Game.GetPlayer().RemoveSpell(SheepSpellProperty))
  Debug.Trace("Sheep spell removed from the player")
endIf

Auto-Generated Example

Spell mySpell__akSpell

bool returnedValue = myActor__toCallFunctionOn.RemoveSpell(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.