Advanced Door Opener

I released a package Advanced Door Opener which distinguishes between outside/in and inside/out attempts to open a door. A locked door can’t be entered from outside, but always opened from inside.
To achieve this, add the doorOpener template (locator) as a child to the respective door. It will add 2 triggers, one shown red in the editor, which is the outside/in trigger and a blue one, which is the inside/out trigger.
I haven’t added any unlocking mechanism (yet), but it can easily done by modifying the CanOpen() function inside the script.
The script also comes with 2 event handlers, onOpen and onClose, which are called when the door opens or closes. It can be used to create more complex door opening logic like this: