Basic Unit Commands
From Liquipedia StarCraft Brood War Wiki
Good Micromanagement is fundamentally based on using these commands to increase the effectiveness of units. Often multiple commands will be issued rapidly, each only being partially completed, in order to get certain behavior from a unit. (e.g.: Zergling surround, Reaver/Shuttle harass, etc.)
General Commands[edit]
Move[edit]
Move is probably the most frequently used command, and is vital for good micro. Simply right click, or M, a location and the selected units will travel to that location in the shortest path available. When moving multiple units, their behavior can be difficult to predict, as some units may block the others' path momentarily (especially on chokes) and cause some to go wildly different directions temporarily. To avoid this, a user can repeatedly re-issue the move command to force the game to recalculate the optimal units' paths to ensure that all the units in a group travel to the destination quickly. When grouping units, they may all move in formation or they may clump together and attempt to form a line. The difference is determined by Magic Boxes. If Move is issued on a player's own unit, the commanded units will move until they are close to the targeted unit. Moving the targeted unit away from the others will cause the other units to follow it. Combat units do not engage the enemy while following. Tanks and Goliaths, however, will track targets with their turret like normal.
Advanced micromanagement techniques are based on these fundamental principles. For example, when combating Lurkers with M&M, the move command can be used to have the Marines form a line perpendicular to the incoming forces before engaging them and avoid splash damage that would have been taken otherwise by the Lurker spines. By commanding Medics to follow Marines, they will not heal and can conserve their energy, which can useful when the M&M group gets Plagued. The Move command has such numerous applications that listing them all would be extremely difficult.
Stop[edit]
By clicking the Stop icon or pressing S, the selected units will cease all movement and attacks. Often the Hold command is used instead when a player is engaging enemy units and does not want the units to stop attacking. Stop is useful for arranging units in conjunction with the Move command, making a worker block a ramp, stopping the observer over Turret trick and even Hold Lurker attacks.
Attack/Attack-Move[edit]
Clicking Attack, or A, and then clicking an enemy unit will cause your selected units to move towards the enemy unit and attack it until the enemy unit is destroyed or out of range, or until your selected units are destroyed. (More commonly this is performed by right-clicking on the enemy unit) By issuing the Attack command on the terrain, the selected units will move towards that location and attack anything controlled by the enemy that is encountered while traveling. (Attack-Move) This can be used in place of Move to avoid being caught off guard when moving units, and can be frequently used in battle to ensure that all the units in a group are attacking and not standing idle.
Patrol[edit]
When commanding a unit to Patrol, , or P, a destination is targeted and the unit will then travel back and forth from its current location to the target destination, attacking any enemies that it encounters. This is similar to Attack-Move, except that the travel is repeated. This is commonly used by Zergs on Scourge to patrol strategic locations to prevent Dropship Harassment. It is used with Mutalisks to snipe Scourge. Patrol is especially useful with Vultures. With proper control, this can allow Vultures to attack without any loss of speed. (See: Vulture Patrol vs. Zealots) Patrol also allows the Spinning Overlord Trick.
There is a way to issue Patrol commands to units than don't have access to it (e.g. workers). For that, you need to group select it with a unit that has access to it, then issue the command as a group.
Hold[edit]
Hold is a very useful command. By simply pressing H or clicking the Hold Button, the selected units will simply stop moving and will not move from their current location until another command is issued. Additionally, if there are enemy units in range when ordered to Hold, the units will immediately attack the enemy units as long as they are in range. Because of the immediate attack, hold is preferred in battle over stop, as there is a greater delay between the command and the units' next attack. Hold is used with units like Dragoons in conjunction with the Move for Moving Attack micro, to destroy spider mines in the absence of an Observer. In combat situations Goliath and Tank units retain their previous attack targets in range after Hold commands, while all other units reacquire "better" (generally closer) targets. Hold is often used for Mutalisk Harass as well as blocking ramps and holes in wall ins with Zealots or Dark Templar.
There is a way to issue Hold commands to units than don't have access to it (e.g. workers), for that you need to group select it with a unit that has access to it, then issued the command as a group.
Set Rally Point[edit]
Set Rally Point, or R, designates a location where newly spawned units from production buildings and town halls will gather. It issues a Move command, not Attack-move command, so care should be taken especially for long-distance rallies such that the newly produced unit does not endure a dangerous path from its creation to the rally point. The Set Rally Point is often used at the town hall to direct newly formed workers to a spot next to the mineral line. The command is also commonly used for production buildings, such as a Gateway, Factory, or Hatchery to direct newly created attack units to gather at a united point, ready for attack.
A rally point order can be issued on a friendly unit. In this case, if that unit is still alive, newly produced units will automatically follow it upon exiting the facility. If the targeted unit has died, though, newly produced units will be automatically rallied to the place of its death.
Worker/Harvester Commands[edit]
Gather[edit]
Gather, or G, commands selected workers to gather resources from designated mineral field or vespene geyser. The command can also be issued by using right-click on a resource. Note that right clicking on an incomplete Assimilator, Extractor, or Refinery will cause the worker to not mine when they arrive. If you use the Gather hotkey, the worker will mine if the building is done when the worker arrives.
Return Cargo[edit]
Return Cargo, or C, commands the worker to return carried resources to the nearest drop-off point and then resume gathering. This command is restricted to workers carrying a load of minerals or gas.
When a player is enduring harassment, such as by Zerglings inside the main base trying hit-and-run tactics against worker units, it is common to clump the workers together at a mineral/gas and then issue the attack command. Once the Zerglings retreat or are eliminated, it is generally more efficient to select the worker units and select C than issuing a Gather command on a piece of mineral. This is because the workers will return to deposit the harvested mineral to the closest town hall before returning to harvesting minerals, while a worker which is already carrying a load of minerals being issued the Gather command will move to the mineral patch before returning to make its deposit, thus delaying the mineral gathering process.
Return Cargo command can be used while transferring workers to a different mining site (Maynarding). Right after clicking on a mineral patch on a new site, you can issue Return Cargo command, that way the workers with cargo will drop it before proceeding to mine on a different site. [Video]


