createVehicleLocal

From Bohemia Interactive Community
Revision as of 02:42, 6 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


type createVehicleLocal pos


Operand types:

type: String

pos: Array

Type of returned value:

Object

Compatibility:

Version 2.56 required.

Description:

Creates an empty vehicle of the given type.

Pos is in format Position.

See CfgVehicles for possible type values.

Vehicle is not transferred through network in MP games.


Example:

_tank = "M1Abrams" createVehicleLocal getMarkerPos "tankFactory"