createVehicle array: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.34|= Game version | |||
____________________________________________________________________________________________ | |||
| Create empty vehicle of given type. | |||
Pos is in format [[Position]]. | |||
See [[CfgVehicles]] for possible type values. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | type '''createVehicle''' pos |= Syntax | ||
|p1= type: [[String]] |= Parameter 1 | |||
|p2= pos: [[Array]] |= Parameter 2 | |||
[[Object]] | | [[Object]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <pre>_tank = "M1Abrams" createVehicle [[getMarkerPos]] "tankFactory"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|CREATEVEHICLEARRAY]] | |||
[[Category:Scripting Commands ArmA|CREATEVEHICLEARRAY]] | |||
Revision as of 23:10, 1 August 2006
Description
- Description:
- Create empty vehicle of given type. Pos is in format Position. See CfgVehicles for possible type values.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_tank = "M1Abrams" createVehicle [[getMarkerPos]] "tankFactory"
Additional Information
- See also:
- See also needed
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