Skip to content

Commit

Permalink
Using A3A_fnc_customHint instead hintSlient
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwaterbread committed Jul 13, 2024
1 parent 7a92144 commit 860ca8d
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions A3A/addons/core/functions/Revive/fn_unconscious.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,26 @@ private _fnc_selfReviveCountdownStart = {
_handlerCountdown = addMissionEventHandler [
"EachFrame",
{
hintSilent parseText format[
"<t color='#FFFFFF'>%1<br/><t color='#FFFFFF'>%2</t>",
[
localize "STR_antistasi_actions_unconscious_self_withstand_countdown",
[(([0] call BIS_fnc_countdown) / 60) + .01, "HH:MM"] call BIS_fnc_timetostring
]
format[
[(([0] call BIS_fnc_countdown) / 60) + .01, "HH:MM"] call BIS_fnc_timetostring
]
] call A3A_fnc_customHint
}
];
}
else {
_handlerCountdown = addMissionEventHandler [
"EachFrame",
{
hintSilent parseText format[
"<t color='#FFFFFF'>%1<br/><t color='#008000'>%2</t>",
[
localize "STR_antistasi_actions_unconscious_self_withstand_countdown",
localize "STR_antistasi_actions_unconscious_self_withstand_ready"
]
format[
"<t color='#008000'>%1</t>",
localize "STR_antistasi_actions_unconscious_self_withstand_ready"
]
] call A3A_fnc_customHint
}
];
};
Expand Down

0 comments on commit 860ca8d

Please sign in to comment.