The script is meant to show a hud when getting close to a coded remote door , and once you enter the password in the number pad next to it , he hud disapperes and the door opens .
It's working fine on every thing excep the door opening !
Here's the script :
;Artificial Intelligence Script
;Header
desc = Remote Controlled Door (Open and Close)
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\text1.dds,hudname=t1prompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=100:hudshow=t1prompt,state=1
:state=1,activated=1:hudunshow=t1prompt,setframe=0,sound=$0,state=2
:state=2,frameatend=0:state=3,coloff
:state=3,activated=0:state=4,sound=$1,colon
:state=4:decframe=0
:state=4,frameatstart=0:state=0,setframe=0
Please help .
"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest