Author Topic: Pausing a running command  (Read 3193 times)

Incurable-Rash

  • Full Member
  • ***
  • Posts: 181
Pausing a running command
« on: July 12, 2018, 05:16:54 PM »
Can a running command be paused and then restarted with an exterior command?

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4786
  • RTFM
Re: Pausing a running command
« Reply #1 on: July 12, 2018, 05:51:14 PM »
Paused at an arbitrary point? No.

You could have it idling in a loop at a given point, checking a variable that would be changed by another command(or a second instance of the same command that terminates, if you prefer) that could be triggered externally, though.

Wildcard

  • Guest
Re: Pausing a running command
« Reply #2 on: August 05, 2018, 02:42:32 PM »
Yes,

Look under "Other\Voice Attack Action\"

"Stop Another Command"
Will stop a specific command

"Stop Processing All Commands"
Will stop stop everything

Dont confuse these with Starting and Stopping of "Listening"; Restarting the command would simply be you doing what ever it was that you used to start it in the first place.

You could insert a pause using a "Wait" or "Pause" command though I dont recommend doing this as it starts getting complicated.

Try something like this;

Stop VoiceAttack command processing
Kill command, '((RS- Name))'
Pause 120 seconds
Execute command, '((RS- Name))' (and wait until it completes)
« Last Edit: August 05, 2018, 02:51:50 PM by Wildcard »