vehicles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 35: Line 35:
<dd class="note">Just to clarify: It returns both empty and crewed vehicles.  
<dd class="note">Just to clarify: 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">In Arma 3 it will also return "WeaponHolderSimulated" of dead bodies (weapon on the ground)


</dl>
</dl>

Revision as of 17:02, 22 December 2013

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

Description

Description:
Returns a list of all vehicles.
Groups:
Uncategorised

Syntax

Syntax:
vehicles
Return Value:
Array

Examples

Example 1:
_vehicles = vehicles

Additional Information

See also:
unitsallUnitsgroupallGroupsplayableUnitsswitchableUnitsentitiesagents

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

Posted on June 24, 2007
5133p39
As far as version 1.08 it is confirmed that this command is returning only vehicles and no soldiers.
Posted on July 15, 2011
kju
Just to clarify: It returns both empty and crewed vehicles.
Posted on december 22, 2013
Killzone_Kid
In Arma 3 it will also return "WeaponHolderSimulated" of dead bodies (weapon on the ground)

Bottom Section