Very interesting. I was thinking to do something more active aswel, for example, if the player stand on the line of sight of a specific npc, he would be caught and send to jail.
1653572276
Thats exactly what I had on my mind, but I had no idea if that was possible, thanks for showing me a way.