Mr Love Let me check my script. I see one problem already, at state=10 your using "hudhide" like an action command?
It's only supposed to be used during the definition of a hud, Not sure if it works that way ? If player does not have "key"
and you don't want a hud .... just omit that line .
At the line state=2 if player stops using the action key "plrusingaction=0:hudunshow=working,hudshow=tools"
it shows the "tools" hud again...even if you walk/go far away
Let me work this out. This is why I needed the "exact" images for the hud and what you intended them to do
before hand
so no changes are needed later on.
Ok, I just guessing here since I don't have the hud images. try & test this for the cell door.
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\tools.dds,hudname=tools,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\working.dds,hudname=working,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=60,plrhaskey=1:state=1,hudshow=tools
:state=10,plrdistfurther=65:hudunshow=tools,hudunshow=working
:state=1,plrdistwithin=60,plrusingaction=1:hudunshow=tools,hudshow=working,state=2,etimerstart,sound=audiobank\dialog\prison\picklock.ogg
:state=2,plrusingaction=0:hudunshow=working,stopsound,state=10
:state=2,etimergreater=10000:hudunshow=working,state=3
:state=3:setframe=0,state=4
:state=4:incframe=0
:state=4,frameatend=0:state=5,coloff
My games never have bugs. They just develop random features..
Lots and lots of random features...