canFire

From Bohemia Interactive Community
Revision as of 15:08, 16 April 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

canFire vehicle


Operand types:

vehicle: Object

Type of returned value:

Boolean

Description:

Check if given vehicle is able to fire.

Does not check for ammo, only for damage.


Example:

? canFire (vehicle player) : goto "target"