someAmmo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>? [[not]] (someAmmo loon1) : [[hint]] "Loon1 is out of ammo!"</pre> |= Example 1
|x1= <code>? [[not]] (someAmmo loon1) : [[hint]] "Loon1 is out of ammo!"</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 08:26, 4 August 2006

Hover & click on the images for description

Description

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

Syntax

Syntax:
someAmmo unit
Parameters:
unit: Object
Return Value:
Boolean

Examples

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

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