---
name: "orderGetIn"
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/orderGetIn
revid: 377143
updated: 2026-01-01T10:31:44Z
---

# orderGetIn

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

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

## Description

Force all units in the array to get in or out of their assigned vehicles. Units must be assigned to a vehicle before this command will do anything.

> [!NOTE]
> See AI Group Vehicle Management for more information.

## Syntax

```sqf
unitArray orderGetIn order
```

**Parameters:**

- `unitArray`: [Array](../topics/Array.md) of [Object](../topics/Object.md)s
- `order`: [Boolean](../topics/Boolean.md)

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

## Examples

### Example 1

```sqf
[_unitOne, _unitTwo] orderGetIn true;
```

### Example 2

```sqf
[_unitOne, _unitTwo] orderGetIn false;
```

## See also

[allowGetIn](../commands/allowGetIn.md) · [addVehicle](../commands/addVehicle.md) · [assignAsCargo](../commands/assignAsCargo.md) · [assignAsCommander](../commands/assignAsCommander.md) · [assignAsDriver](../commands/assignAsDriver.md) · [assignAsGunner](../commands/assignAsGunner.md)

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