gallighanmaker Posted March 31, 2015 Author Share Posted March 31, 2015 Hello guys, I'm using the crystalshire and I think this engine does not have the function to use the skills to press a key, it only works if I click on the icon of the skill that is in the hotbar.Ex:```' hotbarPublic Sub Hotbar_DoubleClick()Dim slotNum As Long slotNum = IsHotbarSlot(GlobalX, GlobalY) If slotNum > 0 Then SendHotbarUse slotNum End IfEnd Sub```but this way works properly, but I would like to use shortcuts to get the skills when you press the button according to the hotbar.I think I could use the: **Public Sub CheckKeys() **that contains the keys to move the character etc, but as would be to detect the key correctly?Would look like this?:``` ' hotbar For slotNum = 1 To MAX_HOTBAR If GetAsyncKeyState(vbKey0) + slotNum Then SendHotbarUse slotNum End If If GetAsyncKeyState(111) + slotNum Then SendHotbarUse slotNum End If Next```I left as the method above but are trying to use the skill in the first slot repeatedly ;xAnd how i get skill name used? to use em SendActionMsg Ex:SendActionMsg mapNum, "Skill Name", BrightGreen, 1, (GetPlayerX(index) * 32), (GetPlayerY(index) * 32) 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