assignAsDriver

From Bohemia Interactive Community
Revision as of 20:41, 1 June 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


soldier assignAsDriver vehicle


Operand types:

soldier: Object

vehicle: Object

Type of returned value:

Nothing

Description:

Assign soldier as driver of given vehicle.


Example:

player assignAsDriver tankOne


Comments:

To make the unit get into the vehicle you will need to use the command orderGetIn after you have issued the assignAsDriver command.