createVehicleLocal: Difference between revisions
Jump to navigation
Jump to search
m (Reset version to 1.00) |
mNo edit summary |
||
Line 19: | Line 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_tank <nowiki>=</nowiki> "M1Abrams" createVehicleLocal [[getMarkerPos]] "tankFactory"</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 00:22, 4 December 2006
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:
- type createVehicleLocal pos
- Parameters:
- type: String
- pos: Array (format Position)
- Return Value:
- Object
Examples
- Example 1:
_tank = "M1Abrams" createVehicleLocal getMarkerPos "tankFactory"
Additional Information
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