Quote: "is there a trigger when you walk trough door the door goes close automatical via trigger and you cannot open it again? "
Quote: "The easiest thing to do is to take the door script your using
and change the "state" after it "closes" to one not being used."
Like this...
Original door script
;Artificial Intelligence Script
;Header
desc = Use Door (Push Open and Push Closed) & Auto Close
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=usedoorprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=usedoorprompt,hudfadeout=usedoorprompt
:state=10,plrdistwithin=60,plrusingaction=1:activate=2
:state=10,activated=2:state=1,setframe=0,sound=$0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff
:state=2,plrdistwithin=60,plrusingaction=1:activate=0
;RICKS Auto-close feature (for all USE doors)
:state=2,anyfurther=100:activate=0
:state=2,activated=0:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=10,setframe=0
;End of Script
Door script that allows you to use once and then stays closed.
;Artificial Intelligence Script
;Header
desc = Use Door (Push Open and Push Closed) & Auto Close
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=usedoorprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=usedoorprompt,hudfadeout=usedoorprompt
:state=10,plrdistwithin=60,plrusingaction=1:activate=2
:state=10,activated=2:state=1,setframe=0,sound=$0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff
:state=2,plrdistwithin=60,plrusingaction=1:activate=0
;RICKS Auto-close feature (for all USE doors)
:state=2,anyfurther=100:activate=0
:state=2,activated=0:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=5,setframe=0
:state=5:none
;End of Script
Quote: "On the other hand, do you need the door to be usable till it's triggered to close/lock?"
Even with the above script, the door is usable. It could be modified to allow one use, two, or three uses.
There's no problem that can't be solved without applying a little scripting.