allTurrets
Jump to navigation
Jump to search
Description
- Description:
- Returns array of available turret paths.
- Groups:
- Uncategorised
Syntax
Alternative Syntax
- Syntax:
- allTurrets [vehicle, includePersonTurrets]
- Parameters:
- [vehicle, includePersonTurrets]: Array
- vehicle: Object
- includePersonTurrets: Boolean - true to include person (cargo) turrets as well
- Return Value:
- Array
Examples
- Example 1:
_turretPaths = allTurrets MH_9; //[[0]] _turretPaths = allTurrets [MH_9, true]; //[[0],[1],[2],[3],[4]] _turretPaths = allTurrets [MH_9, false]; //[[0]]
Additional Information
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
[[Category:Introduced with arma3dev version 1.33]][[ Category: arma3dev: New Scripting Commands | ALLTURRETS]][[ Category: arma3dev: Scripting Commands | ALLTURRETS]]