someAmmo

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Check if unit has some ammo.

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

Multiplayer:
-
See also:
ammomagazines

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section