From Bohemia Interactive Community
|
|
(37 intermediate revisions by 17 users not shown) |
Line 1: |
Line 1: |
| [[Category:Scripting Commands|CREATEVEHICLEARRAY]]
| | #REDIRECT [[createVehicle]] |
| [[Category:Scripting Commands ArmA|CREATEVEHICLEARRAY]]
| |
| | |
| | |
| <h2 style="color:#000066">''' createVehicle ''[type, position, markers, placement, special]'''''</h2>
| |
| | |
| | |
| '''Operand types:'''
| |
| | |
| '''[type, position, markers, placement, special]:''' [[Array]]
| |
| | |
| '''Type of returned value:'''
| |
| | |
| [[Object]]
| |
| | |
| '''Compatibility:'''
| |
| | |
| Version 2.32 required.
| |
| | |
| '''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".
| |
| | |
| | |
| '''Example:'''
| |
| | |
| veh = '''createVehicle''' ["Cobra", [[position]] [[player]], [], 0, "FLY"]
| |
Latest revision as of 03:21, 27 March 2016