getOpticsMode: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 15: | Line 15: | ||
|r1= [[String]] - Class name of the current optic mode of the current weapon | |r1= [[String]] - Class name of the current optic mode of the current weapon | ||
|x1= < | |x1= <sqf>[[getOpticsMode]] player;</sqf> | ||
|seealso= [[setOpticsMode]] | |seealso= [[setOpticsMode]] | ||
}} | }} |
Revision as of 10:50, 24 March 2022
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:
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