Jump to content

NEED HELP with AI package for custom spells


rockisdead24

Recommended Posts

I am trying to get an NPC to cast a spell from Enai's Triumvirate. I almost got it working, but I am stuck, and I would really appreciate the help! So many good modders out there and no topics on this anywhere.

So, I started slow, set up a basic UseMagic package and set the spell to be cast at self. I went into Skyrim and spawned the NPC, and he did cast the spell. Problem was, he was casting it non-stop. Next thing I did, I set the condition for the AI package to be "IsinCombat" on Subject to 1. But now, when I enter combat with the NPC, he doesn't cast it!
please help :(

Link to comment
Share on other sites

If the NPC is not a current follower, he may not enter combat when you do. Try setting the "IsInCombat" condition to "player". Check that the NPC doesn't have a combat override package; if he does, it'll have priority. Also, my very limited experience with the AI says it may not be obvious when or how these conditions get tested.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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