canFire

From Bohemia Interactive Community
Revision as of 13:31, 4 May 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"