Quote: "...HUDNAME=NOTHING should be created in state 0, along with HUDNAME=NOTHING. "
You mean, along with HUDNAME=CREATE?
Like Seth said, all of your HUDs should be created in state=0
That is because you only need to create the HUDs once.
Placing them in other states attempts to recreate them, which is asking for trouble.
desc = generate weapon by random chance
:state=0:hudreset,hudx=50,hudy=85,hudimagefine=gamecore\texthuds\nothingfound.tga,hudname=nothing,hudhide=1,hudmake=display1
:state=0:hudreset,hudx=50,hudy=85,hudimagefine=gamecore\texthuds\searchweapon.tga,hudname=create,hudhide=2,hudmake=display2
:state=0,plrdistwithin=60:hudshow=create
:state=0,plrdistwithin=60,scancodekeypressed=28:state=10,hudunshow=create
; Random Check to spawn dagger. If not the show Found nothing HUD
:state=10,random=3:state=11
:state=10:state=3
:state=11:settargetname=r01_dagger,activatetarget=1,state=4
:state=3:hudunshow=create,hudshow=nothing,state=4
:plrdistfurther=60:hudunshow=create,hudunshow=nothing
Also, if you are using an empty state (like your state=4), then you don't even need it there. (see stock scripts for examples)