getVehicleCargo: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.62|= Game version | |1.62|= Game version | ||
Revision as of 19:42, 31 August 2019
Description
- Description:
- Get a list of vehicles loaded as cargo inside this vehicle. The returned array is in the order the cargo vehicles were added to containing vehicle.
- Groups:
- Uncategorised
Syntax
- Syntax:
- getVehicleCargo storingVehicle
- Parameters:
- storingVehicle: Object
- Return Value:
- Array - vehicles loaded in storingVehicle, in order of their loading
Examples
- Example 1:
_vehicleCargo = getVehicleCargo blackfish; // returns [] if empty
- Example 2:
_vehicleCargo = getVehicleCargo blackfish; // returns [quad_3, quad_1, quad_2] as they were loaded in this order
Additional Information
- See also:
- Vehicle in Vehicle Transport canVehicleCargo setVehicleCargo enableVehicleCargo isVehicleCargo vehicleCargoEnabled
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