Sign in to follow this  
Followers 0
Guest Azh321

Recognizing key presses

5 posts in this topic

Ive been looking around but havnt seen anything, how would I do something like this:

if(key(arrow_up) == 1)

{

bleh

}

? All I wanna do is loop some if statements waiting for keypresses then do something, how would I do that

Share this post


Link to post
Share on other sites



Have a look at the IsPressed UDF linked in my sig.

Share this post


Link to post
Share on other sites

Have a look at the IsPressed UDF linked in my sig.

<{POST_SNAPBACK}>

HotKeySet ( "key" [, "function"] )
may be easier...

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Without spirit to offend, (neither sarcasm), but, this question would be fine within the FAQ.

Cause, I have seen several times similar questions about: "How detect keypresses"

Just MHO.

Share this post


Link to post
Share on other sites

Without spirit to offend, (neither sarcasm), but, this question would be fine within the FAQ.

Cause, I have seen several times similar questions about: "How detect keypresses"

Just MHO.

<{POST_SNAPBACK}>

slightly less worried about offending (the people asking the same question, not you Josbe), if they don't check the forum or the help file before asking, i don't think they'd read the faq first either... but that's just my opinion...

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

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