enablePersonTurret

From Bohemia Interactive Community
Revision as of 19:34, 14 October 2014 by Killzone Kid (talk | contribs) (only in dev)
Jump to navigation Jump to search
[[Category:Scripting Commands  dev]]

[[Category: dev: New Scripting Commands List]]

[[File: dev version.gif|link=Category:Introduced with dev version 1.33|alt=Introduced with dev version 1.33]]1.33[[Category:Introduced with dev version 1.33 | ENABLEPERSONTURRET]]
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:
assignedVehicleRolemoveInTurretturretUnitassignAsTurretgetCargoIndexmoveInCargoassignAsCargoIndexemptyPositions
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section