Hey everyone, I already have a post about this but its because my script isn't working.
Now, the concept of this script is:
You walk up to a guy, you enter the trigger zone, then a box pops up at the bottom of your hud, it has 1-? Questions listed on it, each numbered.
With your numpad, you press the number on the numpad corresponding to the question you want to ask, and then...
You are given a reply! So for example...
<You Press 1 on the Numpad>
You: What is the code for the door to the red room?
Random Guy: The Code? Oh yeah, its 2465.
Problem is, its not working. I enter the T Zone and then it pops up with the 2nd reply to my tester question.
Heres the code:
;Artificial Intelligence Script
;by Peter Davidson
;Header
desc Asking Questions
;Triggers
:state=0,plrwithinzone=1:state=1
:state=1:hudreset,hudx=50,hudy=60,hudimagefine=languagebank/english/gamecore/messages/ask1r1.bmp,hudname=askprt1,hudhide=1,hudmake=display,state=2
:state=2:hudshow=askprt1
:state=2,scancodekeypressed=79:state=3
:state=2,scancodekeypressed=80:state=4
:state=2,plrwithinzone=0:state=0
:state=3:hudreset,hudx=50,hudy=60,hudimagefine=languagebank/english/gamecore/messages/ask1r1.bmp,hudname=askprt2,hudhide=1,hudmake=display,state=5
:state=4:hudreset,hudx=50,hudy=60,hudimagefine=languagebank/english/gamecore/messages/ask1r2.bmp,hudname=askprt3,hudhide=1,hudmake=display,state=6
:state=3:hudshow=askprt2
:state=3:timerstart,state=5
:state=4:hudshow=askprt3
:state=4:timerstart,state=6
:state=5,timergreater=5000:state=7
:state=6,timergreater=5000:state=8
:state=7:hudunshow=askprt2,state=2
:state=8:hudunshow=askprt3,state=2
;End of Script
Im a new user, im young and FPI-dyslexic, i simply dont have the foggiest and cant learn FPI, so copy and paste code snippets please!