---
name: "doStop"
type: command
status: ok
groups: ["Unit Control"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/doStop
revid: 336220
updated: 2022-12-14T20:43:09Z
---

# doStop

*Command · Unit Control · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

Locality: arguments **global** · effect **global**

## Description

Order the given unit(s) to stop (without radio messages). The units stopped in this way will leave the groups formation. It will prevent them from moving around with their group (or formation leader), while still being able to turn around and even move to a new position if they see fit.

The units will still respond to orders from their group leader (like engage, rearm, board a vehicle), but all of their actions will be separate from the group formation. To resume group default behaviour, use [doFollow](../commands/doFollow.md) command. For example: `units _group doFollow leader _group;`

## Syntax

```sqf
doStop unit(s)
```

**Parameters:**

- `unit(s)`: [Object](../topics/Object.md) or [Array](../topics/Array.md) of [Object](../topics/Object.md)s

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
doStop _soldier1;
```

### Example 2

```sqf
doStop [_soldier1, _soldier2];
```

### Example 3

```sqf
doStop (units player);
```

## See also

[commandStop](../commands/commandStop.md) · [stop](../commands/stop.md) · [stopped](../commands/stopped.md) · [doMove](../commands/doMove.md) · [doFollow](../commands/doFollow.md)

## Community notes

**Hardrock** — 2006-08-03

*Notes from before the conversion:*

This command will make the unit stop where he is until the unit's group engages the enemy. At that time, the unit will move and fight the enemy. One good use for this is to place a bunch of units in the same group around a campfire or in some other place "for looks", and make them sit down or have their weapon on their back. When the enemy is spotted, they will get up and attack. Note that you cannot do something like place somebody behind sandbags and keep him there during a fight with this command. For that you will need [disableAI](../commands/disableAI.md) "move".

---

**Ceeeb** — 2009-02-21

In **ArmA 1.14**, this command will not stop a unit that has been given a move order by selecting the unit, then clicking on the in game map (or ground).

---

**Katulobotomia** — 2013-09-26

doStop'ed units WILL return to formation if their leader's behaviour isn't set to "COMBAT". The squad leader will also order everyone to return to formation if there are no enemies nearby in a set period of time, overwriting the doStop command. doStop can be best used to simply stop the unit from doing whatever he is currently doing without radio messages.

---

**Killzone_Kid** — 2016-12-23

When a unit reaches position given with [doMove](../commands/doMove.md), [unitReady](../commands/unitReady.md) becomes [true](../commands/true.md). If [doStop](../commands/doStop.md) command is not executed, unit will start wondering on its own soon after, especially if unit is under fire. [doStop](../commands/doStop.md) will keep unit at the given position, but watch out for [unitReady](../commands/unitReady.md) as it will become [false](../commands/false.md) since unit is holding position indefinitely.

---

**Killzone_Kid** — 2016-12-27

Although it is possible to resume group default behaviour by joining units into own group like this `units _group joinSilent _group` there is a risk that the leader will change. Instead use [doFollow](../commands/doFollow.md) command as explained in the description.

<sub>Source: [BI Community Wiki — doStop](https://community.bistudio.com/wiki/doStop) (revision 336220).</sub>
