An NPC does not use his weapon in combat.

Post » Wed Jun 20, 2012 7:41 pm

(story is not meant to be compelling. It's just for learning purposes)
So theres a barbarian sitting in the woods. He asks you to get his axe and you go fetch it for him. Then he asks you to help him re-claim his home because it has been ravaged by a bear.

So all works well and he walks to his house and I fight the bear and all that. But the main problem is:

He doesn't use his axe when fighting the bear.

I've tried scripting it so that it doesn't take the axe alias from the player and to the barbarian but instead removes the alias from the players inventory and adds a new copy of the item to the barbarians inventory. Didn't work.
I tried changing "AddItem" (the command that tells the game to add a copy of the axe to the barbarian ) to "EquipItem" and he equips it just like what happens with AddItem but he still only fights with his fists.


Here is the file if somebody is bored enough to help me: http://www.mediafire.com/?z2zabhddw2e13s1
User avatar
victoria gillis
 
Posts: 3329
Joined: Wed Jan 10, 2007 7:50 pm

Post » Wed Jun 20, 2012 5:00 am

What combat style have you setup on him, is there a navmesh in his house. Is it a one or two handed axe? Does he have a decent skill level with it. How about his ai packages.

Does he not fight it at all or just not with his axe?
User avatar
kevin ball
 
Posts: 3399
Joined: Fri Jun 08, 2007 10:02 pm

Post » Wed Jun 20, 2012 10:50 am

Combat style is default (I tried bandit boss 2h too). Navmesh is outside his house (where the bear is located), 2hand axe, pretty sure AI packages have nothing to do with this, and yes he uses his fists in fights.

I'll check out the skill level though. But it seems like a weird way to fix it.
User avatar
Tamara Primo
 
Posts: 3483
Joined: Fri Jul 28, 2006 7:15 am

Post » Wed Jun 20, 2012 7:15 pm

Nope he had 2h at 100.
User avatar
Loane
 
Posts: 3411
Joined: Wed Apr 04, 2007 6:35 am

Post » Wed Jun 20, 2012 9:30 am

Check that under inventory he has "geared up weapons" set to something other than 0.
User avatar
Rachel Eloise Getoutofmyface
 
Posts: 3445
Joined: Mon Oct 09, 2006 5:20 pm

Post » Wed Jun 20, 2012 9:53 am

He used to have it on 1 so I tried 0 and it didn't work.

EDIT: 2 didn't work either.
User avatar
tegan fiamengo
 
Posts: 3455
Joined: Mon Jan 29, 2007 9:53 am


Return to V - Skyrim