我练的一个42 弹药游戏里面的技能快捷键不够用.所以想到用技能辅助工具.可是网上好多软件都不支持 小键盘 上一键连技能..
所以想到自己用按键精灵做一个
可是我想做4个快捷键的技能
按NUM2实现:S+S+NUM1
NUM4 实现: S+D+NUM1
Q
实现:D+S+NUM6
NUM9 实现:S+W+NUM6
做好了
While 1
Delay 1
pkey=0
GetLastKey pkey
If pkey=98
Gosub [1d]
EndIf
While 1
Delay 1
pkey=0
GetLastKey pkey
If pkey=100
Gosub [2d]
EndIf
While 1
Delay 1
pkey=0
GetLastKey pkey
If pkey=81
Gosub [3d]
EndIf
While 1
Delay 1
pkey=0
GetLastKey pkey
If pkey=105
Gosub [4d]
EndIf
EndWhile
Sub [1d]
KeyPress 83,1
Delay 1
KeyPress 83,1
Delay 1
KeyPress 97,1
Return
Sub [2d]
KeyPress 83,1
Delay 1
KeyPress 68,1
Delay 1
KeyPress 97,1
Return
Sub [3d]
KeyPress 68,1
Delay 1
KeyPress 83,1
Delay 1
KeyPress 102,1
Return
Sub [4d]
KeyPress 83,1
Delay 1
KeyPress 87,1
Delay 1
KeyPress 102,1
Return
可是只能实现第一步... 后面的几个替换 连招的键 无法实现
希望高手指点一下...如果成功..我会追加 悬赏积分的...
高手指点下..
|