vehicles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(notes cleaned up and summarized in description)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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
| 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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''vehicles''' |= Syntax
| '''vehicles''' |SYNTAX=


| [[Array]] |= Return value
| [[Array]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_vehicles = [[vehicles]];</code> |= Example 1
|x1= <code>_vehicles = [[vehicles]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[allCurators]], [[allGroups]], [[allDead]], [[playableUnits]], [[switchableUnits]], [[allUnitsUAV]], [[allDeadMen]], [[agents]], [[allUnits]] |= See also
| [[allCurators]], [[allGroups]], [[allDead]], [[playableUnits]], [[switchableUnits]], [[allUnitsUAV]], [[allDeadMen]], [[agents]], [[allUnits]] |SEEALSO=


}}
}}

Revision as of 14:51, 7 April 2019

-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