vehicles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(notes cleaned up and summarized in description)
Line 3: Line 3:


| arma |= Game name
| arma |= Game name
 
|eff= local |= Effects in MP
|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns a list of all vehicles. |= Description
| Returns an array of all vehicles available to current client. This command returns both empty and crewed vehicles <u>but not soldiers</u>. It will also return "WeaponHolderSimulated" of dead bodies (weapon on the ground). Vehicles created with [[createVehicleLocal]] will only be returned on the client that created them. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 24: Line 24:
<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on June 24, 2007
<dt class="note">'''[[User:5133p39|5133p39]]'''
<dd class="note">(A1 1.08 )This command is returning '''only vehicles''' and '''no soldiers'''.
<dd class="notedate">Posted on July 15, 2011
<dt class="note">'''[[User:kju|kju]]'''
<dd class="note">(A2 1.51)It returns both empty and crewed vehicles.
<dd class="notedate">Posted on december 22, 2013
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]'''
<dd class="note">(A3)It will also return "WeaponHolderSimulated" of dead bodies (weapon on the ground).
</dl>
</dl>


Line 46: Line 34:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on August 4, 2017 - 11:34 (UTC)</dd>
<dt class="note">[[User:IT07|IT07]]</dt>
<dd class="note">
[ ArmA 3 v1.72.142223 ] does '''not''' return vehicles that are local ( vehicles created with [[createVehicleLocal]] ).
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 19:19, 4 August 2017

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns an array of all vehicles available to current client. This command returns both empty and crewed vehicles but not soldiers. It will also return "WeaponHolderSimulated" of dead bodies (weapon on the ground). Vehicles created with createVehicleLocal will only be returned on the client that created them.
Groups:
Uncategorised

Syntax

Syntax:
vehicles
Return Value:
Array

Examples

Example 1:
_vehicles = vehicles;

Additional Information

See also:
allCuratorsallGroupsallDeadplayableUnitsswitchableUnitsallUnitsUAVallDeadMenagentsallUnits

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