I'm trying to make the HUD show a message, then delete the message and show a new one when the TAB key is pressed. I have these scripts assigned to trigger zones in my level. Some of the commands are un-needed, but are required in the level I am making. I'm using V1.09 with Ply's Mod.
To show the first message:
;Artifical Inteligence Script
desc = Tells Player How To Show Objectives
:state=0:setmaxweapslot=3,hudreset,hudx=60,hudy=90,hudtext=Press TAB to see your objectives,hudfont=Impact,hudsize=36,hudname=instruction,hudmake=display,hudhide=instruction,state=1
:state=1:hudshow=instruction,state=2
:state=2,scancodekeypressed=15:hudreset,state=3
And to show the next message:
;Artifical Inteligence Script
desc = Show Text Telling Player To Shoot A Target
;Triggers
:state=0,scancodekeypressed=15:hudreset,hudx=60,hudy=90,hudtext=Shoot the target to advance to the next room,hudfont=Impact,hudsize=36,hudname=objective,hudhide=1,hudmake=display,state=1
:state=1,scancodekeypressed=15:state=2
:state=1:hudunshow=objective
:state=2:hudshow=objective,state=1
The first message shows up just fine, but the second message refuses to show up. Any ideas?
Some people say that I'm crazy... And I agree.
USE PLY'S MOD!