getTurretOpticsMode: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "\|branch= *dev " to "") |
||
Line 6: | Line 6: | ||
|arg= local | |arg= local | ||
|descr= 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. | |descr= 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. |
Revision as of 13:24, 23 August 2022
Description
- 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.
- Groups:
- Turrets
Syntax
- Syntax:
- getTurretOpticsMode obj
- Parameters:
- obj: Object
- Return Value:
- Number
Alternative Syntax
- Syntax:
- obj getTurretOpticsMode turretPath
- Parameters:
- obj: Object
- turretPath: Array format Turret Path
- Return Value:
- Number
Examples
- Example 1:
- getTurretOpticsMode player;
- Example 2:
- myTank getTurretOpticsMode [-1];
- Example 3:
- myAircraft getTurretOpticsMode [0, 0];
Additional Information
- See also:
- setTurretOpticsMode turretOwner
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note