createVehicleLocal: Difference between revisions
Jump to navigation
Jump to search
m (see also) |
m (Reset version to 1.00) |
||
Line 4: | Line 4: | ||
| arma |= Game name | | arma |= Game name | ||
| | |1.00|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Creates an empty vehicle of the given type | | Creates an empty vehicle of the given type. See [[CfgVehicles]] for possible type values. Vehicle is not transferred through network in MP games. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 14: | Line 14: | ||
|p1= type: [[String]] |= Parameter 1 | |p1= type: [[String]] |= Parameter 1 | ||
|p2= pos: [[Array]] |= Parameter 2 | |p2= pos: [[Array]] (format [[Position]]) |= Parameter 2 | ||
| [[Object]] |= Return value | | [[Object]] |= Return value |
Revision as of 14:47, 29 September 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