allTurrets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.33|= Game version _____________...")
 
m (Updated game version)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3dev |= Game name
| arma3 |= Game name


|1.33|= Game version
|1.33|= Game version

Revision as of 03:23, 16 November 2014

Hover & click on the images for description

Description

Description:
Returns array of available turret paths.
Groups:
Uncategorised

Syntax

Syntax:
allTurrets vehicle
Parameters:
vehicle: Object
Return Value:
Array

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

See also:
moveInTurretenablePersonTurretassignedVehicleRolefullCrew

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

Notes

Bottom Section