View Single Post
  #1  
Old 02-04-2011, 09:44 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
get key as string

Since using keycode remains the preferred way to handle things since it allows players default key's to be used, I would appreciate the ability to figure out what character is associated with a players default keys, for the purpose of creating instruction signs that have proper info on them.

usage

getkeydownstr(int) - returns string for given keydown code

getkeydownstr(5) would return "S", etc.
Reply With Quote