setVehicleCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
||
Line 34: | Line 34: | ||
| [[Arma_3_Vehicle_in_Vehicle_Transport| Vehicle in Vehicle Transport ]] [[canVehicleCargo]] [[enableVehicleCargo]] [[getVehicleCargo]] [[isVehicleCargo]] [[vehicleCargoEnabled]] | | [[Arma_3_Vehicle_in_Vehicle_Transport| Vehicle in Vehicle Transport ]] [[canVehicleCargo]] [[enableVehicleCargo]] [[getVehicleCargo]] [[isVehicleCargo]] [[vehicleCargoEnabled]] | ||
}} | }} | ||
Revision as of 22:28, 31 January 2021
Description
- Description:
- Description needed
- Groups:
- Vehicle in Vehicle Transport
Syntax
- Syntax:
- Syntax needed
- Parameters:
- vehicle: Object - vehicle carrying cargo
- cargo: Object - cargo to put in vehicle
- Return Value:
- Return value needed
Examples
- Example 1:
- Blackfish with no vehicle cargo loaded
_success = blackfish setVehicleCargo offroad; //true
- Example 2:
- Blackfish with full cargo already loaded
_success = blackfish setVehicleCargo offroad; //false
- Example 3:
- Unload specific loaded vehicle
_success = objNull setVehicleCargo offroad;
- Example 4:
- Unload all vehicles
_success = blackfish setVehicleCargo objNull;
Additional Information
- See also:
- See also needed
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
- Posted on July 4, 2016 - 18:46 (UTC)
- ImperialAlex
- From biforums: "objnull setVehicleCargo cargo vehicle - will unload specific loaded vehicle" and "transporting vehicle setVehicleCargo objnul - unload all vehicles"