Difference between revisions of "Wait Command"

From Zero-K
Jump to: navigation, search
(create page)
 
Line 1: Line 1:
The '''Wait''' command causes a unit to stop processing of further queued orders until the wait command is removed.
+
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.
  
By default, the wait command is inserted in the front of the command queue, while preserving the rest of the command queue. The wait command can be queued after existing commands with the shift 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).
+
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 command variants==
+
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).
  
The normal wait command causes a unit to wait until the wait command is removed; the wait command is not removed automatically.
+
==Synchronising a Missile Silo==
 +
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 shift-queue a Force Fire order on the first Antinuke.
 +
* Select another Shockley and shift-queue a Force Fire order on the second Antinuke.
 +
* Select the remaining Shockley and shift-queue a Force Fire order on the lastAntinuke.
 +
* Select the three Shockleys, making sure not to select the Missile Silo.
 +
* Issue a wait command (default Ctrl+W).
  
There are also some special forms of the wait command that remove themselves automatically when certain conditions are met. They are not bound to hotkeys by default, but can be found in the game menu and then bound to hotkeys.
+
Upon receiving the second wait command all three Shockleys will execute their Force Fire commands.
 +
 
 +
==Wait command variants==
 +
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===
 
===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 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 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 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.
  
Line 24: Line 32:
  
 
===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 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}}

Revision as of 03:00, 27 March 2020

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.

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

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 shift-queue a Force Fire order on the first Antinuke.
* Select another Shockley and shift-queue a Force Fire order on the second Antinuke.
* Select the remaining Shockley and shift-queue a Force Fire order on the lastAntinuke.
* Select the three Shockleys, making sure not to select the Missile Silo.
* Issue a wait command (default Ctrl+W).

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

Wait command variants

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

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

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

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.

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).

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.