Arma 3 Scripting

BIS_fnc_spawnCrew

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Function · Markdown · JSON · original wiki page

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, fullCrew).

Syntax

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

Parameters:

Returns: Array or Number - created crew objects or crew count

Examples

Example 1

[BIS_vehicle, group player] call BIS_fnc_spawnCrew;

See also

crew · fullCrew

Community notes

Tankbuster

This makes FFV units but no cargo crew.