canMove

From Bohemia Interactive Community
Revision as of 14:31, 4 May 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


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"