createVehicleLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
(See also: createUnitLocal (VBS2))
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[createUnit]], [[createUnit array]], [[createVehicle array]], [[createVehicle]], [[deleteVehicle]] |= See also
| [[createUnit]], [[createUnit array]], [[createVehicle array]], [[createVehicle]], [[deleteVehicle]], [[createUnitLocal (VBS2)]] |= See also


}}
}}

Revision as of 12:46, 3 December 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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.
Groups:
Uncategorised

Syntax

Syntax:
Object = type createVehicleLocal position
Parameters:
type: String
position: Position
Return Value:
Object

Examples

Example 1:
_tank = "M1Abrams" createVehicleLocal getMarkerPos "tankFactory"

Additional Information

See also:
createUnitcreateUnit arraycreateVehicle arraycreateVehicledeleteVehiclecreateUnitLocal (VBS2)

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

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