I'm creating a rogue-centered mod. I've added between 3-5 items on each NPC that is flagged as pick pocektable. I've removed their OnDisturbed script which theoretically, should make it so they dont go hostile when they are pickpocketed. Yet, somehow, they still manage to aggro when the attempt is discovered. Did I miss something here? They're all of the faction 'Commoner'.
Pick Pocket Woes
Débuté par
Tiggers.no.tail
, juin 20 2011 11:16
#1
Posté 20 juin 2011 - 11:16
#2
Posté 20 juin 2011 - 12:32
Silly me, If you set the plot flag on a character it solves my problem (somewhat)
#3
Posté 21 juin 2011 - 05:10
After poking around the net for a few minutes it appears that the npc is made an enemy before the OnDisturbed script is called. I think that nw_c2_default8 is the OnDisturbed script and it just ensures that the fight starts immediately.
You might try making your own OnDisturbed script that calls AdjustFactionReputation and raises the faction back up so that the PC is no longer an enemy. You could also put whatever you want the npc to do into that script (like start a conversation of something).
You might try making your own OnDisturbed script that calls AdjustFactionReputation and raises the faction back up so that the PC is no longer an enemy. You could also put whatever you want the npc to do into that script (like start a conversation of something).





Retour en haut






