Dawntide Posted August 29, 2012 Author Share Posted August 29, 2012 hello,i changed the source code so i can you number and f keys:```' hotbar For i = 1 To MAX_HOTBAR ' Number keys If KeyCode = 48 + i Then SendHotbarUse i ' F keys ElseIf KeyCode = 111 + i Then SendHotbarUse i End If Next```The f keys are working fine, but the number keys only work from 1 to 9, what are the other 3 keys for the f10 f11 and f12 spells in the hotbar? how to change them so it uses 1-9, 0, ? and ´ Link to comment Share on other sites More sharing options...
blkcrow Posted August 30, 2012 Share Posted August 30, 2012 ```'hotbar'for i = 1 to MAX_HOTBAR 'Number keys' if keycode = 111 + i then SendHotbarUse i ElseIf i < 10 and keycode = 48 + i then SendHotbarUse i ElseIf i = 10 and keycode = 48 then SendHotbarUse i End If next```with this code you can use 0 instead of F10 i cant find the key codes for ? and ' though 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