From ef491a7c7615e1bd69ca119f5723155fd47f637d Mon Sep 17 00:00:00 2001 From: KoffeinFlummi Date: Thu, 12 Mar 2015 07:34:29 +0100 Subject: [PATCH] Add basic information to dialog --- .../medical/functions/fnc_displayPatientInformation.sqf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/addons/medical/functions/fnc_displayPatientInformation.sqf b/addons/medical/functions/fnc_displayPatientInformation.sqf index b9b450ea65..d836f97119 100644 --- a/addons/medical/functions/fnc_displayPatientInformation.sqf +++ b/addons/medical/functions/fnc_displayPatientInformation.sqf @@ -75,9 +75,11 @@ if (_show) then { }; }foreach _openWounds; } else { - // TODO handle basic medical colors for body part selections here - + { + _selectionBloodLoss set [_forEachIndex, _unit getHitPointDamage _x]; + } forEach ["HitHead", "HitBody", "HitLeftArm", "HitRightArm", "HitLeftLeg", "HitRightLeg"]; + // @todo Injury texts? }; // Handle the body image coloring @@ -149,4 +151,4 @@ if (_show) then { } else { ("ACE_MedicalRscDisplayInformation" call BIS_fnc_rscLayer) cutText ["","PLAIN"]; -}; \ No newline at end of file +};