Ok so I have this code:
:state=0:dimlocalvar=x,setvar=x 1
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\z\z.dds,hudname=z,hudhide=1,hudmake=display,state=1
:state=1,varnotequal=x 1:hudshow=z,etimerstart
:etimergreater=500:setvar=x z,hudfadeout=z,state=2
:state=2:state=1
For some reason, the hud doesn't keep on showing(it only shows once).
I looked at the dooruse script and it makes no sense on why it works and mine doesn't...
Here is the dooruse:
: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
:state=2,activated=0:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=10,setframe=0
Does anyone see why mine doesn't work but this does?