vehicle

From Bohemia Interactive Community
Revision as of 20:50, 1 June 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search


vehicle unit


Operand types:

unit: Object

Type of returned value:

Object

Description:

Vehicle in which given unit is mounted.

If none, unit is returned.


Example:

? vehicle player != player : hint "Player is in a vehicle"