Difference between revisions of "Wait Command"

From Zero-K
Jump to navigation Jump to search
(Turned <pre> into a proper list of instructions. Added key press template to key presses...)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
The '''Wait''' command is command that can be used to pause a unit's command queue. The most common uses are on factories, to pause production, and missiles within a missile silo, to sychronise a launch.
+
The '''Wait''' command can be used to pause a unit's command queue. The most common uses are on factories, to pause production, and missiles within a missile silo, to sychronise a launch.
  
 
Issuing a wait command does not override a unit's command queue, as would be the case with most other commands. Instead, issuing a wait command with no modifiers inserts a wait command at the front of the command queue. Units with wait as their active command stop and do nothing, except automatically fire at enemies within range. Issuing a second wait command removes the first, since wait commands annihilate each other when they meet in a command queue.
 
Issuing a wait command does not override a unit's command queue, as would be the case with most other commands. Instead, issuing a wait command with no modifiers inserts a wait command at the front of the command queue. Units with wait as their active command stop and do nothing, except automatically fire at enemies within range. Issuing a second wait command removes the first, since wait commands annihilate each other when they meet in a command queue.
  
Wait can be used to pause an existing command queue, or to have a unit not execute a set of shift-queued until the wait is canceled. The wait command can be queued after existing commands with the shift modifier key. Further orders can be queued as normal after the wait command, but they will not be executed until the wait command is removed (by reissuing the wait command).
+
Wait can be used to pause an existing command queue, or to have a unit not execute a set of shift-queued until the wait is canceled. The wait command can be queued after existing commands with the {{key press|Shift}} modifier key. Further orders can be queued as normal after the wait command, but they will not be executed until the wait command is removed (by reissuing the wait command).
  
 
==Synchronising a Missile Silo==
 
==Synchronising a Missile Silo==
 
Here is how to use the wait command to launch three Shockleys at three Antinukes.
 
Here is how to use the wait command to launch three Shockleys at three Antinukes.
* Select the three Shockleys, making sure not to select the Missile Silo.
+
* Select the three Shockleys, making sure not to select the Missile Silo.
* Issue a wait command (default Ctrl+W).
+
* Issue a wait command (default {{key press|Ctrl}}+{{key press|W}}).
* Select one of the Shockleys and shift-queue a Force Fire order on the first Antinuke.
+
* Select one of the Shockleys and while holding {{key press|Shift}} (adds the next command to the command-queue) add a Force Fire order on the first Antinuke.
* Select another Shockley and shift-queue a Force Fire order on the second Antinuke.
+
* Select another Shockley and while holding {{key press|Shift}} (adds the next command to the command-queue) add a Force Fire order on the second Antinuke.
* Select the remaining Shockley and shift-queue a Force Fire order on the lastAntinuke.
+
* Repeat for the last Shockley missile and the last Antinuke.
* Select the three Shockleys, making sure not to select the Missile Silo.
+
* Select the three Shockleys, making sure not to select the Missile Silo.
* Issue a wait command (default Ctrl+W).
+
* Clear the wait command (default {{key press|Ctrl}}+{{key press|W}}).
  
Upon receiving the second wait command all three Shockleys will execute their Force Fire commands.
+
Upon receiving the second wait command (clear wait) all three Shockleys will execute their Force Fire commands.
  
 
==Wait command variants==
 
==Wait command variants==
Line 21: Line 21:
  
 
===Gather wait===
 
===Gather wait===
Gather wait causes a group of units to wait until all units in the group have reached the gather wait command.  The gather wait command is automatically inserted at the end of the command queue (without needing to hold shift while issuing), unlike the other forms of the wait command.
+
Gather wait causes a group of units to wait until all units in the group have reached the gather wait command.  The gather wait command is automatically inserted at the end of the command queue (without needing to hold {{key press|Shift}} while issuing), unlike the other forms of the wait command.
  
 
===Death wait===
 
===Death wait===
The death wait command causes a unit to wait until the selected unit dies.  Upon activating the command, the player is prompted to click on a unit (friendly or enemy) to wait for.  It can be queued after other commands by holding shift while clicking on the unit to wait for (otherwise it is inserted at the front of the command queue).
+
The death wait command causes a unit to wait until the selected unit dies.  Upon activating the command, the player is prompted to click on a unit (friendly or enemy) to wait for.  It can be queued after other commands by holding {{key press|Shift}} while clicking on the unit to wait for (otherwise it is inserted at the front of the command queue).
  
 
===Squad wait===
 
