allTurrets: Difference between revisions
Jump to navigation
Jump to search
Waffle SS. (talk | contribs) m (Updated game version) |
m (1.33 doesn't exist in stable) |
||
Line 4: | Line 4: | ||
| arma3 |= Game name | | arma3 |= Game name | ||
|1. | |1.34|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 06:10, 16 November 2014
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