• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /General
  • /A3G-103
Back
2

isIRLaserOn and isFlashlightOn return false for optics with lasers

Feature Request
2

State

Open
Issue key
A3G-103
Access
Public
Space
Arma 3
Project
General
Creator
vestarr
Created
Oct 1, 2026
Views
5
Issue Type
Bug/Error
Section
Game Version
2.22 (Current Stable)
Was this also present in the previous version?
Yes, it was already present
Severity
This is seriously disrupting my gameplay
Section
Operating System
Windows
Windows
Windows Version
Windows 11
Description

As described in the title, the isIRLaserOn and isFlashlightOn scripting commands don't support the lasers configured in optics slots, which have been added in v2.12, always returning false.

This is especially problematic in BettIR, which relies on these values to determine if the lasers should be re-enabled after switching the device variants (which is why I tagged the severity this way, although it's probably not as important for other players).

Reproduction steps:

  1. Equip an optic with a laser, e.g. MARS or InSight ISM IR from CUP mod (the latter also has an IR flood light)

  2. Enable the laser

  3. Run player isIRLaserOn (currentWeapon player) in the console, and similarly run the same code with isFlashlightOn instead

  4. observe that both commands return false

Expected result: true should be returned if a laser is enabled in either of the two slots

Reactions

Activity

    about 2 hours ago
  • vestarr
    created issueabout 2 hours ago

You are not signed in. Please sign in to see more details and to reply.

State

Open
Issue key
A3G-103
Access
Public
Space
Arma 3
Project
General
Creator
vestarr
Created
Oct 1, 2026
Views
5