createVehicleLocal
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Armed Assault
- Version:
- 1.00
Description
- Description:
- Creates an empty vehicle of the given type. See CfgVehicles for possible type values. Vehicle is not transferred through network in MP games.
Syntax
- Syntax:
- Object = "ClassType" createVehicleLocal Position
- Parameters:
- ClassType: String
- Position
- Return Value:
- Object
Examples
- Example 1:
_tank = "M1Abrams" createVehicleLocal getMarkerPos "tankFactory"
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- createUnit, createUnit array, createVehicle array, createVehicle, deleteVehicle
Notes
Notes
Notes
-
If the object that is created is of the type ammo, then it will created on all clients (tested only on VBS2). --Kronzky 07:18, 5 June 2008 (CEST)