===Squad wait===
The squad wait command can only be applied to factories.  Upon activating the command, the player is prompted with a slider bar to select the squad size to wait for.  Hold shift while selecting the squad size to queue the wait command.  Units created by the factory will then wait until a group of the selected squad size is produced before executing further commands.
+
The squad wait command can only be applied to factories.  Upon activating the command, the player is prompted with a slider bar to select the squad size to wait for.  Hold {{key press|Shift}} while selecting the squad size to queue the wait command.  Units created by the factory will then wait until a group of the selected squad size is produced before executing further commands.
  
Note that squad wait is only useful if the squad wait command is itself queued (e.g. after an initial move command out of the factory).  Without queuing the squad wait command, it is applied to the factory itself, which will stop the factory from producing anything (if you accidentally do this, issue a normal wait command to your factory to cancel the wait).
+
Squad wait is only useful if the squad wait command is itself queued (e.g. after an initial move command out of the factory).  Without queuing the squad wait command, it is applied to the factory itself, which will stop the factory from producing anything (if you accidentally do this, issue a normal wait command to your factory to cancel the wait).
  
 
===Timer wait===
 
===Timer wait===
The timer wait command is automatically removed after some time.  Upon activating the command, the player is prompted with a slider bar to select the time (in seconds) to wait for.  Hold shift while selecting the wait time to queue the wait command; otherwise, the command in inserted at the front of the queue.
+
The timer wait command is automatically removed after some time.  Upon activating the command, the player is prompted with a slider bar to select the time (in seconds) to wait for.  Hold {{key press|Shift}} while selecting the wait time to queue the wait command; otherwise, the command in inserted at the front of the queue.
  
 
{{navbox commands}}
 
{{navbox commands}}

Latest revision as of 10:45, 15 June 2020

The Wait command can be used to pause a unit's command queue. The most common uses are on factories, to pause production, and missiles within a missile silo, to sychronise a launch.

Issuing a wait command does not override a unit's command queue, as would be the case with most other commands. Instead, issuing a wait command with no modifiers inserts a wait command at the front of the command queue. Units with wait as their active command stop and do nothing, except automatically fire at enemies within range. Issuing a second wait command removes the first, since wait commands annihilate each other when they meet in a command queue.

Wait can be used to pause an existing command queue, or to have a unit not execute a set of shift-queued until the wait is canceled. The wait command can be queued after existing commands with the Shift modifier key. Further orders can be queued as normal after the wait command, but they will not be executed until the wait command is removed (by reissuing the wait command).

Synchronising a Missile Silo[edit]

Here is how to use the wait command to launch three Shockleys at three Antinukes.

  • Select the three Shockleys, making sure not to select the Missile Silo.
  • Issue a wait command (default Ctrl+W).
  • Select one of the Shockleys and while holding Shift (adds the next command to the command-queue) add a Force Fire order on the first Antinuke.
  • Select another Shockley and while holding Shift (adds the next command to the command-queue) add a Force Fire order on the second Antinuke.
  • Repeat for the last Shockley missile and the last Antinuke.
  • Select the three Shockleys, making sure not to select the Missile Silo.
  • Clear the wait command (default Ctrl+W).

Upon receiving the second wait command (clear wait) all three Shockleys will execute their Force Fire commands.

Wait command variants[edit]

While the standard wait command must be manually removed, there are a few special variants that remove themselves automatically when certain conditions are met. They are not bound to hotkeys by default, but can be found in the ingame hotkey menu and then bound to hotkeys.

Gather wait[edit]

Gather wait causes a group of units to wait until all units in the group have reached the gather wait command. The gather wait command is automatically inserted at the end of the command queue (without needing to hold Shift while issuing), unlike the other forms of the wait command.

Death wait[edit]

The death wait command causes a unit to wait until the selected unit dies. Upon activating the command, the player is prompted to click on a unit (friendly or enemy) to wait for. It can be queued after other commands by holding Shift while clicking on the unit to wait for (otherwise it is inserted at the front of the command queue).

Squad wait[edit]

The squad wait command can only be applied to factories. Upon activating the command, the player is prompted with a slider bar to select the squad size to wait for. Hold Shift while selecting the squad size to queue the wait command. Units created by the factory will then wait until a group of the selected squad size is produced before executing further commands.

Squad wait is only useful if the squad wait command is itself queued (e.g. after an initial move command out of the factory). Without queuing the squad wait command, it is applied to the factory itself, which will stop the factory from producing anything (if you accidentally do this, issue a normal wait command to your factory to cancel the wait).

Timer wait[edit]

The timer wait command is automatically removed after some time. Upon activating the command, the player is prompted with a slider bar to select the time (in seconds) to wait for. Hold Shift while selecting the wait time to queue the wait command; otherwise, the command in inserted at the front of the queue.