alright ive been messing with this script for a while, but it keeps messing up.
;Artificial Intelligence Script
;Header
desc = My Locked Door Script :)
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\Disturbance Text\doorlockedfindkey.dds,hudname=keydoorprompt,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\Disturbance Text\pressftouse.dds,hudname=usedoorprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=keydoorprompt,hudfadeout=keydoorprompt
:state=10,plrdistwithin=60,plrhaskey=1:hudshow=usedoorprompt,hudfadeout=usedoorprompt, state=11
:state=11,plrdistwithin=60,plrusingaction=1:state=1,setframe=0,sound=$0
:state=1:incframe=0
:state=1,frameatend=0:state=2,coloff
:state=2,plrdistfurther=60:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=10,setframe=0
;End of Script
each time i get to the door, the first image "doorlocked blah blah" displays fine, but once i get the key and go to try it again, it shows the original "press enter to use" hud, and then won't work.
can anyone please help?