driver

From Bohemia Interactive Community
Revision as of 06:28, 16 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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"