It looks like you're new here. If you want to get involved, click one of these buttons!
misterhup            
            
                Member             
            --code pause the code 3 seconds --after 3 seconds continue with the rest of the code  | 
Comments
Likes: misterhup
In my case I usually have a GameLoop class that other classes listen to:
Likes: misterhup
Likes: misterhup
But if you want the busy wait method, you could try this:
http://lua-users.org/wiki/SleepFunction
Likes: misterhup