NPC won't use custom spells

Post » Wed Sep 04, 2013 1:02 am

I've done a search and I don't quite understand why my npc won't use my destruction spell.

Things I've done/checked:

-Combat style is csHumanMagic

-Class's tried spellsword, nightblade, sorcerer

-Set the AI data to 50/80/100 with 1 second delay time

-Default packages

-Uses spells such as lefthandFlames, healing(removed these so there's only one magic option)

It has to be the spell, but the spell is just a duplicate of FireFFAimed magic effect with a few visuals and projectile changes(and the ai data). I put the spell onto my PC and he used it just fine without any problems.

I even tested out making it spell cost low, making it left handed only, making it OP but the npc keeps using the sword. He's supposed to be a 'spellsword' but currently he's just 'sword'.

Is there something I missed or overlooked?

User avatar
maya papps
 
Posts: 3468
Joined: Mon Aug 07, 2006 3:44 pm

Post » Tue Sep 03, 2013 5:56 pm

I've been looking this problem up online, there are even some stock spells that other NPC's have that I can't get mine to use (summoning Atronocs). I'm wondering what's up here as well.

User avatar
emily grieve
 
Posts: 3408
Joined: Thu Jun 22, 2006 11:55 pm

Post » Tue Sep 03, 2013 4:09 pm

Okay, I figured it out. Remove AI data parts. That seemed to fix it for me. I don't know how to create priority for certain spells but if you just want to use 1 spell, that works.

So what does script effect AI data actually do? I thought it was the percentage that the npc will use the spell. When I had 3 spells and set it to 80%, the npc never used the spell.

User avatar
Jeneene Hunte
 
Posts: 3478
Joined: Mon Sep 11, 2006 3:18 pm


Return to V - Skyrim