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