vehicles

From Bohemia Interactive Community
Revision as of 19:19, 4 August 2017 by Killzone Kid (talk | contribs) (notes cleaned up and summarized in description)
Jump to navigation Jump to search
-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