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.

Author
Message
heyworth83
21
Years of Service
User Offline
Joined: 26th Nov 2002
Location: United Kingdom
Posted: 18th Jun 2003 00:21
most fps games use "w", "s", "a", "d" keys instead of arrowkeys for movement, but in db only one of these keys can be used at once (using inkey$). just wondered if there was a way round this. thanks.
Obear
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location:
Posted: 18th Jun 2003 02:30 Edited at: 18th Jun 2003 02:31
have you tried the keystate command??

ie

if keystate(insert keystate number for relevent key here) = 1 then bla bla bla

Phoenix
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location:
Posted: 18th Jun 2003 03:48
If keystate doesn't work you could also try scancode which works the same way as keystate. but just a little different

ie

if scancode() = number for key then bla bla bla

if you don't know the numbers you could use this code to find out the keystate or scancode's.



position object myFoot,object position x(yourFace),object position y(yourFace),object position z(yourFace)
Bloodshot
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location: United Kingdom
Posted: 18th Jun 2003 17:22 Edited at: 18th Jun 2003 17:40
Try this heyworth83, I think I've covered all you're asking for:

heyworth83
21
Years of Service
User Offline
Joined: 26th Nov 2002
Location: United Kingdom
Posted: 19th Jun 2003 00:33
THANKS ALL!!! [b])
haXor
21
Years of Service
User Offline
Joined: 12th May 2003
Location: United States
Posted: 19th Jun 2003 03:49
go to [href] http://hometown.aol.com/alp29b/ScanCodes.txt [/href] it has a list of all the san codes

Sup Kids

Login to post a reply

Server time is: 2024-11-24 18:56:40
Your offset time is: 2024-11-24 18:56:40