Hi, I have this script and iv been playing around with it for ages and I just cant get it to work, iv got the code working for the main part, but it wont display the hud message, or I can get it displaying the hud message, but then the code doesnt do what its supposed to do.
Basically I have a toolbox with the script below. Then I have a Vent that requires a key to open it, but iv altered that script to say its bolted and that you need to find some tools to open it, however I dont want the user just to walk up to the tool box and collect the tools, I want to make them press enter on it to collect the tools.
Here is the code I have so far...
whats wrong with it?
Thanks in advance
;Artificial Intelligence Script
;Header
desc = Pickup Tools
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickuptools.png,hudname=toolprompt,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=60,hudshow=toolprompt,hudfadeout=toolprompt,plrusingaction=1:state=3
:state=3:timergreater=500,playertake,coloff
;End of Script