createVehicle array
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 a vehicle of the given type (type is the name of the subclass in CfgVehicles).
If the markers array contains several marker names, the position of a random one is used. Otherwise, the given position is used. The vehicle is placed inside a circle with this position as center and placement as its radius.
Special properties can be: "NONE", "FLY" and "FORM". "CAN_COLLIDE" creates the vehicle exactly where asked, not checking if others objects can cross its 3D model.
Syntax
- Syntax:
- Object = createVehicle [type, position, markers, placement, special]
- Parameters:
- [type, position, markers, placement, special]: Array
- type: String
- position: Position
- markers: Array
- placement: Number
- special: String
- Return Value:
- Object
Examples
Additional Information
- Multiplayer:
- -
- See also:
- createUnit, createUnit array, createVehicle, createVehicleLocal, deleteVehicle
Notes
Notes
