someAmmo

From Bohemia Interactive Community
Revision as of 02:00, 17 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

someAmmounit

Operand types:

unit: Object

Type of returned value:

Boolean

Description:

Check if unit has some ammo.

Example:

? not (someAmmo loon1) : hint "Loon1 is out of ammo!"