---
name: "BIS_fnc_selectCrew"
type: function
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_selectCrew
revid: 328398
updated: 2022-07-13T16:00:49Z
---

# BIS_fnc_selectCrew

*Function · Object Manipulation · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Return an appropriate crew type for a certain vehicle.

> [!IMPORTANT]
> This function should work properly in Arma 3, but be aware that if "crew" config entry is not defined in vehicle config then specific Arma 2 class names will be used as default values (*"USMC_Soldier_Crew"*, *"US_Soldier_Crew_EP1"*, *"RU_Soldier_Crew"*, *"TK_Soldier_Crew_EP1"*)

## Syntax

```sqf
[side, configEntry] call BIS_fnc_selectCrew
```

**Parameters:**

- `side`: [Side](../topics/Side.md) - only supports [west](../commands/west.md) ([blufor](../commands/blufor.md)) and [east](../commands/east.md) ([opfor](../commands/opfor.md)) for default value (if "crew" entry is not found)
- `configEntry`: [Config](../topics/Config.md) - the vehicle config path

**Returns:** [String](../topics/String.md) - crew type, empty if crew type not found

## Examples

### Example 1

```sqf
private _crewType = [blufor, configFile >> "CfgVehicles" >> "B_MRAP_01_F"] call BIS_fnc_selectCrew;
```

## See also

[crew](../commands/crew.md) · [createVehicleCrew](../commands/createVehicleCrew.md)

<sub>Source: [BI Community Wiki — BIS fnc selectCrew](https://community.bistudio.com/wiki/BIS_fnc_selectCrew) (revision 328398).</sub>
