Mod:Creation Kit/HasSpell - Actor

Member of: Mod:Creation Kit/Actor Script

Checks to see if this actor has the given Spell or Shout.

Syntax
bool Function HasSpell(Form akForm) native

Parameters

 * akForm: The Spell or Shout to check.

Return Value
Whether the actor has the given Spell or Shout or not.

Examples
if (Game.GetPlayer.HasSpell(SuperSpell)) Debug.Trace("The player has the super spell") endIf
 * Does the player have the super spell?