isIRLaserOn

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Returns true if there is a linked and enabled IR on the given weapon.

Syntax

Syntax:
unit isIRLaserOn weapon
Parameters:
unit: Object
weapon: String
Return Value:
Boolean

Examples

Example 1:
player isIRLaserOn currentWeapon player;

Additional Information

Multiplayer:
-
See also:
enableIRLasersenableGunLightsisLightOnisCollisionLightOnsetPilotLightsetCollisionLight

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section