I have been working on this script and it is not working for me. What I am trying to do is you start the level with one hud but as you complete certain objectives the hud changes telling the player what is left to do. I have the hud doing what I want except the hud you start with won't fade away. Here's the script. I could use some help asap. Thanks!
;Artificial Intelligence Script
;Header
desc = C4
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=useswitchprompt,hudhide=1,hudmake=display,state=10
:plrdistwithin=50:hudshow=useswitchprompt,hudfadeout=useswitchprompt
:state=10,plrdistwithin=50,plrusingaction=1:state=1,plrsound=$0,activateifused=1,alttexture=1
:state=1,plrusingaction=0:state=2
:state=2:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\c4togo5.tga,hudname=c4togo5,hudhide=1,hudmake=display,state=10
:plrusingaction=0:hudhide=gamecore\huds\c4togo6.tga,hudshow=c4togo5,hudhide=c4togo6
;End of Script
Here's a couple of pics of what happens.
[img]
[/img][img]
[/img]