• Tracker

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

holdActionAdd icon disapear

UI / UX
3

State

Open
Issue key
A3G-50
Access
Public
Space
Arma 3
Project
General
Creator
davidovitch
Created
Aug 30, 2026
Views
125
Issue Type
Bug/Error
Section
Game Version
2.22 (Current Stable)
Was this also present in the previous version?
I don't know / Not relevant
Severity
It would be nice to fix this
Section
Operating System
Windows
Windows
Windows Version
Windows 10
Description

Hi,

With this code, the progressIcon disappears when pressing "space" to trigger the actions.

I used the example code from the Wiki and kept only the minimal code needed to reproduce the issue.

The error seems to occur when there is a condition (same behavior with showCondition).

The goal is to be able to set certain conditions to control whether the actions are shown or not.

Have a nice day,
David.

[  player, 
 "Kill", 
 "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa",  "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa", 
"_target getVariable ['test', false] == false;",  "true",  { hint "Started!"; _target setVariable ['test', true, true]; }, 
 { systemChat str (_this select 3) }, 
 { player setDamage 0.5; player setVariable ['test', false, true]; }, 
 { hint "Afraid of death?"; _target setVariable ['test', false, true]; }, 
 [], 3, nil, true, false 
] call BIS_fnc_holdActionAdd;
Attachment1 file · visible to everyone

ArmA_3_2026_08_30_10_47_51_03.mp4

5.7 MB

Reactions

Activity

    20 days ago
  • davidovitch
    created issue20 days ago
  • julius
    20 days ago
    julius
    20 days ago

    Not this exact same bug, but another bug with holdAction is, is that when you add 2 hold actions to an object, 1 action will not have its action text.
    1. Picture: The helicopter only has the custom Eject option
    2. and 3. Picture: Was taken in the DAP Ghosthawk, it has both "Jettison Fuel Tank" and the Eject option.
    The EJect option doesnt have its text shown tho, only the Jettison Fuel Tanks one

  • 18 days ago
  • davidovitch
    added tagUI / UX18 days ago
  • 6 days ago
  • schatten
    6 days ago
    schatten
    6 days ago

    @davidovitch, as soon as you activate the action, you immediately assign true to test variable, which blocks the action from being shown. So I don't see any bugs here.


    @julius, the fix is in Capsule mod.

  • 5 days ago
  • davidovitch
    5 days ago
    davidovitch
    5 days ago

    Hi @schatten,

    I understand why the action is no longer shown after test is set to true. However, the issue I am reporting concerns the action that is already in progress.

    conditionShow should control whether the action is available before it is started. Once the hold action has begun, its continuation should be controlled by conditionProgress, which remains "true" in this example.

    Here, changing the variable inside codeStart causes the progress icon of the currently running action to disappear, even though conditionProgress is still valid and the action continues.

    The expected distinction would be:

    • conditionShow: determines whether a new action can be displayed and started;

    • conditionProgress: determines whether the currently running action can continue.

    Therefore, setting test to true should prevent the action from being shown again, but it should not hide the progress icon of the action that is already running.

    That distinction is the issue I am trying to report.

  • schatten
    5 days ago
    schatten
    5 days ago

    @davidovitch, thanks for clarification, that makes sense for me. But I'm afraid the fix may break existing missions. Maybe @bis_fnc_kk can say something about this issue?

  • schatten
    5 days ago
    schatten
    5 days ago

    @davidovitch, as a workaround you can use this code for codeStart param:

    {
        hint "Started!";
    
        _target setVariable ["test", true, -clientOwner];
    }

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

State

Open
Issue key
A3G-50
Access
Public
Space
Arma 3
Project
General
Creator
davidovitch
Created
Aug 30, 2026
Views
125