*Defeats the whole purpose.
DO NOT USE A LOOP ANYWHERE IN YOUR CODE. The tick event handler IS the loop.
Ok..
So basically what I had was WHILE harvest was enabled (enabled by the key press), do some stuff including press down a key, after the key is pressed down I need to count ticks and when x ticks have gone by, release the key.
How would I go about doing this if I cant use a while loop?
*Defeats the whole purpose.
DO NOT USE A LOOP ANYWHERE IN YOUR CODE. The tick event handler IS the loop.