---
name: "assignedVehicles"
type: command
status: ok
groups: ["Groups"]
arma3_since: "2.12"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/assignedVehicles
revid: 338334
updated: 2023-02-28T14:33:58Z
---

# assignedVehicles

*Command · Groups · Arma 3 v2.12*

## Description

Returns all vehicles added to the given [Group](../topics/Group.md) with [addVehicle](../commands/addVehicle.md).

## Syntax

```sqf
assignedVehicles group
```

**Parameters:**

- `group`: [Group](../topics/Group.md)

**Returns:** [Array](../topics/Array.md) of [Object](../topics/Object.md)s

## Examples

### Example 1

```sqf
_vehicles = assignedVehicles group player;
```

## See also

[assignedVehicle](../commands/assignedVehicle.md) · [assignedGroup](../commands/assignedGroup.md) · [addVehicle](../commands/addVehicle.md) · [assignAsDriver](../commands/assignAsDriver.md) · [assignAsCargo](../commands/assignAsCargo.md) · [assignAsCommander](../commands/assignAsCommander.md) · [assignAsGunner](../commands/assignAsGunner.md) · [assignAsTurret](../commands/assignAsTurret.md) · [assignAsCargoIndex](../commands/assignAsCargoIndex.md) · [unassignVehicle](../commands/unassignVehicle.md) · [leaveVehicle](../commands/leaveVehicle.md) · [fullCrew](../commands/fullCrew.md)

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