I've started work on this script that would allow the user to essentially "hack" a terminal and it would open up all the doors in an area.
;Artificial Intelligence Script
;Created By Justin Denchy 6/3/13
;Header
desc = Hackable Terminal 1 (Tutorial)
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\user\Desert Fox\Computer Hacking\Tutorial Hack\Main Screen 1.png,hudname=mainscreen0,hudmake=display,hudhide=1
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\user\Desert Fox\Computer Hacking\Tutorial Hack\Main Screen.png,hudname=mainscreen1,hudmake=display,hudhide=1
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\user\Desert Fox\Computer Hacking\Tutorial Hack\Error.png,hudname=error,hudmake=display,hudhide=1
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\user\Desert Fox\Computer Hacking\Tutorial Hack\Door Unlock.png,hudname=doorunlock,hudmake=display,hudhide=1
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\user\Desert Fox\Computer Hacking\Tutorial Hack\Door Unlock Confirm.png,hudname=doorunlockconfirm,hudmake=display,hudhide=1
:state=0:dimvar=doorunlock,setvar=doorunlock 0,dimvar=pda1,setvar=pda1 0
:state=0,plrdistwithin=60,plrusingaction=1,varequal=pda1 0:hudshow=mainscreen0,walkkeys=0,state=1
:state=0,plrdistwithin=60,plrusingaction=1,varequal=pda1 1:walkkeys=0,hudshow=mainscreen1
:state=1,plrusingaction=1:hudunshow=mainscreen0,walkkeys=1
:state=2,keypressed=2:hudunshow=mainscreen1,hudshow=doorunlock,state=4
:state=2:hudunshow=mainscreen1,hudshow=error,state=3
:state=3,plrusingaction=1:hudfadeout=error,walkkeys=1
:state=4,keypressed=2:hudunshow=doorunlock,hudshow=doorunlockconfirm,state=5
:state=4,keypressed=2:hudunshow=doorunlock,hudshow=error,state=6
:state=5,keypressed=21:hudfadeout=doorunlockconfirm,addvar=doorunlock 1,walkkeys=1
:state=6,plrusingaction=1:hudfadeout=error,walkkeys=1
;End Of Script
The problem that I'm having is that when I start the level, one of the HUDs just randomly appears on the screen, and also, when I go up and "use" the terminal, it doesn't do anything. Any help would be greatly appreciated as always!
AMD FX-6300 Vishera 3.5GHz, Radeon HD 7850 2GB, 8 GB RAM, Win 7 Pro 64 Bit