Tankbuster
This makes FFV units but no cargo crew.
Results appear below as you type; use the arrow keys to move through them.
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).
[vehicle, group, dummyMode, dummyType, crewType]] call BIS_fnc_spawnCrew
Parameters:
vehicle: Object - vehiclegroup: Group - crew's groupdummyMode: Boolean - (Optional, default false) true to enable dummy modedummyType: String - (Optional, default "") dummy typecrewType: String - (Optional, default "") crew typeReturns: Array or Number - created crew objects or crew count
[BIS_vehicle, group player] call BIS_fnc_spawnCrew;
This makes FFV units but no cargo crew.