Guest User

Autohotkey DaS3 jumping revised

a guest
Jun 25th, 2016
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. ;jumping
  2. t:: ;this is the button to trigger jumping
  3. Send {w up}{a up}{s up}{d up} ;stops your movement
  4. sleep 31 ;must be high so DaS3 registers
  5.  
  6. if (GetKeyState("W", "P")){
  7. Send {W down}
  8. }
  9. if (GetKeyState("A", "P")){
  10. Send {A down}
  11. }
  12. if (GetKeyState("D", "P")){
  13. Send {D down}
  14. }
  15. if (GetKeyState("S", "P")){
  16. Send {S down}
  17. }
  18.  
  19. Sleep 15
  20. Send {E down} ;this must be your R2 button. Edit it here to your key, or set E as R2 in game. Its just my key layout
  21. Sleep 50
  22. Send {E up}
  23. Send {w up}{a up}{s up}{d up}
  24. sleep 31
  25.  
  26. if (GetKeyState("W", "P")){
  27. Send {W down}
  28. }
  29. if (GetKeyState("A", "P")){
  30. Send {A down}
  31. }
  32. if (GetKeyState("D", "P")){
  33. Send {D down}
  34. }
  35. if (GetKeyState("S", "P")){
  36. Send {S down}
  37. }
  38.  
  39. return
Advertisement
Add Comment
Please, Sign In to add comment