setAmmoCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set amount or ammo resources in cargo space of rearm vehicle. Ammo resource is used to resupply vehicles that take ammo. Soldiers use individual magazines instead. Amount: 1 is full cargo. |= 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 <u>actual</u> '''quantity''' to work with is determined by the model's class in [[CfgVehicles]]  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 14: Line 16:
| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1= _ammoTruck1 setAmmoCargo 0.5


|  |= See also
|  |= See also

Revision as of 05:06, 30 August 2007

Hover & click on the images for description

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:
Vehicle setAmmoCargo 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

Notes

Bottom Section