Script to monitor "stealing behaviour" of the player

Post » Wed Jan 29, 2014 10:13 pm

Hi everyone,

I'm currently working on a quest which requires the following:

Whenever the player picks up something in a house (steals it) and he has line of sight to a guard, the game will remove the stolen item from the players inventory, give him a debug notification that he has been caught stealing and moves him in front of the door.

I tried assigning crime factions and controlling the guards behaviour, but I always end up with the guard attacking the player after the second time he steals something. Now I thought that it would be wiser to control this kind of behaviour by means of a script. Do you have any ideas on how I could accomplish the above?

Thanks in advance for your help!

Nicolas

User avatar
R.I.P
 
Posts: 3370
Joined: Sat Dec 01, 2007 8:11 pm

Return to V - Skyrim