createVehicleLocal

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.00

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

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

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)

Bottom Section

Personal tools
Buy ArmA now!