Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.70

Description

Description: Returns azimuth and elevation for the specified optics.

Syntax

Syntax: vehicle turretOpticsDirection turret
Parameters:
  • vehicle: Object - Vehicle with turret.
  • turret: Array - Turret's optics to be evaluated.
Return Value: Array - [azimuth, elevation], both in degrees

Examples

Examples:
_dir = tank1 turretOpticsDirection [0]

Additional Information

See also: setOpticsDirection, weaponDirection, turretLead
Multiplayer: 
Problems: 

Notes