driver

From Bohemia Interactive Community
Revision as of 11:31, 16 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search

back to COMREF

driver vehicle


Operand types:

vehicle: Object

Type of returned value:

Object

Description:

Driver of the vehicle, if vehicle is not vehicle but person, person is returned.


Example:

? (driver (vehicle player) != player : goto "reassign"