
09-29-2009, 04:29 PM
There is a way to do this. I'm assuming you have two different methods for the "a" and "s" keys. Make a world variable, name it something and set the value to true. Now in your "a" method, put everything in a "if" structure. Make the condition that the variable you made has to be true and make "else" do nothing. Also, in the "a" method in the end of the "if" set the variable to "false". Now for the "s" variable, do the same thing but make the condition for the variable to be false and set the variable at the end of the "if" statement to true. Hopefully, by doing this the player will have to repeatedly press one key then the other to move the bike (I hope this is what you were trying to ask).
|