vehicles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added note about vehicles containing both empty and crewed vehicles.)
m (VBS2 scripting category removal)
Line 44: Line 44:
[[Category:Scripting Commands ArmA2|VEHICLES]]
[[Category:Scripting Commands ArmA2|VEHICLES]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 05:20, 19 July 2011

-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:
unitsallUnitsgroupallGroupsplayableUnitsswitchableUnits

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.

Bottom Section