createVehicle array: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>veh <nowiki>=</nowiki> createVehicle [" | |x1= <code>veh <nowiki>=</nowiki> createVehicle ["ah1w", [[position]] [[player]], [], 0, "FLY"] </code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 36: | Line 36: | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 04:37, 19 December 2006
Description
- Description:
- Creates a vehicle of the given type (type is the name of the subclass in CfgVehicles). If the markers array contains several marker names, the position of a random one is used. Otherwise, the given position is used. The vehicle is placed inside a circle with this position as center and placement as its radius. Special properties can be: "NONE", "FLY" and "FORM".
- Groups:
- Uncategorised
Syntax
- Syntax:
- createVehicle [type, position, markers, placement, special]
- Parameters:
- type: String
- pos: Array
- markers: Array
- placement: Number
- special: String
- Return Value:
- Object
Examples
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