setAmmo

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Set how many shots the unit has left for the given magazine type.
Groups:
Uncategorised

Syntax

Syntax:
unit setAmmo [magazine, count]
Parameters:
unit: Object - Gunner or vehicle.
[magazine, count]: Array
magazine: String
count: Number
Return Value:
Nothing

Examples

Example 1:

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