Joeyroyden Posted March 30, 2014 Share Posted March 30, 2014 (edited) I'm working on a script in scar 3.40 for a game that requires the use of arrow keys. i've tried vkeydown(vk_up) method but... The problem with this option is that its using the number pad up arrow [num 8] instead of the up arrow and the game has reserved the numpad for emotes. So instead of walking, my character just makes faces... I then tried the keydown(chr(38)) method but for some reason its scar only types "|" repeatedly instead of using the the up arrow. Has anyone come across this problem yet and are there any ideas has to a way to overcome this problem? Any help is more than appreciated on this. Thank you EDIT---v Ok so I just made this script to try to figure out this issue program New; var x:integer; begin x:=198 cleardebug; repeat writeln('CHR '+inttostr(x)+ ' is: '+chr(x)); keydown(chr(x)); wait(50); keyup(chr(x)); wait(200); keydown(chr(x)); wait(50); keyup(chr(x)); wait(2000); x:=x+1 until x=300; end. And the result was as follow CHR 200 is È but in the game, it pressed up CHR 203 is: Ë but in the game, it pressed left CHR 205 is: Í but in the game, it pressed right CHR 208 is: Ð but in the game, it pressed down This is a long ways from what these values were in scar > 3.34 So the problem for me is solved but is it possible that this might be a bug in scar 3.40? Edited March 30, 2014 by Joeyroyden added scar version Quote Link to comment Share on other sites More sharing options...