canMove

From Bohemia Interactive Community
Revision as of 17:05, 19 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


back to COMREF

canMove vehicle


Operand types:

vehicle: Object

Type of returned value:

Boolean

Description:

Check if given vehicle is able to move.

Does not test for fuel, only damage status is checked.


Example:

? canMove (vehicle player) : goto "nexttarget"