HasEquippedSpell

From the CreationKit Wiki
Revision as of 11:09, 21 November 2011 by imported>SJML Bot (Bot creating condition functions pages.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

HasEquippedSpell or HasSpell will indicate whether or not the reference actor has a spell equipped at a particular Casting Source.

Syntax

[actor].HasSpell SpellID Source

Example

player.HasSpell flames Right

This'll return 1.0 if the actor currently has the spell SpellID equipped at the "Right" Casting Source.

See Also

EquipSpell

Papyrus Version

GetEquippedSpell - Actor