driver

From Bohemia Interactive Community
Revision as of 17:22, 22 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"