Author Topic: Please Assist Question  (Read 2091 times)

Josh01

  • Guest
Please Assist Question
« on: April 21, 2018, 03:28:07 AM »
hello everyone I was wondering if you could please help me with this situation I'm currently using voice attack to play a game and I have created the following but wonder if there is a change I can make with when I change from go up to go right it will stop my previous commands


Begin Text Compare : [{CMD}] Ends With 'Go Down'
    Toggle Down key
Else If Text Compare : [{CMD}] Ends With 'Go Up'
    Toggle Up key
Else If Text Compare : [{CMD}] Ends With 'Go Left'
    Toggle Left key
Else If Text Compare : [{CMD}] Ends With 'Go Right'
    Toggle Right key
End Condition


Thank you for your time
« Last Edit: April 21, 2018, 03:37:38 AM by Josh01 »

iceblast

  • Sr. Member
  • ****
  • Posts: 374
Re: Please Assist Question
« Reply #1 on: April 21, 2018, 05:34:24 AM »
This is the way I came up with. I even attached a profile below if you want to try it. I had remove Go from the command, of course you can put it back if you want, and I added a Stop command, to stop moving.

Code: [Select]
Release W key
Release A key
Release D key
Release S key
Begin Text Compare : [{CMD}] Equals 'Down'
    Press down S key
End Condition - Exit when condition met
Begin Text Compare : [{CMD}] Equals 'Up'
    Press down W key
End Condition - Exit when condition met
Begin Text Compare : [{CMD}] Equals 'Left'
    Press down A key
End Condition - Exit when condition met
Begin Text Compare : [{CMD}] Equals 'Right'
    Press down D key
End Condition - Exit when condition met
Begin Text Compare : [{CMD}] Equals 'Stop'
    Release S key
    Release W key
    Release A key
    Release D key
End Condition - Exit when condition met

Josh01

  • Guest
Re: Please Assist Question
« Reply #2 on: April 22, 2018, 01:13:40 AM »
Thank you so much  :D

Much appreciated
« Last Edit: April 22, 2018, 01:23:32 AM by Josh01 »