Difference between revisions of "HasEquippedSpell"
Jump to navigation
Jump to search
imported>AmethystDeceiver m |
Inforgreen3 (talk | contribs) m (Listed an alternative way to achieve the function of HasEquippedSpell) |
||
Line 9: | Line 9: | ||
==Notes== | ==Notes== | ||
HasEquippedSpell is currently broken as a condition function. There is no selectable parameter for the Spell ID. | HasEquippedSpell is currently broken as a condition function. There is no selectable parameter for the Spell ID. Instead consider trying to combine spellhaskeyword and spellhascastingperk in a way where only the desired spell is likely to be described, or adding a unique keyword to the spells you wish to detect. | ||
==''See Also''== | ==''See Also''== |
Latest revision as of 23:03, 10 July 2024
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[edit | edit source]
HasEquippedSpell is currently broken as a condition function. There is no selectable parameter for the Spell ID. Instead consider trying to combine spellhaskeyword and spellhascastingperk in a way where only the desired spell is likely to be described, or adding a unique keyword to the spells you wish to detect.