assignAsCargo
- Global argument
- Global effect
- Arma 3 v0.50
- First in Operation Flashpoint v1.00
Command · Markdown · JSON · original wiki page
Description
Assign a unit as cargo of a vehicle. Used together with orderGetIn to order a unit to get in as cargo into a specific vehicle. Before usage of this command a subordinate unit has not got the option to get into the cargo space of the vehicle.
Note
See AI Group Vehicle Management for more information.
Syntax
unitName assignAsCargo vehicleName
Parameters:
Returns: Nothing
Examples
Example 1
_soldier1 assignAsCargo _truck;
[_soldier1] orderGetIn true;
See also
assignAsDriver · assignAsGunner · assignAsCommander · assignAsTurret · assignAsCargoIndex · moveInCargo · moveInCommander · moveInDriver · moveInGunner · moveInTurret · assignedVehicleRole · assignedVehicle · unassignVehicle · leaveVehicle · fullCrew