setOpticsMode: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add syntax) |
Lou Montana (talk | contribs) m (Text replacement - "\|branch= *dev " to "") |
||
Line 4: | Line 4: | ||
|version1= 2.10 | |version1= 2.10 | ||
|gr1= Object Manipulation | |gr1= Object Manipulation |
Latest revision as of 13:23, 23 August 2022
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