Console Questions

Post » Tue May 17, 2011 4:29 am

As the Topic Description asks: How can you remove the factions from NPC's and Monsters so they will attack any creature they see.

Example:

Say I wanted to spawn 1 Wolf and 1 Boar and I wanted them to fight each other. What Console Command would I have to use, im guessing you remove all of their factions and then they just attack each other or maybe you have to add them to another. No idea. If it has nothing to do with factions then i'm sorry for being a nab :P. Could you please help me :)

PS - Sorry if this is the wrong sub-forum to post this in, wasn't one specifically on the Console but its about scripts, please move it if its in the wrong place :)

Regards

Undeaddragon
User avatar
mollypop
 
Posts: 3420
Joined: Fri Jan 05, 2007 1:47 am

Post » Tue May 17, 2011 5:40 am

To remove thier faction by console, click on them and type SetFactionRank FactionID, -1, where FactionID is the Editor ID of the faction you want them removed from.
User avatar
Bryanna Vacchiano
 
Posts: 3425
Joined: Wed Jan 31, 2007 9:54 pm

Post » Tue May 17, 2011 5:31 am

Damn, wish there was an easy way

But if i remove them from all their factions they will be hostile to everything?
User avatar
daniel royle
 
Posts: 3439
Joined: Thu May 17, 2007 8:44 am

Post » Tue May 17, 2011 7:41 am

Damn, wish there was an easy way

You can remove their factions in the CS. Then you won't have to click on them every time. Alternately, you can create new wolves and boars and put them in factions that are hostile to one another. When you spawn those, they'll go after each other on sight.

But if i remove them from all their factions they will be hostile to everything?

It depends on their Aggression setting in the AI tab. If it's high, they'll attack anything that moves.
User avatar
Queen of Spades
 
Posts: 3383
Joined: Fri Dec 08, 2006 12:06 pm


Return to IV - Oblivion