setAmmoCargo: Difference between revisions
Jump to navigation
Jump to search
m (classified) |
mNo edit summary |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | vehicleName '''setAmmoCargo''' ammoCargo |= Syntax | ||
|p1= vehicleName: [[Object]] |= Parameter 1 | |||
|p2= ammoCargo: [[Number]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value |
Revision as of 17:45, 25 January 2009
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:
- 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