Stop NPCs from attacking aggressor

From The Elder Scrolls Construction Set Wiki

How would I make it so if a certain NPC attacks me, none of the NPCs(at least the guards and general public) won't attack the NPC that attacked me.

--Nate1054 02:32, 23 April 2006 (EDT)

I remember a few quests for the Dark Brotherhood in which you go to kill someone and they are expecting you and they've "payed off the guards" so that the fight can go unpunished. Take a look at the scripts for those quests.--Omzy 01:08, 12 June 2006 (EDT)


--Anonymous

Try this

player.SetCrimeGold 0

PayFineThief

player.StopCombatAlarmOnActor



You should probably use factions for this. If an NPC is in the same faction as you, and the "Special Combat" checkmark is checked, then the guards won't be alerted.

So, create a faction that has "Hidden from the PC" and "Special Combat" checked. Make the NPC part of this faction, and force the player to join via script.

--PoHa! 03:30, 10 July 2006 (EDT)

Personal tools