setAmmoCargo: Difference between revisions
Jump to navigation
Jump to search
(add. classification) |
m (Added SEEALSO) |
||
Line 21: | Line 21: | ||
|x1= _ammoTruck1 setAmmoCargo 0.5 | |x1= _ammoTruck1 setAmmoCargo 0.5 | ||
| | | [[setFuelCargo]], [[setRepairCargo]] |= See also | ||
}} | }} | ||
Revision as of 09:34, 15 October 2010
Description
- Description:
- Set amount of ammo resources in cargo space of a rearm vehicle. Ammo resource is used to resupply vehicles that take ammo. Soldiers use individual magazines instead. Amount: 1 is full cargo. The actual quantity to work with is determined by the model's class in CfgVehicles
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicleName setAmmoCargo ammoCargo
- Parameters:
- vehicleName: Object
- ammoCargo: Number
- Return Value:
- Nothing
Examples
- Example 1:
- _ammoTruck1 setAmmoCargo 0.5
Additional Information
- See also:
- setFuelCargosetRepairCargo
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Weapons
- Scripting Commands ArmA2
- Scripting Commands VBS2