canMove

From Bohemia Interactive Community
Revision as of 16:10, 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

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"