Page 1 of 1

Click 'n' key

PostPosted: Wed Feb 09, 2005 10:57 pm
by willg101
Is there any way to to check if an actor is being clicked on and if there is a certain key down at the same time? If so, please give example code.

PostPosted: Fri Feb 11, 2005 7:31 pm
by makslane
In a Mouse Down event and use GetKeyState(); function.
Look this threads:

http://game-editor.com/forum/viewtopic. ... etkeystate
http://game-editor.com/forum/viewtopic. ... etkeystate