@Flash...
Easy as heck to script with an ONKEY=
:state=0:state=1
:state=1,onkey=30:state=2
:state=2,onkey=31:state=3
:state=3,onkey=32:state=4
:state=4,plrusingaction=1:state=5
:state=5
open door)
hmm, you kinda need a little more if you don't want random key presses to open the door. Not could be do able, but errors are bound to occur. (like if onkey=0)
por fabor
Quote: "
#constant AICONDNOTKEY 891
conword$(AICONDNOTKEY)="notkey"
case AICONDNOTKEY:
conda=aicondition(seq).valuea
sca=scancode()
if sca=conda and sca<>0 then airesult=0
endcase
"
:state=0:state=1
:state=1,onkey=30:state=2
:state=2,onkey=31:state=3
:state=2,notkey=31:state=1
:state=3,onkey=32:state=4
:state=3,notkey=32:state=1
:state=4,plrusingaction=1:state=5
:state=5
open door)
which would not only work, but would restart the door if the plr presses the wrong keys.
"ye oft de adopte early shalt move mountains, and be gods among men"
He who knows everything knows nothing at all.