someAmmo

From Bohemia Interactive Community
Revision as of 23:46, 1 September 2019 by Lou Montana (talk | contribs) (Text replacement - "|= Game version" to "|Game version=")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Check if unit has some ammo.
Groups:
Uncategorised

Syntax

Syntax:
Boolean = someAmmo unitName
Parameters:
unitName: Object
Return Value:
Boolean

Examples

Example 1:
? not (someAmmo _loon1) : hint "Loon1 is out of ammo!"

Additional Information

See also:
ammomagazines

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