Mod:Creation Kit/RemoveSpell - Actor

Member of: Mod:Creation Kit/Actor Script

Removes the specified spell from this actor.

Syntax
bool Function RemoveSpell(Spell akSpell) native

Parameters

 * akSpell: The spell to remove from this actor.

Return Value
True on success.

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