Difference between revisions of "enablePersonTurret"

From Bohemia Interactive Community
Jump to navigation Jump to search
(only in dev)
Line 2: Line 2:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma3 |= Game name
+
| dev|= Game name
  
 
|1.33|= Game version
 
|1.33|= Game version

Revision as of 19:34, 14 October 2014

[[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