getOpticsMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
|version1= 2.10
|version1= 2.10


|gr1= Map
|gr1= Object Manipulation


|descr= Returns the class name of the current optic mode of the current weapon.
|descr= Returns the class name of the current optic mode of the current weapon.

Revision as of 11:49, 24 March 2022

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.10.

Description

Description:
Returns the class name of the current optic mode of the current weapon.
Groups:
Object Manipulation

Syntax

Syntax:
getOpticsMode unit
Parameters:
unit: Object
Return Value:
String - Class name of the current optic mode of the current weapon

Examples

Example 1:
getObjectID player;

Additional Information

See also:
setOpticsMode

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