vehicles: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|s1=" to " |s1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 7: | Line 7: | ||
|gr1= Object Detection | |gr1= Object Detection | ||
| 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. | |descr= 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. | ||
|s1= '''vehicles''' | |s1= '''vehicles''' |
Revision as of 21:26, 13 June 2021
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:
- Object Detection
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