setAmmo

From Bohemia Interactive Community
Revision as of 16:31, 28 June 2013 by DnA (talk | contribs) (Command uses weapon class, not magazine class)
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 loaded magazine in the given weapon type.
Groups:
Uncategorised

Syntax

Syntax:
unit setAmmo [weapon, count]
Parameters:
unit: Object - Gunner or vehicle.
[weapon, count]: Array
weapon: 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