Resource:Creation Kit > RemoveSpell - Actor
Member of: Resource:Creation Kit/Actor Script
Removes the specified spell from this actor.
Syntax[edit]
bool Function RemoveSpell(Spell akSpell) native
Parameters[edit]
- akSpell: The spell to remove from this actor.
Return Value[edit]
True on success.
Examples[edit]
; Removes the sheep spell from the player
if (Game.GetPlayer().RemoveSpell(SheepSpellProperty))
Debug.Trace("Sheep spell removed from the player")
endIf