Build Basic Structure/Mutation[edit]
Build Basic Structure for Protoss or Terran and Basic Mutation for Zerg, all using B, are race-specific commands to produce a basic Building, such as a Gateway, Barracks, or Spawning Pool. Whereas a Protoss Probe or Terran SCV are used to perform the the command and can resume harvesting duties, the Zerg Drone is consumed in the process.


Build Advanced Structure/Mutation[edit]
Build Advanced Structure for Protoss or Terran and Advanced Mutation for Zerg, all using V, are race-specific commands to produce an advanced Building, such as a Templar Archives, Queen's Nest, or Science Facility. Whereas a Protoss Probe or Terran SCV are used to perform the the command and can resume harvesting duties, the Zerg Drone is consumed in the process.
Cancel or Halt Construction/Mutation[edit]
Cancel Construction or Mutation, or Esc, is used on a Protoss, Terran, or Zerg building to cancel its construction. This command destroys the building and refunds 75% of invested minerals and gas. In case of Zerg, the player also receives back the mutating Drone, consequently increasing supply by one, even beyond the current cap. This is exploited in some tactics, such as the Extractor Trick.
In Terran only, the command Halt Construction, or Esc, can also be used on a SCV to stop the construction of a building. This command differs from the Cancel Construction command in that it is executed on the SCV unit, as opposed to the in-production building. Further, a building that has been Halted can be left in place, resumed at a later time by selecting an SCV and right-click on the unfinished building, or cancelled at a later time by selecting Esc on the partially completed building itself. The command frees up the SCV performing the construction for another task, such as a higher priority construction or repair. Notably, if an unfinished building gets damaged, it cannot be repaired until its construction is first complete. The Halt Construction command is sometimes used by the Terran to block technology advancement or construction by the opponent. For example, the Terran player may start building a Refinery on a Protoss player's vespene gas geyser, or build an Engineering Bay at a Zerg's natural expansion to prevent a Hatchery from building in the same location; in both examples, the building is halted shortly after construction, then cancelled when the opponent has sufficient forces to destroy it.
Repair[edit]
In Terran only, Repair, or R, is used to repair the Terran player's mechanical units and buildings, as well as friendly units and buildings in a team game. Buildings which are under construction cannot be repaired until construction is finished.