---
name: "moveInDriver"
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/moveInDriver
revid: 363679
updated: 2024-04-16T14:31:18Z
---

# moveInDriver

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

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

## Description

Moves soldier into vehicle driver position (immediate, no animation).

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

> [!IMPORTANT]
> If the unit is already in a vehicle, nothing will happen unless [moveOut](../commands/moveOut.md) (since Arma 2) is used first to move the unit out of their vehicle (see [#Example 2](../commands/moveInDriver.md#example-2)).

## Syntax

```sqf
unit moveInDriver vehicle
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `vehicle`: [Object](../topics/Object.md)

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

## Examples

### Example 1

```sqf
_soldierOne moveInDriver _tankOne;
```

### Example 2

```sqf
if (not isNull vehicle player) then
{
    moveOut player;
};

player moveInDriver _myTruck;
```

## Multiplayer

*unit* must be [local](../topics/Multiplayer_Scripting.md#locality), while the vehicle's locality does not matter.

## See also

[moveInAny](../commands/moveInAny.md) · [moveInCargo](../commands/moveInCargo.md) · [moveInCommander](../commands/moveInCommander.md) · [moveInGunner](../commands/moveInGunner.md) · [moveInTurret](../commands/moveInTurret.md) · [assignAsCargo](../commands/assignAsCargo.md) · [assignAsCommander](../commands/assignAsCommander.md) · [assignAsDriver](../commands/assignAsDriver.md) · [assignAsGunner](../commands/assignAsGunner.md) · [isTurnedOut](../commands/isTurnedOut.md)

## Community notes

**Ceeeb** — 2007-02-02

In **OFP v1.96**, the moveIn commands will not trigger an associated getIn event.
To ensure the getIn event is fired, use the "getIn Driver" action command.

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