• Tracker

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

isIRLaserOn and isFlashlightOn return false for optics with lasers

Feature Request
3

State

Need more info
Issue key
A3G-103
Access
Public
Space
Arma 3
Project
General
Creator
vestarr
Created
Oct 1, 2026
Views
44
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

    7 days ago
  • vestarr
    created issue7 days ago
  • 3 days ago
  • bis_fnc_kk
    Moderator
    3 days ago
    bis_fnc_kk
    Moderator
    3 days ago

    Can you equip laser pointer and optics with laser together? If so how would you expect IsLaserOn to tell you which one is on?

  • bis_fnc_kk
    Moderator
    3 days ago
    bis_fnc_kk
    Moderator
    3 days ago

    Also what other DLCs have those modded optics?

  • bis_fnc_kk
    changed state to
    NEED MORE INFO
    3 days ago

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

State

Need more info
Issue key
A3G-103
Access
Public
Space
Arma 3
Project
General
Creator
vestarr
Created
Oct 1, 2026
Views
44