Editing Unit commands
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
Targeted commands can be issued with either the left or right mouse buttons. | Targeted commands can be issued with either the left or right mouse buttons. | ||
− | * Click the ''' | + | * Click the '''left mouse button''' to issue a context sensitive command. The command that will be issued is indicated by the mouse cursor and depends on both your unit selection and the target of the command. Common examples are [[Force Fire Command|force fire]] when the target is an enemy unit and [[Move Command|move]] when the the target is empty ground. |
− | * Click the ''' | + | * Click the '''right mouse button''' to issue a command selected. To select a command click on its button in the command panel or press its hotkey. The selected command is indicated by the mouse cursor and a highlighted command button. Issue the command (without holding Shift) or left click to deselect the command. |
Targeted commands can be modified in many ways. | Targeted commands can be modified in many ways. | ||
Line 21: | Line 21: | ||
== Queuing and Inserting Commands == | == Queuing and Inserting Commands == | ||
Units maintain a list of commands, known as their command queue, that are executed in order as each command is completed. Most targeted and instant commands can be added to the end of the queue or inserted or inserted into the queue. State toggles cannot be added to the queue and always take effect instantly. | Units maintain a list of commands, known as their command queue, that are executed in order as each command is completed. Most targeted and instant commands can be added to the end of the queue or inserted or inserted into the queue. State toggles cannot be added to the queue and always take effect instantly. | ||
− | * Hold ''' | + | * Hold '''Shift''' while issuing a targeted or instant command to add it to the end of the command queue. |
− | * Hold ''' | + | * Hold '''Space''' while issuing a targeted command to add it to the start of the command queue, pushing the current command to the second spot in the queue. |
− | * Hold ''' | + | * Hold '''Shift and Space''' while issuing a targeted command to insert it at the point in the command queue that would result in the least extra travel time. |
A targeted command that is issued without holding Shift or Space cancels the entire command queue, replacing it with the newly issued command. An instant command that is issued without holding Shift or Space immediately executes the command without affecting the rest of the queue. Nobody knows what happens if an instant command is issued with Space held. | A targeted command that is issued without holding Shift or Space cancels the entire command queue, replacing it with the newly issued command. An instant command that is issued without holding Shift or Space immediately executes the command without affecting the rest of the queue. Nobody knows what happens if an instant command is issued with Space held. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Full List of Commands == | == Full List of Commands == | ||
Line 170: | Line 82: | ||
* [[Ferry Command|Ferry]] | * [[Ferry Command|Ferry]] | ||
* [[Retreat|Retreat]] | * [[Retreat|Retreat]] | ||
− | * [[ | + | * [[Resources Reserve|Reserve]] |
=== State commands === | === State commands === | ||
Line 195: | Line 107: | ||
* [[Unit states#Impulse Mode|Impulse Mode]] | * [[Unit states#Impulse Mode|Impulse Mode]] | ||
+ | == Modifiers == | ||
+ | |||
+ | Commands can have their behaviour modified using ALT and CTRL. | ||
+ | |||
+ | {| | ||
+ | !style="width: 10%"|Command | ||
+ | !style="width: 15%"|Click behaviour | ||
+ | !style="width: 20%"|Drag behaviour | ||
+ | !style="width: 25%"|+ALT | ||
+ | !style="width: 30%"|+CTRL | ||
+ | |- | ||
+ | |Repair<br/><img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/Anims/cursorrepair_0.png"/> | ||
+ | |Repair a live unit; Assist construction | ||
+ | |Area command. Applies the click command to valid targets in the area, as long as there are any | ||
+ | |For area only. Persist the area even when no valid targets inside (continue if any new show up) | ||
+ | |Only repair live units, do not assist construction. | ||
+ | |- | ||
+ | |Mex<br/><img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/Bold/mex.png" width="32" height="32"/> | ||
+ | |Build a mex at given spot||Queue mexes across the area | ||
+ | |Surround each mex in the area with 4 solars. Works on already-built mexes. | ||
+ | |None. | ||
+ | |- | ||
+ | |Reclaim<br/><img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/Anims/cursorreclamate_0.png"/> | ||
+ | |Reclaim target (unit or feature) | ||
+ | |Reclaim features across the area. | ||
+ | |Area only. Persist the command even when no features are in the area. | ||
+ | |Area only. If centered on a live unit, reclaim all units of this type in the area. Else, ignore metal-less features, such as trees. There is a menu option to do this by default, in which case trees can be reclaimed either with CTRL or by centering the area on a tree. | ||
+ | |- | ||
+ | |Resurrect<br/><img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/Anims/cursorrevive_0.png"/> | ||
+ | |Resurrect target wreck||Area version. Resurrect wrecks in given area as long as there are any; ignore ones that are partially reclaimed. | ||
+ | |Area only. Persist the command even when no resurrectables are in the area. | ||
+ | |Area only. Resurrect even partially reclaimed wrecks (but still not those actively being reclaimed - this requires single target command). | ||
+ | |- | ||
+ | |} | ||
− | |||
{{Navbox manual}} | {{Navbox manual}} |