Zzbrandon Posted August 27, 2012 Author Share Posted August 27, 2012 How I change controls like instead of pressing ctrl to attack how i change them and stuff? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 27, 2012 Share Posted August 27, 2012 Check Public Sub CheckInputKeys() client-side.```If GetKeyState(vbKeyControl) < 0 Then```[(List here.)](http://msdn.microsoft.com/en-us/library/0z084th3%28v=vs.80%29.aspx)Also change:``` If GetAsyncKeyState(VK_CONTROL) >= 0 Then ControlDown = False```[(List here.)](http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx)Note that if it is a printable key (a, b, c, d, etc.), you'll have to implement a click-to-type system. Link to comment Share on other sites More sharing options...
Joyce Posted August 28, 2012 Share Posted August 28, 2012 Or you can try to find a copy of Eclipse Dawn and rip the keybind system. :] It'll allow the user to change his/her own keys. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now