createVehicle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|C]]
[[Category:Scripting Commands|CREATEVEHICLE]]
[[Category:Scripting Commands OFP 1.97|C]]
[[Category:Scripting Commands OFP 1.97|CREATEVEHICLE]]
[[Category:Scripting Commands OFP 1.46|C]]
[[Category:Scripting Commands OFP 1.46|CREATEVEHICLE]]
[[Category:Scripting Commands ArmA|C]]
[[Category:Scripting Commands ArmA|CREATEVEHICLE]]





Revision as of 14:46, 4 May 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"