getOpticsMode: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{RV|type=command |game1= arma3 |branch= dev |version1= 2.10 |gr1= Map |descr= Returns the class name of the current optic mode of the current weapon. |s1= getOpticsMode...") |
mNo edit summary |
||
Line 13: | Line 13: | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|r1= [[String]] - | |r1= [[String]] - Class name of the current optic mode of the current weapon | ||
|x1= <code>[[getObjectID]] player;</code> | |x1= <code>[[getObjectID]] player;</code> |
Revision as of 10:45, 24 March 2022
Description
- Description:
- Returns the class name of the current optic mode of the current weapon.
- Groups:
- Map
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