Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Use numberkeys for skills


iLeGiTiMx
 Share

Recommended Posts

Use keycode 96 to 105 like this

```
' hotbar
If Not chatOn And Not inChat Then
For i = 1 To 9
If KeyCode = 96 + i Then
SendHotbarUse i
End If
Next
If KeyCode = 96 Then ' 0
SendHotbarUse 10
ElseIf KeyCode = 189 Then ' -
SendHotbarUse 11
ElseIf KeyCode = 187 Then ' =
SendHotbarUse 12
End If
End If

```Should work :)
Link to comment
Share on other sites

Just find and replace the correct numbers, I copied the snippet from my own source and adjusted it, so you will need to find the correct place and adjust accordingly.

```
SendHotbarUse i

```
find the above (ctrl+f tick current project) and it should be in modInput.
Link to comment
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
 Share

×
×
  • Create New...