Difference between revisions of "createVehicle"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 4: Line 4:
 
[[Category:Scripting Commands ArmA|C]]
 
[[Category:Scripting Commands ArmA|C]]
  
back to [[Scripting_Reference#C|COMREF]]
 
  
 
<h2 style="color:#000066">'''''type'' createVehicle ''pos'''''</h2>
 
<h2 style="color:#000066">'''''type'' createVehicle ''pos'''''</h2>

Revision as of 12:47, 23 April 2006


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"