RemoveSpell - Actor

Member of: Actor Script

Removes the specified spell from this actor.

SyntaxEdit

bool Function RemoveSpell(Spell akSpell) native

ParametersEdit

  • akSpell: The spell to remove from this actor.

Return ValueEdit

True on success.

ExamplesEdit

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

See AlsoEdit