Jump to content

[LE] Multiple If Statements


Recommended Posts

 

you wrote: "script on my target npc. the formlist has 8 spells and 1 dragon shout."

but the OnMagicEffectApply() event has return value of "MagicEffect akEffect", which is whether a spell nor a shout, that means HasForm() is returning always False.

 

 

That's incorrect on three counts: OnMagicEffectApply() doesn't have a return value -- the MagicEffect is specified in an argument; MagicEffects are not spells or shouts, but components of them; and they work perfectly fine in HasForm(), since MagicEffect extends Form.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...