Thread: Keydown...
View Single Post
  #9  
Old 03-15-2001, 10:57 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Quote:
Originally posted by Thak2

Do these work for other people? I have tried other ASCII numbers for other keys, but for some reason it doesnt work at all...
I think somehow I have to use #K(key) with the brackets since message #K(050); works fine and siplays the number 2.
Blah, try using this code:
NPC Code:
if (created||timeout) {
if (keydown(#K(050))) {
message test!;
}
timeout = 0.05;
}

__________________

Reply With Quote