createVehicle

From Bohemia Interactive Community
Revision as of 21:08, 1 June 2006 by Planck (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.


type createVehicle pos


Operand types:

type: String

pos: Array

Type of returned value:

Object

Compatibility:

Added in version 1.34

Description:

Create empty vehicle of given type.
Pos is in format Position.
See CfgVehicles for possible type values.


Example:

_tank = "M1Abrams" createVehicle getMarkerPos "tankFactory"