I posted this originally in another thread and never got an answer. My fault for throwing a second question in my thread. I was hoping someone could take a look at this and help me out.
My current issue is that I have changed the HUD that appears when you walk up to a door from the original script to a custom one. I changed the doorkey script by by copying the original and creating a new one called MYdoorkey. The new image is in my script as mylockeddoor.tga. When I change the door's main to my script the original doorkey.tga image still appears when you walk up to the door.
I find it odd because the door seems to completely ignore my new script and run as if the the original default door key was still attached to it. I've ran the cleaner several times.
Any idea what I'm overlooking or doing wrong?
Here's the script.
;Artificial Intelligence Script
;Header
desc = Key Door (Open 'With Key' and Close)
;Triggers
:state=0:hudreset,hudx=50,hudy=10,hudimagefine=gamecore\text\mylockeddoor.tga,hudname=keydoorprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60:hudshow=keydoorprompt,hudfadeout=keydoorprompt
:state=10,plrdistwithin=60,plrhaskey=1,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