vehicles: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 28: | Line 28: | ||
|x1= <code>_vehicles = [[vehicles]];</code> | |x1= <code>_vehicles = [[vehicles]];</code> | ||
|seealso= [[allCurators]] [[allGroups]] [[allDead]] | |seealso= [[allCurators]] [[allGroups]] [[allDead]] [[playableUnits]], [[switchableUnits]], [[allUnitsUAV]], [[allDeadMen]], [[agents]], [[allUnits]] | ||
}} | }} |
Revision as of 20:54, 20 January 2022
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
Examples
- Example 1:
_vehicles = vehicles;
Additional Information
- See also:
- allCurators allGroups allDead playableUnitsswitchableUnitsallUnitsUAVallDeadMenagentsallUnits
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Object Detection
- Scripting Commands: Local Effect