Description
Get the current optics mode of the optics in the turret occupied by the specified unit. The alternative syntax allows a vehicle and turret path to be specified without needing a unit. Optic modes refer to the different fields of view (FOV) or zoom levels of an optic.
Syntax
Syntax 1
getTurretOpticsMode obj
Parameters:
obj: Object
Returns: Number
Syntax 2
obj getTurretOpticsMode turretPath
Parameters:
obj: ObjectturretPath: Turret Path
Returns: Number
Examples
Example 1
getTurretOpticsMode player;
Example 2
myTank getTurretOpticsMode [-1];
Example 3
myAircraft getTurretOpticsMode [0, 0];
See also
setTurretOpticsMode · turretOwner · getPilotCameraOpticsMode · setPilotCameraOpticsMode