Getting an NPC to use Bound Weapons

Post » Tue Jun 19, 2012 2:10 pm

I'm making a follower that specializes in conjuration, with a bit of destruction/alteration thrown in..

I can't seem to get him set so that he'll use a bound weapon. He has the Bound Sword spell, but i've tested him a few times now and he will go to unarmed combat, and doesn't cast the dang bound sword spell. I saw him do it once, out of three tests.

He should be casting it fairly often... how do I get him to use it more? (almost all the time)

I set his unarmed/ranged to 0 in his combat style, magic is set highest, with melee set a bit below that.


What do I need to do?? :/
User avatar
Devils Cheek
 
Posts: 3561
Joined: Sun Aug 13, 2006 10:24 pm

Post » Tue Jun 19, 2012 4:14 pm

There are certain Falmer who use bound weapons pretty much any time they get into combat, you could look through those to see how their behaviors are set up or if they have some sort of custom script or something which makes them more likely to use bound weapons.
User avatar
Danial Zachery
 
Posts: 3451
Joined: Fri Aug 24, 2007 5:41 am

Post » Tue Jun 19, 2012 12:25 pm

The only NPCs I could find that use it are the Thalmor, and looking at them it appears that when they have the spell... it is the only offensive spell they possess.

I wanted to make my NPC use necromancy, some very basic destruction magic in the offhand, and a bound sword in the right hand.

Not really sure it will work, in this case. :/


Thanks for responding!
User avatar
Roddy
 
Posts: 3564
Joined: Fri Jun 15, 2007 11:50 pm

Post » Tue Jun 19, 2012 9:16 pm

I haven't done anything with packages, but from the description, this looks promising http://www.creationkit.com/UseMagic_%28Procedure%29

failing that, it should be fairly easy to script

script would use an OnCombatStateChanged event to cast your bound weapon spell after combat was started
User avatar
Holli Dillon
 
Posts: 3397
Joined: Wed Jun 21, 2006 4:54 am

Post » Tue Jun 19, 2012 1:51 pm

I haven't done anything with packages, but from the description, this looks promising http://www.creationkit.com/UseMagic_%28Procedure%29

failing that, it should be fairly easy to script

script would use an OnCombatStateChanged event to cast your bound weapon spell after combat was started

You can do that? Oh man, my boss fights are about to get way more interesting.
User avatar
Anne marie
 
Posts: 3454
Joined: Tue Jul 11, 2006 1:05 pm

Post » Wed Jun 20, 2012 12:08 am

You can do that? Oh man, my boss fights are about to get way more interesting.

http://www.creationkit.com/OnCombatStateChanged_-_Actor
registers 3 separate events (leaves combat, starts combat, starts searching for target)

http://www.creationkit.com/Cast_-_Spell
won't play the casting animation though which is why I linked UseMagic in my first post
User avatar
Penny Wills
 
Posts: 3474
Joined: Wed Sep 27, 2006 6:16 pm

Post » Tue Jun 19, 2012 7:17 pm

Did you ever get the bound weapon to work? I've been trying, I created an Override package for combat that used the UseMagic template but the follower would just run from combat and yield. The only offensive spell she has is Bound Bow and her combat style was set to HumanCombatMagic.
User avatar
michael flanigan
 
Posts: 3449
Joined: Thu Jun 14, 2007 2:33 pm


Return to V - Skyrim