---
name: "allowCrewInImmobile"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/allowCrewInImmobile
revid: 322540
updated: 2022-06-15T14:00:23Z
---

# allowCrewInImmobile

*Command · Object Manipulation · Arma 3 v0.50 · introduced in Arma 2: Operation Arrowhead v1.60*

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

## Description

If [true](../commands/true.md), units will remain in a vehicle with broken tracks/wheels; they will still eject if the vehicle is drowning, about to explode or upside down for a while.
The [alternative syntax](../commands/allowCrewInImmobile.md#syntax-2) provides the ability to keep the crew in vehicle when it is upside down.

## Syntax

### Syntax 1

```sqf
vehicle allowCrewInImmobile allow
```

**Parameters:**

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

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

### Syntax 2

*since arma3 2.10*

```sqf
vehicle allowCrewInImmobile [brokenWheels, upsideDown]
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md)
- `brokenWheels`: [Boolean](../topics/Boolean.md) - do not auto eject when vehicle has broken wheels
- `upsideDown`: [Boolean](../topics/Boolean.md) - do not auto eject when vehicle is upside down

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

## Examples

### Example 1

```sqf
_vehicle allowCrewInImmobile true;
```

## See also

[isAllowedCrewInImmobile](../commands/isAllowedCrewInImmobile.md) · [setUnloadInCombat](../commands/setUnloadInCombat.md) · [canMove](../commands/canMove.md)

## Community notes

**Killzone_Kid** — 2015-04-27

This will stop AI disembarking when immobile

```sqf
KK_fnc_allowCrewInImmobile = {
    _this allowCrewInImmobile true;
    {
        _x disableAI "FSM";
        _x setBehaviour "CARELESS";
    } forEach crew _this;
};
//example
car call KK_fnc_allowCrewInImmobile;
```

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