I would like to know if there is a way to find out if some keys were pressed in a certain order (immediately or not, one after another), let's say I was pressing attack and then pressed jump (attack -> jump). Another example, let's say I was running right, I pressed left to run in this direction. In this situation, how do you know that I pressed -> and <- in that order?
I'm not looking for a way to save these combinations. For example, like the Guile Super in Street Fighter which is back, foward, back, foward + punch (<-, ->, <-, ->). I just want to know if the last 2 or 3 keys pressed came out in that order to put in a if statement.
Thank you and hope I made myself understood. :)