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: dev: New Scripting Commands List|ENABLEPERSONTURRET]]

[[File: dev version.gif|link=Category:Introduced with dev version 1.33|alt=Introduced with dev version]] 1.33[[Category:Introduced with dev version 1.33|ENABLEPERSONTURRET]]
  

Click on the images for descriptions

Introduced in

Game:
dev
Version:
1.33

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

Multiplayer:
-
See also:
assignedVehicleRolemoveInTurretturretUnitassignAsTurretgetCargoIndexmoveInCargoassignAsCargoIndexemptyPositions

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section