vehicles: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Killzone Kid (talk | contribs) (notes cleaned up and summarized in description) |
||
Line 3: | Line 3: | ||
| arma |= Game name | | arma |= Game name | ||
|eff= local |= Effects in MP | |||
|1.00|= Game version | |1.00|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns | | 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 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 24: | Line 24: | ||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
</dl> | </dl> | ||
Line 46: | Line 34: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 18:19, 4 August 2017
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