Thread: arrow keys
View Single Post
  #7  
Old 10-20-2002, 07:53 PM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
Quote:
Originally posted by R0bin
that isnt standard ASCII code though, so it wouldnt do anything with keydown2
Huh? Something like this worked for me:
NPC Code:

if (playerenters) {
timeout = 0.05;
}
if (timeout) {
if (keydown2(38,true)) message Up;
if (keydown2(37,true)) message Left;
if (keydown2(40,true)) message Down;
if (keydown2(39,true)) message Right;
timeout = 0.05;
}

__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote