So, what I want to do with scripting is to show a warning-text that shows there are new objectives, and press "O" to see the hudimage. I want the warning-text to disappear when press "O". I have tried hudtext and fpgcrawtext but nothing seems to work? Can You help??
Here is the script:
desc = Display Objectives while O key pressed
;Triggers
:state=0,plrwithinzone=1:plrsound=audiobank\misc\ping.ogg,fpgcrawtext=NEW OBJECTIVES,state=1
:state=1:hudreset,hudx=50,hudy=50,hudimagefine=languagebank\english\gamecore\huds\objectives2.png,hudname=objectives2,hudhide=1,hudmake=display,state=2
:state=2,scancodekeypressed=24:fpgcrawtextoff,state=3
:state=2:hudunshow=objectives2
:state=3:hudshow=objectives2,state=2
;End of Script