currentVisionMode

From Bohemia Interactive Community
Revision as of 20:31, 19 August 2010 by Master85 (talk | contribs) (populated)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns current vision mode of unit's weapon / vision.
  • 0 - daytime
  • 1 - night vision
  • 2 - FLIR
Groups:
Uncategorised

Syntax

Syntax:
currentVisionMode unit
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
_currMode = currentVisionMode gunner _tank
Example 2:
if (currentVisionMode player == 1) then { hint "nightvision active"; };

Additional Information

See also:
currentMagazinecurrentMuzzlecurrentWeaponcurrentWeaponModecurrentZeroing

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

Notes

Bottom Section