---
name: "BIS_fnc_spawnCrew"
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_spawnCrew
revid: 348006
updated: 2023-11-08T11:22:26Z
---

# BIS_fnc_spawnCrew

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

## Description

Function to fill all crew positions in a vehicle, including turrets.
In dummy mode no objects are created and the returned array contains only ones; this mode can be used to count the actual crew of an existing vehicle or vehicle type (see also [crew](../commands/crew.md), [fullCrew](../commands/fullCrew.md)).

## Syntax

```sqf
[vehicle, group, dummyMode, dummyType, crewType]] call BIS_fnc_spawnCrew
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md) - vehicle
- `group`: [Group](../topics/Group.md) - crew's group
- `dummyMode`: [Boolean](../topics/Boolean.md) - (Optional, default [false](../commands/false.md)) [true](../commands/true.md) to enable dummy mode
- `dummyType`: [String](../topics/String.md) - (Optional, default "") dummy type
- `crewType`: [String](../topics/String.md) - (Optional, default "") crew type

**Returns:** [Array](../topics/Array.md) or [Number](../topics/Number.md) - created crew objects or crew count

## Examples

### Example 1

```sqf
[BIS_vehicle, group player] call BIS_fnc_spawnCrew;
```

## See also

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

## Community notes

**Tankbuster** — 2015-02-24

This makes FFV units but no cargo crew.

<sub>Source: [BI Community Wiki — BIS fnc spawnCrew](https://community.bistudio.com/wiki/BIS_fnc_spawnCrew) (revision 348006).</sub>
