getVehicleCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{uc:{{PAGENAME}}}} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 16: | Line 16: | ||
|p1= storingVehicle: [[Object]] | |p1= storingVehicle: [[Object]] | ||
| [[Array]] - vehicles loaded in storingVehicle, in order of their loading | |r1=[[Array]] - vehicles loaded in storingVehicle, in order of their loading | ||
|x1= <code>_vehicleCargo = [[getVehicleCargo]] blackfish; {{codecomment|// returns [] if empty}}</code> | |x1= <code>_vehicleCargo = [[getVehicleCargo]] blackfish; {{codecomment|// returns [] if empty}}</code> |
Revision as of 20:47, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Vehicle in Vehicle Transport
Syntax
- Syntax:
- Syntax needed
- 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