Difference between revisions of "HasEquippedSpell"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>SJML Bot
(Bot creating condition functions pages.)
 
imported>AmethystDeceiver
m
Line 7: Line 7:


This'll return 1.0 if the actor currently has the spell SpellID equipped at the "Right" Casting Source.
This'll return 1.0 if the actor currently has the spell SpellID equipped at the "Right" Casting Source.
==Notes==
HasEquippedSpell is currently broken as a condition function. There is no selectable parameter for the Spell ID.


==''See Also''==
==''See Also''==

Revision as of 06:53, 6 August 2012

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.

Notes

HasEquippedSpell is currently broken as a condition function. There is no selectable parameter for the Spell ID.

See Also

EquipSpell

Papyrus Version

GetEquippedSpell - Actor