canFire

From Bohemia Interactive Community
Revision as of 12:39, 23 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


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"