[QUOTE=GeometriX] The problem is right there in your logic: you can't do something for 1 second every tick. Every tick is usually every 1/60th of a second.
If you want to do something for X seconds, you need to have a more specific condition, like "on keypress", "on key released" or "on collision"[/QUOTE]
I think you misunderstand me. If I want to have an AI move left, it has to be "simulating left" every tick to move smoothly. But how do I then get the AI/or a PC whose control is taken away from the player to stop after going left for 3 seconds?
So to be plain, I want to make something simulate pressing down left for 3 seconds. How do I do this so it moves left for 3 seconds then stops?Awakening2013-02-13 14:30:35