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 / Scan Codes...

Author
Message
Slayer1918z
14
Years of Service
User Offline
Joined: 18th Jun 2010
Location:
Posted: 24th Jun 2010 20:12
I've been wondering about the scripting condition scancodekeypressed= and have found no info on it so it turn here. I understand that you put a number there such as scancodekeypressed=11 and that means when the number 1 is pressed but im wondering what number you would use for the Q key for example, or the T key. Thanks.
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 24th Jun 2010 20:15
The scan code keys used for scripts are these:



- BlackFox

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 24th Jun 2010 20:58 Edited at: 24th Jun 2010 21:06
As you can see from the image, the Q is #16, and the T is #20.

That TAB key is #15 by the way. (the image has a damaged 1 so it looks like 5)

One warning though, I think the American and European keyboards use different scancodes, so the numbers may be different if you are not from USA.
I'm not certain about that, but I seem to remember something about there being two sets of scancodes.

This is one image I keep handy right on my desktop.

   Conjured Entertainment

 WARNING: Intense Madness
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 24th Jun 2010 21:15
Quote: "That TAB key is #15 by the way. (the image has a damaged 1 so it looks like 5)"


I had not noticed that. All fixed.

- BlackFox

Slayer1918z
14
Years of Service
User Offline
Joined: 18th Jun 2010
Location:
Posted: 24th Jun 2010 21:17
Thanks, this helps alot
Crazy Acorn
15
Years of Service
User Offline
Joined: 16th Mar 2009
Location: Stalking people...
Posted: 26th Jun 2010 08:04
wow now I know the table for scan codes...

- Gorlock

Login to post a reply

Server time is: 2024-11-24 21:48:34
Your offset time is: 2024-11-24 21:48:34