Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Semi advanced lock picking script help

Author
Message
Tomahawk
11
Years of Service
User Offline
Joined: 16th Dec 2012
Location: Where do you think I live?
Posted: 6th Jun 2013 17:38
Okay, as my title says a have a semi advanced lock picking script, and it is not working. What is supposed to happen is the player is supposed to tape (Z) then (x) then do it again, and all of this has to be done fast or the door wont open. here is my script right now, and the problem is that the door just opens.

The problem is that the door just opens at the start of the level without me even pressing anything.

Thank you in advance to any and all help.

ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 6th Jun 2013 21:30
Hi Tomahawk
After a quick qlance I noticed right off one problem is your "scancodekeypressed"
Z is "scancodekeypressed=44"
X is "scancodekeypressed=45"
I attach a pic of the key code list.
best

Attachments

Login to view attachments
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 6th Jun 2013 21:46
Aaaaahhh yes. The famous key code list. It has been invaluable for me. Good catch ncmako.

Tomahawk, I recommend you copy this image to your hard drive. It is a valuable asset.


Photo by TRCox
-- The Playground is a Great Place for Happy Feet --
Tomahawk
11
Years of Service
User Offline
Joined: 16th Dec 2012
Location: Where do you think I live?
Posted: 6th Jun 2013 23:30
Ahhhh! i cant believe i missed that! i just had that setup so it would be easier for me to understand while i'm seating it up and completely forgot to replace those with the numbers.

Thank you, i will try it out the right way and see the results.

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 8th Jun 2013 02:31 Edited at: 8th Jun 2013 02:33
i would get rid of the capital s in State=0 as well

your desc= is blank?

Tomahawk
11
Years of Service
User Offline
Joined: 16th Dec 2012
Location: Where do you think I live?
Posted: 10th Jun 2013 16:17
Works well!! Thanks for all your help.

Login to post a reply

Server time is: 2024-11-23 14:26:33
Your offset time is: 2024-11-23 14:26:33