createVehicleLocal: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.56|= Game version | |||
____________________________________________________________________________________________ | |||
| Creates an empty vehicle of the given type. Pos is in format [[Position]]. See [[CfgVehicles]] for possible type values. Vehicle is not transferred through network in MP games. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | type '''createVehicleLocal''' pos |= Syntax | ||
|p1= type: [[String]] |= Parameter 1 | |||
|p2= pos: [[Array]] |= Parameter 2 | |||
| [[Object]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>_tank = "M1Abrams" createVehicleLocal [[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|CREATEVEHICLELOCAL]] | |||
[[Category:Scripting Commands OFP Elite |CREATEVEHICLELOCAL]] | |||
[[Category:Scripting Commands ArmA|CREATEVEHICLELOCAL]] | |||
Revision as of 23:10, 1 August 2006
Description
- Description:
- Creates an empty vehicle of the given type. Pos is in format Position. See CfgVehicles for possible type values. Vehicle is not transferred through network in MP games.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_tank = "M1Abrams" createVehicleLocal [[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