createVehicle array: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (fixed example)
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_tank = "M1Abrams" createVehicle [[getMarkerPos]] "tankFactory"</pre> |= Example 1
|x1= <code>_tank = "M1Abrams" createVehicle [[getMarkerPos]] "tankFactory"</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:34, 7 August 2006

Hover & click on the images for description

Description

Description:
Create empty vehicle of given type. Pos is in format Position. See CfgVehicles for possible type values.
Groups:
Uncategorised

Syntax

Syntax:
type createVehicle pos
Parameters:
type: String
pos: Array
Return Value:
Object

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

Notes

Bottom Section