I'm writing a game where first the user makes his list of actions, an algorithm, and then the character at the game simulate the actions.
I'm stuck at this, when I set more than one command, line of code in this case, they all run at the same time.
I tried putting a wait at the character function, but I saw that 'wait' doesn't work with functions.
Someone know how to overcome this?