How do I get two NPCs to fight?

Post » Fri May 27, 2011 4:34 am

How can I get two NPCs to fight? Is a script needed? And also, how do I get an NPC to follow the player and attack anyone of X faction? Just need this information for a mod I'm making for personal use.
User avatar
Lauren Graves
 
Posts: 3343
Joined: Fri Aug 04, 2006 6:03 pm

Post » Fri May 27, 2011 11:17 am

http://planetelderscrolls.gamespy.com/View.php?id=6083&view=Mods.Detail has the answers to your questions, and examples on how to use them in scripts.
http://planetelderscrolls.gamespy.com/View.php?view=utilities.detail&id=58 also has some scripts on making NPCs fight.
User avatar
Roberta Obrien
 
Posts: 3499
Joined: Tue Oct 23, 2007 1:43 pm

Post » Fri May 27, 2011 5:12 am

StartCombat "ID of Other Fighter"

Put that in a script and it should work fine n dandy ^_^


I'm not sure about the companion one though, but I would definatly take a look at grumpy scripts :)

I use that whenever I need someone to follow me in a quest, even if for 5 minutes.
User avatar
Elizabeth Davis
 
Posts: 3406
Joined: Sat Aug 18, 2007 10:30 am


Return to III - Morrowind