createVehicleLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(creating ammo)
Line 29: Line 29:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
If the object that is created is of the type ammo, then it will created on '''all''' clients (''tested only on VBS2''). --[[User:Kronzky|Kronzky]] 07:18, 5 June 2008 (CEST)
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 06:18, 5 June 2008

-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 = "ClassType" createVehicleLocal Position
Parameters:
ClassType: String
Position
Return Value:
Object

Examples

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

Additional Information

See also:
createUnitcreateUnit arraycreateVehicle arraycreateVehicledeleteVehicle

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