Mr Love
This is really a scripting question, but a simple script to have a door open by an NPC
;Header
desc = entity within open door
;Triggers
:state=0,anywithin=50:state=1,setframe=0,sound=$0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff
:state=2,anyfurther=100:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=0,setframe=0
;End of Script
Attach to door main script, any entity with 50, door will open.
Your guard looks great

Is he friend or foe ? With the hoodie/mask I'm confused

My games never have bugs. They just develop random features..
Lots and lots of random features...