What makes guards hostile during jailbreaks?

Post » Mon Oct 21, 2013 9:17 am

When you escape from a jail, what exactly makes the guards hostile to the player?

User avatar
Queen
 
Posts: 3480
Joined: Fri Dec 29, 2006 1:00 pm

Post » Mon Oct 21, 2013 7:10 am

According to the wiki, this is controlled by the Story Manager. Specifically, the http://www.creationkit.com/Escape_Jail event

- Hypno
User avatar
Prisca Lacour
 
Posts: 3375
Joined: Thu Mar 15, 2007 9:25 am

Post » Sun Oct 20, 2013 11:21 pm

That's not what I mean. When I break out of jail and put on a guard's uniform, I don't want the guards to be hostile to the player. I've tried SetCrimeGold(0) and SetCrimeGoldViolent(0). I've tried SetPlayerEnemy(false). I've tried making the guard faction allied with a custom faction assigned to the player. The guards still immediately go hostile once they see the player.

e: Oh. PlayerPayCrimeGold() is what I needed. :|

User avatar
Scared humanity
 
Posts: 3470
Joined: Tue Oct 16, 2007 3:41 am


Return to V - Skyrim