diff --git a/addons/medical/functions/fnc_actionDiagnose.sqf b/addons/medical/functions/fnc_actionDiagnose.sqf index ff1b05346c..7ac4bfd5a5 100644 --- a/addons/medical/functions/fnc_actionDiagnose.sqf +++ b/addons/medical/functions/fnc_actionDiagnose.sqf @@ -14,8 +14,6 @@ #include "script_component.hpp" -systemChat "actionDiagnose"; - private ["_caller","_target","_title","_content"]; _caller = _this select 0; _target = _this select 1; diff --git a/addons/medical/functions/fnc_actionDiagnoseLocal.sqf b/addons/medical/functions/fnc_actionDiagnoseLocal.sqf index 6428db9f24..58c50638bf 100644 --- a/addons/medical/functions/fnc_actionDiagnoseLocal.sqf +++ b/addons/medical/functions/fnc_actionDiagnoseLocal.sqf @@ -14,12 +14,10 @@ #include "script_component.hpp" -systemChat "actionDiagnoseLocal"; - _caller = _this select 0; _unit = _this select 1; -_genericMessages = ["Patient %1 is %2. %3. %4"]; +_genericMessages = ["Patient %1
is %2.
%3.
%4"]; _genericMessages pushBack ([_unit] call EFUNC(common,getName)); if (alive _unit) then { @@ -31,12 +29,12 @@ if (_target getvariable[QGVAR(hasLostBlood), false]) then { _genericMessages pushback "He's lost some blood"; } else { _genericMessages pushback "He hasn't lost blood"; -; - -if (_target getvariable[QGVAR(hasPain), false]) then { - _genericMessages pushback localize "He is in pain"; -} else { - _genericMessages pushback localize "He is not in pain"; }; -["displayTextStructured", [_caller], [format _genericMessages, 1.5, _caller]] call EFUNC(common,targetEvent); +if (_target getvariable[QGVAR(hasPain), false]) then { + _genericMessages pushback "He is in pain"; +} else { + _genericMessages pushback "He is not in pain"; +}; +diag_log _genericMessages; +["displayTextStructured", [_caller], [format _genericMessages, 3.0, _caller]] call EFUNC(common,targetEvent);