canFire

From Bohemia Interactive Community
Revision as of 17:03, 22 April 2006 by Planck (talk | contribs)
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"