setOpticsMode
Jump to navigation
Jump to search
Description
- Description:
- Sets the optic mode of the current weapon to the given class name or the index.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- unit setOpticsMode mode
- Parameters:
- unit: Object
- mode: String, Number or Array:
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- getOpticsMode
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