How to make a normally hostile NPC friendly

Post » Wed May 30, 2012 4:12 pm

Simple really how do you do it, I tried adding a bandit to the player ally faction with 0005A1A4 1 and it seemed to work but they still attacked me I used the code stopcombat but it only stopped them for a moment, any ideas on how to do this?
User avatar
carrie roche
 
Posts: 3527
Joined: Mon Jul 17, 2006 7:18 pm

Post » Wed May 30, 2012 6:19 pm

Simple really how do you do it, I tried adding a bandit to the player ally faction with 0005A1A4 1 and it seemed to work but they still attacked me I used the code stopcombat but it only stopped them for a moment, any ideas on how to do this?

Also adding factions doesnt work on 100% of the NPCs of the faction you can try to mess with their aggression parameters but then they will probably just not attack anything. (It basically can get buggy when you add yourself to normally enemy factions)

Does this do anything?
player.setrelationshiprank
User avatar
Jessica Colville
 
Posts: 3349
Joined: Wed Oct 18, 2006 6:53 pm

Post » Wed May 30, 2012 8:57 pm

Thanks for the help yes it does, for anyone interested you have make the targeted NPC join the player faction then set their relation to 4 then stop combat and then they act like a normal NPC.
User avatar
Laura Elizabeth
 
Posts: 3454
Joined: Wed Oct 11, 2006 7:34 pm


Return to V - Skyrim