createVehicleLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (=)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object]] <nowiki>=</nowiki> type '''createVehicleLocal''' pos |= Syntax
| [[Object]] <nowiki>=</nowiki> "ClassType" '''createVehicleLocal''' [[Position]] |= Syntax


|p1= type: [[String]] |= Parameter 1
|p1= ClassType: [[String]] |= Parameter 1


|p2= pos: [[Array]] (format [[Position]]) |= Parameter 2
|p2= [[Position]]:([[Array]]) |= Parameter 2


| [[Object]] |= Return value
| [[Object]] |= Return value

Revision as of 04:03, 26 August 2007

-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:(Array)
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

Bottom Section