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;