BIS_fnc_initVehicleCrew
Jump to navigation
Jump to search
Description
- Description:
- Moves units into vehicle seats. When units don't exist, it will create them in a group of vehicle's side.
- Execution:
- call
- Groups:
- Vehicles
Syntax
- Syntax:
- [object, params, deleteCrew, anySeat, agents] call BIS_fnc_initVehicleCrew
- Parameters:
- object: Object
- params: Array - in format:
- deleteCrew: Boolean - (Optional, default false) true to delete existing crew
- anySeat: Boolean - (Optional, default false) when desired seats are occuppied, move crew in the vehicle to any other available seat
- agents: Boolean - (Optional, default false) create crew as agents
- Return Value:
- Array - created units
Examples
- Example 1:
Additional Information
- See also:
- createVehicle crew driver
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note