Difference between revisions of "Wait Command"

From Zero-K
Jump to navigation Jump to search
(create page)
 
(Turned <pre> into a proper list of instructions. Added key press template to key presses...)
 
(2 intermediate revisions by 2 users not shown)
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 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 {{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==
 +
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 {{key press|Ctrl}}+{{key press|W}}).
 +
* 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 while holding {{key press|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 {{key press|Ctrl}}+{{key press|W}}).
  
The normal wait command causes a unit to wait until the wait command is removed; the wait command is not removed automatically.
+
Upon receiving the second wait command (clear wait) all three Shockleys will execute their Force Fire commands.
  
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.
+
==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 {{key press|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 {{key press|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 {{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.
  
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).
 
 
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===
 
===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 {{key press|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}}

Latest revision as of 11: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.