---
name: "doGetOut"
type: command
status: ok
groups: ["Unit Control"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/doGetOut
revid: 310022
updated: 2022-05-05T12:20:49Z
---

# doGetOut

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

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

## Description

Orders one or multiple units to get out from the vehicle (silently). Same as [commandGetOut](../commands/commandGetOut.md) with latter being shown via radio chat.

Notes:
- Works for both AI and player entities
- AI unit gets back in - unless is under player command or combined with other sqf commands ([orderGetIn](../commands/orderGetIn.md) false, [allowGetIn](../commands/allowGetIn.md) false or [leaveVehicle](../commands/leaveVehicle.md))
- Ignores vehicle's lock state - unlike [action "Eject"](../topics/Actions.md#eject) and [moveOut](../commands/moveOut.md)
- AI waits for execution until vehicle has stopped/is no longer flying (unclear if any timeout exists for order to be discarded) - unlike [action "Eject"](../topics/Actions.md#eject) and [moveOut](../commands/moveOut.md)
- Plays the vehicle's position's get out animation (same as [action "Eject"](../topics/Actions.md#eject)) - unlike [moveOut](../commands/moveOut.md)
- When execute for multiple units, it waits till the action is completed, before the next to take his turn (same as [action "Eject"](../topics/Actions.md#eject)) - unlike [moveOut](../commands/moveOut.md)
- AI gets back into formation afterwards
- Works only on alive units - unlike [action "Eject"](../topics/Actions.md#eject) (one after another) or [moveOut](../commands/moveOut.md) (instantly)
- Does not work on [unconscious](../commands/setUnconscious.md) - unless the AI is under player command. Unlike [moveOut](../commands/moveOut.md) or [action "Eject"](../topics/Actions.md#eject) (but one after another))

## Syntax

```sqf
doGetOut units
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
doGetOut _unitOne;
```

### Example 2

```sqf
doGetOut [_unitOne,_unitTwo];
```

## Multiplayer

This command is only effective when used on local units. When used on a remote unit, this command will create radio dialogue on the machine the unit is local to, but the unit will not leave the vehicle.

## See also

[commandGetOut](../commands/commandGetOut.md) · [moveOut](../commands/moveOut.md) · [leaveVehicle](../commands/leaveVehicle.md)

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