Thread: Keydown
View Single Post
  #1  
Old 05-02-2009, 09:20 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
Keydown

Is there any way to get the keyname
HTML Code:
keyname(int keycode) returns string
^Returns UP, LEFT, DOWN and RIGHT, from when a player is pressing the default keys to move.

from the function 'onKeyDown'
HTML Code:
onKeyDown(keycode, key) 
mainly looking at the keycode, not the key.

Or, to just check if a player is pressing one of the detault keys set on Graals F3 options?
Reply With Quote