Difference between revisions of "Talk:HasSpell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Syscrusher
(Possible anomaly: Function may not work on creatures, at least in some cases)
 
imported>Syscrusher
m
 
Line 6: Line 6:


I haven't tested with non-Ability spells, nor with a wide variety of creatures. For me, this anomaly happens with a Spider Daedra.
I haven't tested with non-Ability spells, nor with a wide variety of creatures. For me, this anomaly happens with a Spider Daedra.
[[User:Syscrusher|Syscrusher]] ([[User talk:Syscrusher|talk]]) 22:36, 30 October 2013 (EDT)

Latest revision as of 21:36, 30 October 2013

I believe I may have found an anomaly for this function. On a creature (rather than an NPC), it seems in my testing to always return zero.

I can replicate this either with an Ability that is built into the creature's spell list at edit time, or with an Ability that is added to the creature from the console in game.

I verified that the same Ability added to a human NPC *is* correctly detected by HasSpell.

I haven't tested with non-Ability spells, nor with a wide variety of creatures. For me, this anomaly happens with a Spider Daedra.

Syscrusher (talk) 22:36, 30 October 2013 (EDT)