04-28-2010, 05:34 PM
|
Finger lickin' good.
|
|
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
|
|
keydown2
If you're using keydown2() and something else takes focus (i.e. playerlist) while a key is down, then the key will still be considered down after it is released. It will remain "stuck" even after whatever stole focus is closed, and until you press the key again.
If you've ever been running on a server and press F7 to open a PM, and your character continues to run even though you're not pressing anything -- that's what I'm talking about. The reason I'm not using keydown(0-3) for movement is because the server I'm working on has it's own custom options where players can set controls for everything. |
|
|