enablePersonTurret

From Bohemia Interactive Community
Revision as of 15:58, 21 May 2016 by Krzmbrzl00 (talk | contribs) (added colon)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.341.34
Hover & click on the images for descriptions

Description

Description:
Enables or disables firing from a vehicle cargo position. To get the turret path use assignedVehicleRole or getCargoIndex command.

Syntax

Syntax:
vehicle enablePersonTurret [turretPath, enable]
Parameters:
vehicle: Object
[turretPath, enable]: Array
turretPath: Array
enable: Boolean
Return Value:
Nothing

Examples

Example 1:
heli enablePersonTurret [[1],true];

Additional Information

See also:
assignedVehicleRoleallTurretsmoveInTurretturretUnitassignAsTurretgetCargoIndexmoveInCargoassignAsCargoIndexemptyPositions

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section