currentVisionMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 13: Line 13:
* 0 - daytime
* 0 - daytime
* 1 - night vision
* 1 - night vision
* 2 - FLIR |= Description
* 2 - thermal vision |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:24, 29 April 2016

Hover & click on the images for description

Description

Description:
Returns current vision mode of unit's weapon.
  • 0 - daytime
  • 1 - night vision
  • 2 - thermal vision
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:
currentMagazinecurrentWeaponcurrentMuzzlecurrentWeaponModecurrentZeroingmagazinesTurretweaponsTurret

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