someAmmo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(add. see also)
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[ammo]], [[magazines]] |= See also


}}
}}
Line 36: Line 36:
[[Category:Scripting Commands OFP 1.46|SOMEAMMO]]
[[Category:Scripting Commands OFP 1.46|SOMEAMMO]]
[[Category:Scripting Commands ArmA|SOMEAMMO]]
[[Category:Scripting Commands ArmA|SOMEAMMO]]
[[Category:Command_Group:_Weapons|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]

Revision as of 21:37, 14 January 2008

Hover & click on the images for description

Description

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

Syntax

Syntax:
Boolean = someAmmo Unit
Parameters:
Unit
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