Hello all! I recently attempted to make an adaptation of a script from the storyteller's adventure script pack...but the problem is that I suck at scripting. So what I would like the script to do is when the player presses enter the hud of the sign shows up so you can see the map on it but the text is at the bottom and still functions. Could anyone please shed some light on this matter?
Much appreciated
;Artificial Intelligence Script
;Header
desc= Show hud investigate script
;Triggers
:state=0,hudreset,hudx=50,hudy=40,hudimagefine=languagebank\english\gamecore\gamecore\huds\NoticeHud.tga,hudname=noticesign,hudhide=1,hudmake=display,:state=1
:state=1,pickobject=1,plrdistwithin=50,plrusingaction=1:timerstart,plrdisable=100000,hudshow=noticesign,state=2
:state=2:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=150,fpgcrawtextg=150,fpgcrawtextb=150,fpgcrawtextx=50,fpgcrawtexty=90
:state=2:fpgcrawtext=An emergancy sign for the employees. It details an access passage nearby for emergancies.
:state=2,timergreater=500,plrusingaction=1:timerstart,state=6
:state=2,scancodekeypressed=14:plrdisable=0,state=0
:state=6:fpgcrawtextsize=24,fpgcrawtextfont=verdana,fpgcrawtextr=150,fpgcrawtextg=150,fpgcrawtextb=150,fpgcrawtextx=50,fpgcrawtexty=90
:state=6:fpgcrawtext=This passage may lead to another way in.
:state=6,timergreater=500,plrusingaction=1:timerstart,plrdisable=0,hudshow=1,state=10
:state=6,timergreater=1500:plrdisable=0,state=10
:state=6,scancodekeypressed=14:plrdisable=0,state=10
:state=10,timergreater=1500:state=11
:state=11,pickobject=1,plrdistwithin=50,plrusingaction=1:timerstart,plrdisable=100000,state=6
;End of Script
