Warning: file_put_contents(/ff_f5d32caa9977b7446131e4c4ca08b6fbe568f1161e2ee20b.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
isIRLaserOn - OFPEC Scripting Command Reference | OFPEC The Editing Center

unitName isIRLaserOn weaponName

Operand types

unitName: Object
weaponName: String

Type of returned value

Description

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

Used In

Arma3

Example

player isIRLaserOn (currentWeapon player);

Advertisement