Sign in to follow this  
Followers 0
Seagul

Hold Left Arrow x amount of secs

3 posts in this topic

I'm trying to hold left arrow down for 1500 sec, so it rotates camera in game.

Whats Wrong with

Func Rotate()

Send("{LEFT down}")

Sleep("1500")

Send("{LEFT up}")

EndFunc

Share this post


Link to post
Share on other sites



This should help

Opt("SendKeyDownDelay", 1) ;1 millisecond

Share this post


Link to post
Share on other sites

Thanks I dropped the function+adlib and just threw it into my mainloop. Works fine now :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0